---
 src/gallium/drivers/r600/r600_llvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/r600_llvm.c 
b/src/gallium/drivers/r600/r600_llvm.c
index 54291a1..c700f26 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -431,7 +431,7 @@ static void llvm_emit_tex(
                }
        }
 
-       if (emit_data->inst->Instruction.Opcode == TGSI_OPCODE_TEX) {
+       if (emit_data->inst->Instruction.Opcode == TGSI_OPCODE_TEX || 
emit_data->inst->Instruction.Opcode == TGSI_OPCODE_TXP) {
                LLVMValueRef Vector[4] = {
                        LLVMBuildExtractElement(gallivm->builder, 
emit_data->args[0],
                                lp_build_const_int32(gallivm, 0), ""),
-- 
1.8.3.1

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to