mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/ir: Validate the allowed signatures and stages for SV_CullDistance.
This commit is contained in:
parent
33972998a9
commit
cd5718f59d
Notes:
Henri Verbeet
2024-10-14 19:45:15 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1173
@ -6784,6 +6784,7 @@ sysval_validation_data[] =
|
|||||||
VKD3D_SHADER_COMPONENT_FLOAT, 4},
|
VKD3D_SHADER_COMPONENT_FLOAT, 4},
|
||||||
[VKD3D_SHADER_SV_CLIP_DISTANCE] = {PS_BIT | GS_BIT | HS_BIT | DS_BIT, PS_BIT | VS_BIT | GS_BIT | HS_BIT | DS_BIT, 0,
|
[VKD3D_SHADER_SV_CLIP_DISTANCE] = {PS_BIT | GS_BIT | HS_BIT | DS_BIT, PS_BIT | VS_BIT | GS_BIT | HS_BIT | DS_BIT, 0,
|
||||||
VKD3D_SHADER_COMPONENT_FLOAT, 4},
|
VKD3D_SHADER_COMPONENT_FLOAT, 4},
|
||||||
|
[VKD3D_SHADER_SV_CULL_DISTANCE] = {PS_BIT | GS_BIT | HS_BIT | DS_BIT, PS_BIT | VS_BIT | GS_BIT | HS_BIT | DS_BIT},
|
||||||
};
|
};
|
||||||
|
|
||||||
static void vsir_validate_signature_element(struct validation_context *ctx,
|
static void vsir_validate_signature_element(struct validation_context *ctx,
|
||||||
|
Loading…
Reference in New Issue
Block a user