Преглед на файлове

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>
tags/mesa-8.0-rc1
Dave Airlie преди 14 години
родител
ревизия
9cea86f501
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 2
    1
      src/gallium/auxiliary/tgsi/tgsi_strings.c
  2. 2
    1
      src/gallium/include/pipe/p_shader_tokens.h

+ 2
- 1
src/gallium/auxiliary/tgsi/tgsi_strings.c Целия файл

@@ -71,7 +71,8 @@ const char *tgsi_semantic_names[TGSI_SEMANTIC_COUNT] =
"INSTANCEID",
"VERTEXID",
"STENCIL",
"CLIPDIST"
"CLIPDIST",
"CLIPVERTEX"
};

const char *tgsi_texture_names[TGSI_TEXTURE_COUNT] =

+ 2
- 1
src/gallium/include/pipe/p_shader_tokens.h Целия файл

@@ -147,7 +147,8 @@ struct tgsi_declaration_dimension
#define TGSI_SEMANTIC_VERTEXID 11
#define TGSI_SEMANTIC_STENCIL 12
#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
{

Loading…
Отказ
Запис