summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-07-30 10:34:06 +0200
committerMichal Krol <michal@vmware.com>2009-07-30 10:34:06 +0200
commitcf8907018e449580b397f09c267219a612ba5db4 (patch)
tree96896702f6ecc09b92e730e07dbd9cf54581b66d /src/gallium/include
parent65fb2c52f9e86627652cac0d4139b40bef102596 (diff)
tgsi: Declare a LOOP register.
The only valid usage for LOOP/ENDLOOP instructions is LOOP[0] as a destination register. The only valid usage for the remaining instructions is LOOP[0].x as an indirect register.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index e6e29a04ec0..c4be604e5a0 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -78,6 +78,7 @@ enum tgsi_file_type {
TGSI_FILE_SAMPLER =5,
TGSI_FILE_ADDRESS =6,
TGSI_FILE_IMMEDIATE =7,
+ TGSI_FILE_LOOP =8,
TGSI_FILE_COUNT /**< how many TGSI_FILE_ types */
};