diff options
author | Brian Paul <[email protected]> | 2013-07-11 16:00:45 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-07-12 08:32:51 -0600 |
commit | f501baabdb5cd356faad0e419c64b2ac312c5756 (patch) | |
tree | 2f2255655dddbfb2c2ab2e14630c3770908b9d6f /src/mesa | |
parent | e7c38987255d23bc32dc0a68f7f6e2c620d3968a (diff) |
tgsi: fix-up KILP comments
KILP is really unconditional fragment kill.
We've had KIL and KILP transposed forever. I'll fix that next.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 64e0a8a46eb..9e0a648bcf1 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -2978,6 +2978,7 @@ glsl_to_tgsi_visitor::visit(ir_discard *ir) this->result.negate = ~this->result.negate; emit(ir, TGSI_OPCODE_KIL, undef_dst, this->result); } else { + /* unconditional kil */ emit(ir, TGSI_OPCODE_KILP); } } |