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>
This commit is contained in:
Dave Airlie
2014-02-11 13:26:08 +10:00
committed by Ilia Mirkin
parent 5d0b3ec4ae
commit be5276ae7d
17 changed files with 32 additions and 2 deletions

View File

@@ -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] */