summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/compute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/trivial/compute.c')
-rw-r--r--src/gallium/tests/trivial/compute.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/trivial/compute.c b/src/gallium/tests/trivial/compute.c
index 5d5e0b0b8c3..2ddfc42e9cd 100644
--- a/src/gallium/tests/trivial/compute.c
+++ b/src/gallium/tests/trivial/compute.c
@@ -144,6 +144,7 @@ static void init_prog(struct context *ctx, unsigned local_sz,
struct pipe_context *pipe = ctx->pipe;
struct tgsi_token prog[1024];
struct pipe_compute_state cs = {
+ .ir_type = PIPE_SHADER_IR_TGSI,
.prog = prog,
.req_local_mem = local_sz,
.req_private_mem = private_sz,