mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/tpf: Use instr.extra_bits for IF.
This commit is contained in:
parent
e6c84862a8
commit
2083d505c7
Notes:
Henri Verbeet
2024-11-04 17:12:25 +01:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1242
@ -6098,7 +6098,8 @@ static void write_sm4_if(const struct tpf_compiler *tpf, const struct hlsl_ir_if
|
|||||||
{
|
{
|
||||||
struct sm4_instruction instr =
|
struct sm4_instruction instr =
|
||||||
{
|
{
|
||||||
.opcode = VKD3D_SM4_OP_IF | VKD3D_SM4_CONDITIONAL_NZ,
|
.opcode = VKD3D_SM4_OP_IF,
|
||||||
|
.extra_bits = VKD3D_SM4_CONDITIONAL_NZ,
|
||||||
.src_count = 1,
|
.src_count = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user