mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
libs/vkd3d-shader: Force public enums to 32-bit values.
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:
committed by
Alexandre Julliard
parent
be8e10e12e
commit
367e55cd59
@@ -1919,10 +1919,10 @@ static bool vkd3d_dxbc_compiler_check_shader_visibility(struct vkd3d_dxbc_compil
|
||||
return compiler->shader_type == VKD3D_SHADER_TYPE_GEOMETRY;
|
||||
case VKD3D_SHADER_VISIBILITY_PIXEL:
|
||||
return compiler->shader_type == VKD3D_SHADER_TYPE_PIXEL;
|
||||
default:
|
||||
ERR("Invalid shader visibility %#x.\n", visibility);
|
||||
return false;
|
||||
}
|
||||
|
||||
ERR("Invalid shader visibility %#x.\n", visibility);
|
||||
return false;
|
||||
}
|
||||
|
||||
static struct vkd3d_push_constant_buffer_binding *vkd3d_dxbc_compiler_find_push_constant_buffer(
|
||||
|
Reference in New Issue
Block a user