mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Introduce VKD3D_SHADER_VISIBILITY_COMPUTE.
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
ae84b5210e
commit
0f0af935a6
@@ -2000,6 +2000,8 @@ static bool vkd3d_dxbc_compiler_check_shader_visibility(const struct vkd3d_dxbc_
|
||||
return compiler->shader_type == VKD3D_SHADER_TYPE_GEOMETRY;
|
||||
case VKD3D_SHADER_VISIBILITY_PIXEL:
|
||||
return compiler->shader_type == VKD3D_SHADER_TYPE_PIXEL;
|
||||
case VKD3D_SHADER_VISIBILITY_COMPUTE:
|
||||
return compiler->shader_type == VKD3D_SHADER_TYPE_COMPUTE;
|
||||
default:
|
||||
ERR("Invalid shader visibility %#x.\n", visibility);
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user