From cd5718f59da2ff8445b199a5b61c82ab7831fc81 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Thu, 10 Oct 2024 22:04:30 +0200 Subject: [PATCH] vkd3d-shader/ir: Validate the allowed signatures and stages for SV_CullDistance. --- libs/vkd3d-shader/ir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/vkd3d-shader/ir.c b/libs/vkd3d-shader/ir.c index 75e28c01..f5e32cd4 100644 --- a/libs/vkd3d-shader/ir.c +++ b/libs/vkd3d-shader/ir.c @@ -6784,6 +6784,7 @@ sysval_validation_data[] = 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_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,