summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2012-04-30 18:28:36 +0200
committerFrancisco Jerez <[email protected]>2012-05-11 12:39:40 +0200
commita4ebb04214bab1cd9bd41967232ec89441e31744 (patch)
tree2723ec4571dce55d45415116e426690619ed1546 /src/gallium/include/pipe
parent63428372cadc73a7124f4e7d383eb86a0c7affd7 (diff)
gallium/tgsi: Define the TGSI_BUFFER texture target.
This texture type was already referred to by the documentation but it was never defined. Define it as 0 to match the pipe_texture_target enumeration values.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 3c970723d35..a62d7a2b94d 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -466,7 +466,7 @@ struct tgsi_instruction_label
unsigned Padding : 8;
};
-#define TGSI_TEXTURE_UNKNOWN 0
+#define TGSI_BUFFER 0
#define TGSI_TEXTURE_1D 1
#define TGSI_TEXTURE_2D 2
#define TGSI_TEXTURE_3D 3