summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-04-06 10:54:30 -0400
committerRob Clark <[email protected]>2015-04-11 11:39:56 -0400
commit09cbd97a47a81f5d4b014adb5bdb9a490b24db82 (patch)
tree639bedbd988ab5ab1a1d93f025d74326631b6dfb /src
parentf0e9a632a12798bd727799e396cde665bd960665 (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c2
1 files changed, 2 insertions, 0 deletions
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;
}