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: 91b62e9868 ("anv: Use spirv_capabilities for the float64 shader")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36783>
(cherry picked from commit 94931fd4f4)
This commit is contained in:
Faith Ekstrand 2025-08-14 18:02:57 -04:00 committed by Eric Engestrom
parent 9b3f2e9bad
commit a445c3ae12
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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 = {