summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_shader_tokens.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-12-23 18:17:34 +0100
committerMichal Krol <michal@vmware.com>2010-01-05 09:27:08 +0100
commitb1c55e80aa600c88a20117cdca4bde2a46f79730 (patch)
tree0c3f09bda03da5e0336b2c87b552d06b77650f45 /src/gallium/include/pipe/p_shader_tokens.h
parentbf4b4c1b6fc06056270e099082f3fd88ec261a3b (diff)
gallium: Add signed/unsigned int immediate data types.
Diffstat (limited to 'src/gallium/include/pipe/p_shader_tokens.h')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index b150725808..a12afbcb5c 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -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