Browse Source

gallium: Add signed/unsigned int immediate data types.

tags/7.8-rc1
Michal Krol 16 years ago
parent
commit
b1c55e80aa
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/gallium/include/pipe/p_shader_tokens.h

+ 4
- 0
src/gallium/include/pipe/p_shader_tokens.h View File

@@ -141,6 +141,8 @@ struct tgsi_declaration_semantic
};

#define TGSI_IMM_FLOAT32 0
#define TGSI_IMM_UINT32 1
#define TGSI_IMM_INT32 2

struct tgsi_immediate
{
@@ -153,6 +155,8 @@ struct tgsi_immediate
union tgsi_immediate_data
{
float Float;
unsigned Uint;
int Int;
};

#define TGSI_PROPERTY_GS_INPUT_PRIM 0

Loading…
Cancel
Save