summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/nir_spirv.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-09-25 14:23:55 -0700
committerKenneth Graunke <[email protected]>2017-01-10 13:21:38 -0800
commit944e8b08cd182d00f82e8fa1efea4503eed18e1d (patch)
tree4056b207d7c3cd8fa79e63250cfbdb5117156b51 /src/compiler/spirv/nir_spirv.h
parent1e5b09f42f694687ac3b8abd5e95c391723b65ae (diff)
spirv: Silence unsupported tessellation capability warnings.
...when the capability bit is set. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]> [v1] Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/nir_spirv.h')
-rw-r--r--src/compiler/spirv/nir_spirv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/spirv/nir_spirv.h b/src/compiler/spirv/nir_spirv.h
index 2850e91e8b8..e3f4ee85cc9 100644
--- a/src/compiler/spirv/nir_spirv.h
+++ b/src/compiler/spirv/nir_spirv.h
@@ -47,6 +47,7 @@ struct nir_spirv_specialization {
struct nir_spirv_supported_extensions {
bool float64;
bool image_ms_array;
+ bool tessellation;
};
nir_function *spirv_to_nir(const uint32_t *words, size_t word_count,