summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_constant_expression.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-08-19 15:22:43 -0700
committerKenneth Graunke <[email protected]>2015-02-24 15:24:52 -0800
commit8eb6c109994de2827b0a1340a2dc8d933edaf5e0 (patch)
treec686258c324bd36300520eface713ae9ca7c7f77 /src/glsl/ir_constant_expression.cpp
parent8e62bd52f8296a220bd4542abd6fdcdfc41a388c (diff)
i965/fs: Handle conditional discards.
The discard condition tells us which channels we want killed. We want to invert that condition to get the channels that should survive (remain live) in f0.1. Emit a CMP to negate it. Nothing generates these today, but that will change shortly. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Connor Abbott <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/ir_constant_expression.cpp')
0 files changed, 0 insertions, 0 deletions