From 94931fd4f4723e8bcee82003277f98613418ceea Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Thu, 14 Aug 2025 18:02:57 -0400 Subject: [PATCH] anv: Set the Shader capability when compiling the FP64 shader Otherwise the SPIR-V parser prints a warning the first time the driver is loaded after a fresh compile. Fixes: 91b62e986867 ("anv: Use spirv_capabilities for the float64 shader") Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_pipeline_cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/anv_pipeline_cache.c b/src/intel/vulkan/anv_pipeline_cache.c index 3c7d2fdb1c6..3e5e77a5b18 100644 --- a/src/intel/vulkan/anv_pipeline_cache.c +++ b/src/intel/vulkan/anv_pipeline_cache.c @@ -548,6 +548,7 @@ anv_load_fp64_shader(struct anv_device *device) .Int8 = true, .Int16 = true, .Int64 = true, + .Shader = true, }; struct spirv_to_nir_options spirv_options = {