vkd3d-shader/d3dbc: Use D3DSIO_TEXKILL instead of VKD3D_SM1_OP_TEXKILL (clangd).

This commit is contained in:
Francisco Casas 2023-10-11 12:56:33 -03:00 committed by Alexandre Julliard
parent 7960836551
commit 38a7309758
Notes: Alexandre Julliard 2023-10-12 23:35:30 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/402

View File

@ -2221,7 +2221,7 @@ static void write_sm1_jump(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer *b
struct sm1_instruction instr = struct sm1_instruction instr =
{ {
.opcode = VKD3D_SM1_OP_TEXKILL, .opcode = D3DSIO_TEXKILL,
.dst.type = D3DSPR_TEMP, .dst.type = D3DSPR_TEMP,
.dst.reg = reg->id, .dst.reg = reg->id,