From 09cbd97a47a81f5d4b014adb5bdb9a490b24db82 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 6 Apr 2015 10:54:30 -0400 Subject: [PATCH] freedreno/ir3/nir: set first_driver_param Without this, a3xx breaks.. a4xx would too if it had already implemented support for passing driver params. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index fdf814f26ee..aa5b5f77ad0 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -244,6 +244,8 @@ compile_init(struct ir3_shader_variant *so, free((void *)lowered_tokens); so->first_immediate = ctx->s->num_uniforms; + /* for now, now driver params: */ + so->first_driver_param = so->first_immediate; return ctx; } -- 2.30.2