summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_shader_tokens.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-02-11 13:26:08 +1000
committerIlia Mirkin <imirkin@alum.mit.edu>2014-04-07 01:06:18 -0400
commitbe5276ae7d24563301ae627b994f612069c32461 (patch)
tree5d54a4ffb578414643077a88c2a950b578eb9a75 /src/gallium/include/pipe/p_shader_tokens.h
parent5d0b3ec4ae4e468ee6d69bb6f036c06aae759dcc (diff)
downloadexternal_mesa3d-be5276ae7d24563301ae627b994f612069c32461.zip
external_mesa3d-be5276ae7d24563301ae627b994f612069c32461.tar.gz
external_mesa3d-be5276ae7d24563301ae627b994f612069c32461.tar.bz2
gallium: add support for LODQ opcodes.
This opcode provide support for GL_ARB_texture_query_lod, Signed-off-by: Dave Airlie <airlied@redhat.com> [imirkin: rebase, docs update] Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/include/pipe/p_shader_tokens.h')
-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 8fa6a0a..a2e649e 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -455,7 +455,9 @@ struct tgsi_property_data {
#define TGSI_OPCODE_TG4 182
-#define TGSI_OPCODE_LAST 183
+#define TGSI_OPCODE_LODQ 183
+
+#define TGSI_OPCODE_LAST 184
#define TGSI_SAT_NONE 0 /* do not saturate */
#define TGSI_SAT_ZERO_ONE 1 /* clamp to [0,1] */