projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a067696
)
tgsi: fix wrong reg used for unit for TGSI_OPCODE_TXF
author
Roland Scheidegger
<sroland@vmware.com>
Fri, 8 Mar 2013 18:45:52 +0000
(19:45 +0100)
committer
Roland Scheidegger
<sroland@vmware.com>
Mon, 11 Mar 2013 16:07:51 +0000
(17:07 +0100)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_exec.c
b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 6a74ef30adb8296e2e3a283f89d3cbe02d2e69a5..9945d42e195d4ece11423ca6e4fef4818f2ab27f 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_exec.c
@@
-2139,9
+2139,9
@@
exec_txd(struct tgsi_exec_machine *mach,
static void
exec_txf(struct tgsi_exec_machine *mach,
- const struct tgsi_full_instruction *inst)
+
const struct tgsi_full_instruction *inst)
{
- const uint unit = inst->Src[
2
].Register.Index;
+ const uint unit = inst->Src[
1
].Register.Index;
union tgsi_exec_channel r[4];
uint chan;
float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE];