diff options
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_context.c')
-rw-r--r-- | src/gallium/drivers/ddebug/dd_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ddebug/dd_context.c b/src/gallium/drivers/ddebug/dd_context.c index 723e90e0fa5..854ff51c640 100644 --- a/src/gallium/drivers/ddebug/dd_context.c +++ b/src/gallium/drivers/ddebug/dd_context.c @@ -353,6 +353,8 @@ dd_context_create_compute_state(struct pipe_context *_pipe, return NULL; hstate->cso = pipe->create_compute_state(pipe, state); + hstate->state.shader.type = state->ir_type; + if (state->ir_type == PIPE_SHADER_IR_TGSI) hstate->state.shader.tokens = tgsi_dup_tokens(state->prog); |