From 9a2a73780749882ab38e2cc079d4ba947f8d05c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Mon, 4 Jul 2016 12:26:27 +0200 Subject: [PATCH] wined3d: Add missing system-value semantics. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Józef Kucia Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/wined3d/shader.c | 3 +++ include/wine/wined3d.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c index 700b7c11f45..eb9513620b3 100644 --- a/dlls/wined3d/shader.c +++ b/dlls/wined3d/shader.c @@ -253,6 +253,9 @@ sysval_semantic_names[] = { {WINED3D_SV_POSITION, "SV_Position"}, {WINED3D_SV_CLIP_DISTANCE, "SV_ClipDistance"}, + {WINED3D_SV_CULL_DISTANCE, "SV_CullDistance"}, + {WINED3D_SV_RENDER_TARGET_ARRAY_INDEX, "SV_RenderTargetArrayIndex"}, + {WINED3D_SV_VIEWPORT_ARRAY_INDEX, "SV_ViewportArrayIndex"}, {WINED3D_SV_VERTEX_ID, "SV_VertexID"}, {WINED3D_SV_INSTANCE_ID, "SV_InstanceID"}, {WINED3D_SV_PRIMITIVE_ID, "SV_PrimitiveID"}, diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h index 1c0a61b59a2..a425ac5818a 100644 --- a/include/wine/wined3d.h +++ b/include/wine/wined3d.h @@ -745,6 +745,9 @@ enum wined3d_sysval_semantic { WINED3D_SV_POSITION = 1, WINED3D_SV_CLIP_DISTANCE = 2, + WINED3D_SV_CULL_DISTANCE = 3, + WINED3D_SV_RENDER_TARGET_ARRAY_INDEX = 4, + WINED3D_SV_VIEWPORT_ARRAY_INDEX = 5, WINED3D_SV_VERTEX_ID = 6, WINED3D_SV_PRIMITIVE_ID = 7, WINED3D_SV_INSTANCE_ID = 8,