mesa/src/gallium/include/pipe
Brian Paul 46205ab8cc tgsi: rename the TGSI fragment kill opcodes
TGSI_OPCODE_KIL and KILP had confusing names.  The former was conditional
kill (if any src component < 0).  The later was unconditional kill.
At one time KILP was supposed to work with NV-style condition
codes/predicates but we never had that in TGSI.

This patch renames both opcodes:
  TGSI_OPCODE_KIL -> KILL_IF   (kill if src.xyzw < 0)
  TGSI_OPCODE_KILP -> KILL     (unconditional kill)

Note: I didn't just transpose the opcode names to help ensure that I
didn't miss updating any code anywhere.

I believe I've updated all the relevant code and comments but I'm
not 100% sure that some drivers had this right in the first place.
For example, the radeon driver might have llvm.AMDGPU.kill and
llvm.AMDGPU.kilp mixed up.  Driver authors should review their code.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2013-07-12 08:32:51 -06:00
..
p_compiler.h Avoid spurious GCC warnings in STATIC_ASSERT() macro. 2013-04-04 09:52:18 -07:00
p_config.h gallium: System z support 2013-06-05 08:36:24 -06:00
p_context.h gallium: add condition parameter to render_condition 2013-06-18 18:01:24 +02:00
p_defines.h mesa,glsl,gallium: remove GLSLSkipStrictMaxVaryingLimitCheck and dependencies 2013-07-02 17:02:14 +02:00
p_format.h gallium: Fix llvmpipe on big-endian machines 2013-06-24 09:48:56 -04:00
p_screen.h gallium: add interface for driver queries like performance counters, etc. 2013-03-26 01:28:19 +01:00
p_shader_tokens.h tgsi: rename the TGSI fragment kill opcodes 2013-07-12 08:32:51 -06:00
p_state.h gallium/draw: add limits to the clip and cull distances 2013-06-13 12:13:11 -04:00
p_video_decoder.h vl: move away from state like parameters 2012-01-15 12:40:44 +01:00
p_video_enums.h vl: add interlacing capabilities 2012-02-06 10:35:58 +01:00
p_video_state.h vl/compositor: replace pipe_video_rect with u_rect 2012-03-02 13:14:21 +01:00