summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-09-10 21:37:23 -0400
committerIlia Mirkin <[email protected]>2015-09-13 18:24:01 -0400
commitd173c5e77d239618e9609788e3d23ac9180a58a5 (patch)
tree97926d5f4f69b65ba2d0531ffaac7ec7a7a49087 /src/gallium/include/pipe
parentc4cf824658da283cf350fd6833d50dff9de4a1ad (diff)
tgsi: add a TXQS opcode to retrieve the number of texture samples
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-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 6e07b2c5c7c..b36e0a35b8d 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -402,6 +402,7 @@ struct tgsi_property_data {
#define TGSI_OPCODE_ENDLOOP 101
#define TGSI_OPCODE_ENDSUB 102
#define TGSI_OPCODE_TXQ_LZ 103 /* TXQ for mipmap level 0 */
+#define TGSI_OPCODE_TXQS 104
/* gap */
#define TGSI_OPCODE_NOP 107