projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9098953
)
glsl_to_tgsi: fix typo
author
Bryan Cain
<bryancain3@gmail.com>
Sat, 20 Aug 2011 19:17:52 +0000
(14:17 -0500)
committer
Bryan Cain
<bryancain3@gmail.com>
Sat, 20 Aug 2011 19:17:52 +0000
(14:17 -0500)
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index b211fc680a3993624f7e34696ee10f1f2360e376..2885630c7db36479cd01618a039d5b19f37d08d6 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-1514,7
+1514,7
@@
glsl_to_tgsi_visitor::visit(ir_expression *ir)
slt_src.negate = ~slt_src.negate;
emit(ir, TGSI_OPCODE_SLT, result_dst, slt_src, st_src_reg_for_float(0.0));
} else {
- emit(ir, TGSI_OPCODE_SNE, result_dst, result_src, st_src_reg_for_
float(0.
0));
+ emit(ir, TGSI_OPCODE_SNE, result_dst, result_src, st_src_reg_for_
int(
0));
}
} else {
emit(ir, TGSI_OPCODE_SNE, result_dst, op[0], op[1]);