vulkan-test.zip (213.4 KB)
GPU: NVIDIA GeForce RTX 3050Ti Laptop GPU
OS: Windows 11 Home 22621.2715
Driver: game ready 31.0.15.4617
I’ve been encountering vkCreateGraphicsPipelines failure and return error code VK_ERROR_UNKNOWN issue when try to compile a specific SPIR-V fragment shader on nvidia RTX 3050Ti laptop gpu with driver version 31.0.15.4617 and other versions released in 2023 october, the test source code and its precompiled executable and related vertex/fragment shaders are included in the attachment vulkan-test.zip. This issue also reproduced on some GTX 1660Ti max-Q gpu and RTX 3060 laptop gpu.
When i enable VK_LAYER_KHRONOS_validation, the debug message callback prints some compile error message as following:
NVVM compilation failed: 1
[VALIDATION]: Driver - CreatePipeline: failed to compile internal representation
[VALIDATION]: Driver - CreatePipeline: unexpected compilation failure
[VALIDATION]: Driver - CreateGraphicsPipeline: unexpected failure compiling SPIR-V shader: 0xcd85fbd896ea802f
This SPIR-V fragment shader compiled successfully on desktop nvidia gpus such as GT1030(tested on driver version 31.0.15.4617 and 31.0.15.3623) and GTX1050Ti(driver version 31.0.15.4617) and other vendor’s gpu such as intel uhd gpu.