vkd3d-shader: Rename shader_instruction_init().

This commit is contained in:
Giovanni Mascellani
2023-09-11 14:45:26 +02:00
committed by Alexandre Julliard
parent 78ff0f3df4
commit 05af25eecb
Notes: Alexandre Julliard 2023-09-22 22:46:19 +02:00
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/317
5 changed files with 11 additions and 11 deletions

View File

@@ -1090,7 +1090,7 @@ static void shader_sm1_read_instruction(struct vkd3d_shader_sm1_parser *sm1, str
goto fail;
}
ins->handler_idx = opcode_info->vkd3d_opcode;
vsir_instruction_init(ins, opcode_info->vkd3d_opcode);
ins->flags = (opcode_token & VKD3D_SM1_INSTRUCTION_FLAGS_MASK) >> VKD3D_SM1_INSTRUCTION_FLAGS_SHIFT;
ins->coissue = opcode_token & VKD3D_SM1_COISSUE;
ins->raw = false;