From: Rob Clark Date: Mon, 6 Apr 2015 14:54:30 +0000 (-0400) Subject: freedreno/ir3/nir: set first_driver_param X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09cbd97a47a81f5d4b014adb5bdb9a490b24db82;p=mesa.git 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 --- 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; }