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 <robclark@freedesktop.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user