aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2016-03-17 14:15:39 +0100
committerBas Nieuwenhuizen <[email protected]>2016-04-02 01:49:57 +0200
commitea8f4a6b13b94eb060bff4ccc6c13efc01d2b682 (patch)
treebed727973117acd76924d5c381db6d1a3cd45a3d /src/gallium/tests/trivial
parent5ea825f55652ba9e91ab683308dcd6392cc32a97 (diff)
gallium: add compute shader IR type
Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/tests/trivial')
-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,