gallium: add new semantic for clip vertex.
This is to match the gl_ClipVertex output from GLSL 1.20. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -71,7 +71,8 @@ const char *tgsi_semantic_names[TGSI_SEMANTIC_COUNT] =
|
|||||||
"INSTANCEID",
|
"INSTANCEID",
|
||||||
"VERTEXID",
|
"VERTEXID",
|
||||||
"STENCIL",
|
"STENCIL",
|
||||||
"CLIPDIST"
|
"CLIPDIST",
|
||||||
|
"CLIPVERTEX"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *tgsi_texture_names[TGSI_TEXTURE_COUNT] =
|
const char *tgsi_texture_names[TGSI_TEXTURE_COUNT] =
|
||||||
|
@@ -147,7 +147,8 @@ struct tgsi_declaration_dimension
|
|||||||
#define TGSI_SEMANTIC_VERTEXID 11
|
#define TGSI_SEMANTIC_VERTEXID 11
|
||||||
#define TGSI_SEMANTIC_STENCIL 12
|
#define TGSI_SEMANTIC_STENCIL 12
|
||||||
#define TGSI_SEMANTIC_CLIPDIST 13
|
#define TGSI_SEMANTIC_CLIPDIST 13
|
||||||
#define TGSI_SEMANTIC_COUNT 14 /**< number of semantic values */
|
#define TGSI_SEMANTIC_CLIPVERTEX 14
|
||||||
|
#define TGSI_SEMANTIC_COUNT 15 /**< number of semantic values */
|
||||||
|
|
||||||
struct tgsi_declaration_semantic
|
struct tgsi_declaration_semantic
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user