projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3354a5b
)
glsl_to_tgsi: lower all ir_quadop_vector expressions
author
Bryan Cain
<bryancain3@gmail.com>
Wed, 27 Jul 2011 20:45:16 +0000
(15:45 -0500)
committer
Bryan Cain
<bryancain3@gmail.com>
Mon, 1 Aug 2011 22:59:10 +0000
(17:59 -0500)
Unlike Mesa IR, TGSI doesn't have a SWZ opcode.
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 6039488f26b47e41b3de0538668e201fd6777e01..0cbfc943a05d5c4af5f0422c5e3242dd0248ec70 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-4825,7
+4825,7
@@
st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog)
progress = do_common_optimization(ir, true, options->MaxUnrollIterations) || progress;
- progress = lower_quadop_vector(ir,
tru
e) || progress;
+ progress = lower_quadop_vector(ir,
fals
e) || progress;
if (options->EmitNoIfs) {
progress = lower_discard(ir) || progress;