mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Handle clip and cull distance in vkd3d_siv_from_sysval_indexed().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b1712cbd48
commit
1cee31ed7a
@ -138,6 +138,10 @@ static enum vkd3d_shader_input_sysval_semantic vkd3d_siv_from_sysval_indexed(enu
|
||||
return VKD3D_SIV_NONE;
|
||||
case VKD3D_SV_POSITION:
|
||||
return VKD3D_SIV_POSITION;
|
||||
case VKD3D_SV_CLIP_DISTANCE:
|
||||
return VKD3D_SIV_CLIP_DISTANCE;
|
||||
case VKD3D_SV_CULL_DISTANCE:
|
||||
return VKD3D_SIV_CULL_DISTANCE;
|
||||
case VKD3D_SV_TESS_FACTOR_QUADEDGE:
|
||||
return VKD3D_SIV_QUAD_U0_TESS_FACTOR + index;
|
||||
case VKD3D_SV_TESS_FACTOR_QUADINT:
|
||||
|
Loading…
Reference in New Issue
Block a user