mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/ir: Remove an unnecessary typecast in shader_instruction_eliminate_phase_instance_id().
This commit is contained in:
parent
fbd8b1a8c4
commit
b5ccc0e705
Notes:
Henri Verbeet
2024-10-07 17:54:27 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1151
@ -763,7 +763,7 @@ static void shader_instruction_eliminate_phase_instance_id(struct vkd3d_shader_i
|
||||
}
|
||||
|
||||
for (i = 0; i < ins->dst_count; ++i)
|
||||
shader_register_eliminate_phase_addressing((struct vkd3d_shader_register *)&ins->dst[i].reg, instance_id);
|
||||
shader_register_eliminate_phase_addressing(&ins->dst[i].reg, instance_id);
|
||||
}
|
||||
|
||||
static const struct vkd3d_shader_varying_map *find_varying_map(
|
||||
|
Loading…
Reference in New Issue
Block a user