aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2019-08-14 22:08:50 -0700
committerVasily Khoruzhick <[email protected]>2019-08-15 16:59:51 -0700
commit861c2b8d31ea3abf59062deddbbaeaa51e1583e0 (patch)
treedff53eee3d27dd30cf91edc5a1108fee70d145df /src/gallium/drivers/lima
parentb9fb90e6d35b19a68a163ab28fba87ab2a950e89 (diff)
lima: fix compilation of standalone compiler
Fixes: e0aeee946004("lima: add summary report for shader-db") Reviewed-by: Qiang Yu <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima')
-rw-r--r--src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c b/src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c
index 7013504c186..aa41517eb8c 100644
--- a/src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c
+++ b/src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c
@@ -221,7 +221,7 @@ main(int argc, char **argv)
nir_print_shader(nir, stdout);
struct lima_vs_shader_state *vs = ralloc(nir, struct lima_vs_shader_state);
- gpir_compile_nir(vs, nir);
+ gpir_compile_nir(vs, nir, NULL);
break;
case MESA_SHADER_FRAGMENT:
lima_program_optimize_fs_nir(nir);
@@ -230,7 +230,7 @@ main(int argc, char **argv)
struct lima_fs_shader_state *so = rzalloc(NULL, struct lima_fs_shader_state);
struct ra_regs *ra = ppir_regalloc_init(NULL);
- ppir_compile_nir(so, nir, ra);
+ ppir_compile_nir(so, nir, ra, NULL);
break;
default:
errx(1, "unhandled shader stage: %d", stage);