projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4b4c1
)
gallium: Add signed/unsigned int immediate data types.
author
Michal Krol
<michal@vmware.com>
Wed, 23 Dec 2009 17:17:34 +0000
(18:17 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 5 Jan 2010 08:27:08 +0000
(09:27 +0100)
src/gallium/include/pipe/p_shader_tokens.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_shader_tokens.h
b/src/gallium/include/pipe/p_shader_tokens.h
index b15072580819486c50810f0d06093435dac299d1..a12afbcb5c410657013cab229a7349d61da978e2 100644
(file)
--- 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