diff options
author | Bryan Cain <[email protected]> | 2011-07-27 15:45:16 -0500 |
---|---|---|
committer | Bryan Cain <[email protected]> | 2011-08-01 17:59:10 -0500 |
commit | 10d31cb307f90a08fafed5c67945ffe53d279940 (patch) | |
tree | eaf8a655db202ed1bb34017bf1b577751ca1fdc7 /src | |
parent | 3354a5b56398f90fc36ab14b6444aae27b50e859 (diff) |
glsl_to_tgsi: lower all ir_quadop_vector expressions
Unlike Mesa IR, TGSI doesn't have a SWZ opcode.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 6039488f26b..0cbfc943a05 100644 --- 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, true) || progress; + progress = lower_quadop_vector(ir, false) || progress; if (options->EmitNoIfs) { progress = lower_discard(ir) || progress; |