diff options
author | Nicolai Hähnle <[email protected]> | 2017-09-22 16:59:08 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-09-29 11:42:59 +0200 |
commit | 8ea7d3a5c8ea0c530d7f66a9bdd0fb12c59418bc (patch) | |
tree | caaca0206a15599db7b710f85e5c322d0d3b5974 /src/loader | |
parent | 2703fa613b674184ad94b077ae68ad04160ba9d5 (diff) |
st/glsl_to_tgsi: fix conditional assignments to packed shader outputs
Overriding the default (no-op) swizzle is clearly counter-productive,
since the whole point is putting the destination register as one of
the source operands so that it remains unmodified when the assignment
condition is false.
Fragment depth and stencil outputs are a special case due to how their
source swizzles are manipulated in translate_src when compiling to
TGSI.
Fixes dEQP-GLES2.functional.shaders.conditionals.if.*_vertex
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/loader')
0 files changed, 0 insertions, 0 deletions