summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-02-26 18:01:02 -0500
committerKarol Herbst <[email protected]>2019-01-21 20:36:41 +0100
commitfa737042adb02d83c24d6578c294264881e18334 (patch)
tree31fe193264dc06f1c2425da9a86843c6a8190d50 /src/compiler/shader_info.h
parentce08e5f39cdf5d224eacfe573c567c7083dfa8bf (diff)
nir/vtn: add caps for some cl related capabilities
vtn supports these, so don't squalk if user is happy with enabling these. v2: add new members sorted Signed-off-by: Karol Herbst <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r--src/compiler/shader_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index 87a2c805d37..7af36a66d13 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -33,6 +33,7 @@ extern "C" {
#endif
struct spirv_supported_capabilities {
+ bool address;
bool atomic_storage;
bool descriptor_array_dynamic_indexing;
bool device_group;
@@ -43,9 +44,11 @@ struct spirv_supported_capabilities {
bool image_ms_array;
bool image_read_without_format;
bool image_write_without_format;
+ bool int8;
bool int16;
bool int64;
bool int64_atomics;
+ bool kernel;
bool min_lod;
bool multiview;
bool post_depth_coverage;