projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: add compute shader IR type
[mesa.git]
/
src
/
gallium
/
tests
/
trivial
/
compute.c
diff --git
a/src/gallium/tests/trivial/compute.c
b/src/gallium/tests/trivial/compute.c
index 5d5e0b0b8c3dfd361c47f4fa5e09bc3c2f3026b8..2ddfc42e9cd17efd73fe26eb33bf085a3a96eb0d 100644
(file)
--- 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,