summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-12-27 23:27:14 +0000
committerDave Airlie <[email protected]>2016-12-28 22:43:17 +0000
commitde7dd4d621ca2654a1091457c514b50c50ba92dd (patch)
treeeecaeb3f9575343e66ed18f4ee827a8be6798212 /src/compiler/spirv/vtn_private.h
parent464b23b1f289e8f9ede7c9d817c1678bbef0ad8d (diff)
spirv: add interface for drivers to define support extensions.
I expect over time the struct contents will change as all drivers support stuff etc, but for now this should be a good starting point. Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r--src/compiler/spirv/vtn_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h
index 47579fe0fb9..9302611803f 100644
--- a/src/compiler/spirv/vtn_private.h
+++ b/src/compiler/spirv/vtn_private.h
@@ -347,6 +347,7 @@ struct vtn_builder {
nir_shader *shader;
nir_function_impl *impl;
+ const struct nir_spirv_supported_extensions *ext;
struct vtn_block *block;
/* Current file, line, and column. Useful for debugging. Set