diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-01-04 09:35:36 +0100 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2017-01-09 10:44:07 +0100 |
commit | 88c8121ec9e591fee53bdd416247997eef47b40f (patch) | |
tree | dda65f6ce3d628c391b4e87ec9b2438b82e4ea26 /src/compiler/spirv/nir_spirv.h | |
parent | c2acf97fcc9b32eaa9778771282758e5652a8ad4 (diff) |
spirv: enable SpvCapabilityFloat64 only to supported platforms
v2 (Jason):
- Use nir_spirv_supported_extensions to check if the feature is enabled.
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/nir_spirv.h')
-rw-r--r-- | src/compiler/spirv/nir_spirv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/spirv/nir_spirv.h b/src/compiler/spirv/nir_spirv.h index 116b0a374cd..2850e91e8b8 100644 --- a/src/compiler/spirv/nir_spirv.h +++ b/src/compiler/spirv/nir_spirv.h @@ -45,6 +45,7 @@ struct nir_spirv_specialization { }; struct nir_spirv_supported_extensions { + bool float64; bool image_ms_array; }; |