summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_shader_tokens.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-02-11 13:26:08 +1000
committerIlia Mirkin <[email protected]>2014-04-07 01:06:18 -0400
commitbe5276ae7d24563301ae627b994f612069c32461 (patch)
tree5d54a4ffb578414643077a88c2a950b578eb9a75 /src/gallium/include/pipe/p_shader_tokens.h
parent5d0b3ec4ae4e468ee6d69bb6f036c06aae759dcc (diff)
gallium: add support for LODQ opcodes.
This opcode provide support for GL_ARB_texture_query_lod, Signed-off-by: Dave Airlie <[email protected]> [imirkin: rebase, docs update] Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
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 8fa6a0afaeb..a2e649ec439 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] */