mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Lower texkill instructions to discard_nz.
This commit is contained in:
committed by
Alexandre Julliard
parent
7e75ac63a1
commit
b92f6c448a
Notes:
Alexandre Julliard
2024-01-24 22:53:52 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/514
@@ -9558,7 +9558,6 @@ static int spirv_compiler_handle_instruction(struct spirv_compiler *compiler,
|
||||
spirv_compiler_emit_retc(compiler, instruction);
|
||||
break;
|
||||
case VKD3DSIH_DISCARD:
|
||||
case VKD3DSIH_TEXKILL:
|
||||
spirv_compiler_emit_discard(compiler, instruction);
|
||||
break;
|
||||
case VKD3DSIH_LABEL:
|
||||
|
Reference in New Issue
Block a user