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:
parent
b6f6ead198
commit
6fa60b5e40
|
@ -57,6 +57,7 @@ static const char *tgsi_file_names[] =
|
|||
"SVIEW",
|
||||
"BUFFER",
|
||||
"MEMORY",
|
||||
"CONSTBUF",
|
||||
};
|
||||
|
||||
const char *tgsi_semantic_names[TGSI_SEMANTIC_COUNT] =
|
||||
|
|
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue