From dd64f9464bcb21e14cb2a105dde92f054d60eade Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 31 Aug 2009 09:57:49 +0200 Subject: [PATCH] d3d10: Add the D3D10_NAME enum. --- include/d3d10shader.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/include/d3d10shader.h b/include/d3d10shader.h index 9e625d954fe..88091c492bd 100644 --- a/include/d3d10shader.h +++ b/include/d3d10shader.h @@ -82,6 +82,23 @@ typedef enum _D3D10_SHADER_VARIABLE_TYPE D3D10_SVT_FORCE_DWORD = 0x7fffffff } D3D10_SHADER_VARIABLE_TYPE, *LPD3D10_SHADER_VARIABLE_TYPE; +typedef enum D3D10_NAME +{ + D3D10_NAME_UNDEFINED = 0, + D3D10_NAME_POSITION = 1, + D3D10_NAME_CLIP_DISTANCE = 2, + D3D10_NAME_CULL_DISTANCE = 3, + D3D10_NAME_RENDER_TARGET_ARRAY_INDEX = 4, + D3D10_NAME_VIEWPORT_ARRAY_INDEX = 5, + D3D10_NAME_VERTEX_ID = 6, + D3D10_NAME_PRIMITIVE_ID = 7, + D3D10_NAME_INSTANCE_ID = 8, + D3D10_NAME_IS_FRONT_FACE = 9, + D3D10_NAME_SAMPLE_INDEX = 10, + D3D10_NAME_TARGET = 64, + D3D10_NAME_DEPTH = 65, +} D3D10_NAME; + typedef struct _D3D10_SHADER_MACRO { LPCSTR Name;