mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Silence a spurious -Wmaybe-uninitialized in sm4_generate_vsir_instr_dcl_semantic().
This commit is contained in:
parent
72394d9ae3
commit
683e11aece
Notes:
Henri Verbeet
2024-11-14 14:23:37 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1264
@ -7704,8 +7704,8 @@ static void sm4_generate_vsir_instr_dcl_semantic(struct hlsl_ctx *ctx, struct vs
|
||||
struct vkd3d_shader_instruction *ins;
|
||||
enum vkd3d_shader_register_type type;
|
||||
enum vkd3d_shader_opcode opcode;
|
||||
unsigned int idx = 0;
|
||||
uint32_t write_mask;
|
||||
unsigned int idx;
|
||||
bool has_idx;
|
||||
|
||||
sm4_sysval_semantic_from_semantic_name(&semantic, version, ctx->semantic_compat_mapping,
|
||||
|
Loading…
Reference in New Issue
Block a user