projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d72a1e
)
r600: fix tgsi clock last setting
author
Dave Airlie
<airlied@redhat.com>
Mon, 26 Feb 2018 01:05:45 +0000
(11:05 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 26 Feb 2018 01:05:45 +0000
(11:05 +1000)
On cayman this was hitting an assert later, which probably wasn't
see on non-cayman due to having the t slot.
Fixes: 9041730d1 (r600: add support for ARB_shader_clock.)
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 9f6780f219efac6ab95f2b400629957d10bcf11e..f2fc3f4c6f98ee8f4ae5377c40f168a3f9e3e705 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-10742,6
+10742,7
@@
static int tgsi_clock(struct r600_shader_ctx *ctx)
alu.op = ALU_OP1_MOV;
tgsi_dst(ctx, &inst->Dst[0], 1, &alu.dst);
alu.src[0].sel = EG_V_SQ_ALU_SRC_TIME_HI;
+ alu.last = 1;
r = r600_bytecode_add_alu(ctx->bc, &alu);
if (r)
return r;