mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 09:09:56 -04:00
AMD's Windows driver answers VK_ERROR_UNKNOWN for some pipelines its compiler gives up on, and the draws that need such a pipeline were left out for good. create_graphics now tries once more with VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT (slower shaders for that pipeline instead of a missing draw) and logs the first such retry. NX2NAVI_VK_NOOPT gains a value, mesh: only pipelines with task and mesh stages, the foliage's, are built without the optimiser, whose optimisation is a suspect in device losses some minutes into a forest on AMD GPUs; with it a report can be narrowed without slowing every pipeline. Checked: the runtime compiles. A 60 s run with VK_NOOPT=mesh on an RTX GPU logs the mesh-only line, has no error and the same GPU time as the default (4.09 ms a frame against 4.09), 134.5 fps. The retry cannot be triggered on this GPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
66 KiB
66 KiB