[Solved] Vulkan 396.24.02 (and older) missing VK_NV_glsl_shader

launching MPV with

gpu-api=vulkan
gpu-context=x11vk
spirv-compiler=nvidia

fails initialize vulkan device

[vo/gpu/vulkan] Initializing SPIR-V compiler 'nvidia'
[vo/gpu/vulkan] Device doesnt support VK_NV_glsl_shader, skipping..

seems nvidia vulkan drivers missing VK_NV_glsl_shader

└───╼  vulkaninfo |grep NV
        VK_NVX_device_generated_commands    : extension revision  3
        VK_NVX_multiview_per_view_attributes: extension revision  1
        VK_NV_clip_space_w_scaling          : extension revision  1
        VK_NV_dedicated_allocation          : extension revision  1
        VK_NV_fill_rectangle                : extension revision  1
        VK_NV_fragment_coverage_to_color    : extension revision  1
        VK_NV_framebuffer_mixed_samples     : extension revision  1
        VK_NV_geometry_shader_passthrough   : extension revision  1
        VK_NV_sample_mask_override_coverage : extension revision  1
        VK_NV_shader_subgroup_partitioned   : extension revision  1
        VK_NV_viewport_array2               : extension revision  1
        VK_NV_viewport_swizzle              : extension revision  1

however, official 396.24 include this extension

└───╼  vulkaninfo |grep NV
        VK_NVX_device_generated_commands    : extension revision  3
        VK_NVX_multiview_per_view_attributes: extension revision  1
        VK_NV_clip_space_w_scaling          : extension revision  1
        VK_NV_dedicated_allocation          : extension revision  1
        VK_NV_fill_rectangle                : extension revision  1
        VK_NV_fragment_coverage_to_color    : extension revision  1
        VK_NV_framebuffer_mixed_samples     : extension revision  1
        VK_NV_geometry_shader_passthrough   : extension revision  1
        VK_NV_glsl_shader                   : extension revision  1
        VK_NV_sample_mask_override_coverage : extension revision  1
        VK_NV_viewport_array2               : extension revision  1
        VK_NV_viewport_swizzle              : extension revision  1

greetings

Hi,

We removed support for VK_NV_glsl_shader and instead encourage people to use SPIR-V. This extension was here in the early days to help developers transition to Vulkan when the ecosystem lacked good SPIR-V tools and compilers.

Until when will this extension be included in the official drivers?

is for open issue in the MPV tracker for get rid it

The next official drivers will be the first one without support for that extension. Therefore, 396.24 is the last build from a short lived branch with the extension. The extension will stay in 390, our current long lived branch.

tnx

greetings