gallium: add CONSTBUF type to tgsi_file_type

This will be use to distinguish between load types when using
the TGSI_OPCODE_LOAD opcode.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Timothy Arceri 2017-08-17 16:50:01 +10:00
parent b6f6ead198
commit 6fa60b5e40
2 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ static const char *tgsi_file_names[] =
"SVIEW",
"BUFFER",
"MEMORY",
"CONSTBUF",
};
const char *tgsi_semantic_names[TGSI_SEMANTIC_COUNT] =

View File

@ -74,6 +74,7 @@ enum tgsi_file_type {
TGSI_FILE_SAMPLER_VIEW,
TGSI_FILE_BUFFER,
TGSI_FILE_MEMORY,
TGSI_FILE_CONSTBUF,
TGSI_FILE_COUNT, /**< how many TGSI_FILE_ types */
};