diff options
Diffstat (limited to 'src/compiler/spirv/spirv2nir.c')
-rw-r--r-- | src/compiler/spirv/spirv2nir.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/spirv/spirv2nir.c b/src/compiler/spirv/spirv2nir.c index 0ae14fb19b1..5957f064b49 100644 --- a/src/compiler/spirv/spirv2nir.c +++ b/src/compiler/spirv/spirv2nir.c @@ -72,8 +72,11 @@ int main(int argc, char **argv) return 1; } + struct spirv_to_nir_options spirv_opts = {}; + nir_function *func = spirv_to_nir(map, word_count, NULL, 0, - MESA_SHADER_FRAGMENT, "main", NULL, NULL); + MESA_SHADER_FRAGMENT, "main", + &spirv_opts, NULL); nir_print_shader(func->shader, stderr); return 0; |