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>
This commit is contained in:
Faith Ekstrand 2025-08-14 18:02:57 -04:00
parent 403a62a9e5
commit 94931fd4f4

View file

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