mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Avoid mixing enum types (Coverity).
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
18f8019fd9
commit
a46a2fb21b
@ -5408,7 +5408,7 @@ static void vkd3d_dxbc_compiler_emit_default_control_point_phase(struct vkd3d_dx
|
||||
assert((input->mask & 0xff) == (output->mask & 0xff));
|
||||
assert(input->component_type == output->component_type);
|
||||
|
||||
if ((input_builtin = get_spirv_builtin_for_sysval(compiler, input->sysval_semantic)))
|
||||
if ((input_builtin = get_spirv_builtin_for_sysval(compiler, vkd3d_siv_from_sysval(input->sysval_semantic))))
|
||||
{
|
||||
component_type = input_builtin->component_type;
|
||||
component_count = input_builtin->component_count;
|
||||
|
Loading…
Reference in New Issue
Block a user