summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/spirv2nir.c
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/spirv2nir.c
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/spirv2nir.c')
-rw-r--r--src/compiler/spirv/spirv2nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/spirv2nir.c b/src/compiler/spirv/spirv2nir.c
index 3dc07351322..0ae14fb19b1 100644
--- a/src/compiler/spirv/spirv2nir.c
+++ b/src/compiler/spirv/spirv2nir.c
@@ -73,7 +73,7 @@ int main(int argc, char **argv)
}
nir_function *func = spirv_to_nir(map, word_count, NULL, 0,
- MESA_SHADER_FRAGMENT, "main", NULL);
+ MESA_SHADER_FRAGMENT, "main", NULL, NULL);
nir_print_shader(func->shader, stderr);
return 0;