tgsi: add a TXQS opcode to retrieve the number of texture samples

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
Ilia Mirkin
2015-09-10 21:37:23 -04:00
parent c4cf824658
commit d173c5e77d
3 changed files with 14 additions and 2 deletions

View File

@@ -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