diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/a4xx/fd4_program.c')
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_program.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_program.c b/src/gallium/drivers/freedreno/a4xx/fd4_program.c index d782b94f848..4396383eef9 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_program.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_program.c @@ -50,9 +50,10 @@ static struct fd4_shader_stateobj * create_shader_stateobj(struct pipe_context *pctx, const struct pipe_shader_state *cso, enum shader_t type) { + struct fd_context *ctx = fd_context(pctx); + struct ir3_compiler *compiler = ctx->screen->compiler; struct fd4_shader_stateobj *so = CALLOC_STRUCT(fd4_shader_stateobj); - struct ir3_compiler *compiler = fd_context(pctx)->screen->compiler; - so->shader = ir3_shader_create(compiler, cso, type); + so->shader = ir3_shader_create(compiler, cso, type, &ctx->debug); return so; } |