mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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 commit94931fd4f4)
This commit is contained in:
parent
9b3f2e9bad
commit
a445c3ae12
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue