summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-01-25 20:25:50 -0700
committerBrian Paul <[email protected]>2011-01-25 20:25:53 -0700
commitc0d941877b410b2402ed853d1d33b0664a3d1445 (patch)
treed2948d75613c829eedcbb4b7ddabf967b50e9be1 /src/gallium/include
parent903185bf3b7c3f7723d4a862286839f422665486 (diff)
tgsi: add support for 1D/2D texture arrays
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 6e5a48b3a62..d3a3632654c 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -430,7 +430,9 @@ struct tgsi_instruction_label
#define TGSI_TEXTURE_SHADOW1D 6
#define TGSI_TEXTURE_SHADOW2D 7
#define TGSI_TEXTURE_SHADOWRECT 8
-#define TGSI_TEXTURE_COUNT 9
+#define TGSI_TEXTURE_1D_ARRAY 9
+#define TGSI_TEXTURE_2D_ARRAY 10
+#define TGSI_TEXTURE_COUNT 11
struct tgsi_instruction_texture
{