projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a95fb1
)
r600g/llvm: fix cubemap lod/bias
author
Vincent Lejeune
<vljn@ovi.com>
Sat, 18 May 2013 21:42:37 +0000
(23:42 +0200)
committer
Vincent Lejeune
<vljn@ovi.com>
Mon, 20 May 2013 18:23:19 +0000
(20:23 +0200)
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
index 0629b89a8e52cfc8cd792a976b564f5d4207b718..3f7e79f9cd441aae145c2f2cbcaa2f3ccdbe0039 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
+++ b/
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
@@
-654,6
+654,9
@@
void radeon_llvm_emit_prepare_cube_coords(
opcode == TGSI_OPCODE_TXB2 ||
opcode == TGSI_OPCODE_TXL2) {
coords[3] = coords_arg[4];
+ } else if (opcode == TGSI_OPCODE_TXB ||
+ opcode == TGSI_OPCODE_TXL) {
+ coords[3] = coords_arg[3];
}
}