mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
draw: Use KIL instead of KILP.
This commit is contained in:
parent
9804ab9acc
commit
0c8f4c25ff
2 changed files with 4 additions and 4 deletions
|
|
@ -301,9 +301,9 @@ aa_transform_inst(struct tgsi_transform_context *ctx,
|
|||
newInst.FullSrcRegisters[1].SrcRegister.SwizzleY = TGSI_SWIZZLE_W;
|
||||
ctx->emit_instruction(ctx, &newInst);
|
||||
|
||||
/* KILP -t0.yyyy; # if b, KILL */
|
||||
/* KIL -tmp0.yyyy; # if -tmp0.y < 0, KILL */
|
||||
newInst = tgsi_default_full_instruction();
|
||||
newInst.Instruction.Opcode = TGSI_OPCODE_KILP;
|
||||
newInst.Instruction.Opcode = TGSI_OPCODE_KIL;
|
||||
newInst.Instruction.NumDstRegs = 0;
|
||||
newInst.Instruction.NumSrcRegs = 1;
|
||||
newInst.FullSrcRegisters[0].SrcRegister.File = TGSI_FILE_TEMPORARY;
|
||||
|
|
|
|||
|
|
@ -299,9 +299,9 @@ pstip_transform_inst(struct tgsi_transform_context *ctx,
|
|||
newInst.FullSrcRegisters[1].SrcRegister.Index = pctx->freeSampler;
|
||||
ctx->emit_instruction(ctx, &newInst);
|
||||
|
||||
/* KILP texTemp; # if texTemp < 0, KILL fragment */
|
||||
/* KIL -texTemp; # if -texTemp < 0, KILL fragment */
|
||||
newInst = tgsi_default_full_instruction();
|
||||
newInst.Instruction.Opcode = TGSI_OPCODE_KILP;
|
||||
newInst.Instruction.Opcode = TGSI_OPCODE_KIL;
|
||||
newInst.Instruction.NumDstRegs = 0;
|
||||
newInst.Instruction.NumSrcRegs = 1;
|
||||
newInst.FullSrcRegisters[0].SrcRegister.File = TGSI_FILE_TEMPORARY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue