summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/nir_spirv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/spirv/nir_spirv.h')
-rw-r--r--src/compiler/spirv/nir_spirv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/spirv/nir_spirv.h b/src/compiler/spirv/nir_spirv.h
index e0112ef4ad4..116b0a374cd 100644
--- a/src/compiler/spirv/nir_spirv.h
+++ b/src/compiler/spirv/nir_spirv.h
@@ -38,7 +38,10 @@ extern "C" {
struct nir_spirv_specialization {
uint32_t id;
- uint32_t data;
+ union {
+ uint32_t data32;
+ uint64_t data64;
+ };
};
struct nir_spirv_supported_extensions {