From a445c3ae12627b71f38f3effa836bd8c22ac08b2 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: (cherry picked from commit 94931fd4f4723e8bcee82003277f98613418ceea) --- .pick_status.json | 2 +- src/intel/vulkan/anv_pipeline_cache.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 52150944e44..e3492f675d7 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1924,7 +1924,7 @@ "description": "anv: Set the Shader capability when compiling the FP64 shader", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "91b62e986867ba12dad20789e51f978f1883f38c", "notes": null diff --git a/src/intel/vulkan/anv_pipeline_cache.c b/src/intel/vulkan/anv_pipeline_cache.c index 0864d65241c..0e03ae8b698 100644 --- a/src/intel/vulkan/anv_pipeline_cache.c +++ b/src/intel/vulkan/anv_pipeline_cache.c @@ -653,6 +653,7 @@ anv_load_fp64_shader(struct anv_device *device) .Int8 = true, .Int16 = true, .Int64 = true, + .Shader = true, }; struct spirv_to_nir_options spirv_options = {