gallium/mesa: Change type of tgsi_shader_info::processor st_init_limits::sh to mesa_shader_stage
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Qiang Yu <yuq825@gmail.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36698>
This commit is contained in:
@@ -57,7 +57,7 @@ struct tgsi_shader_info
|
||||
uint8_t num_system_values;
|
||||
uint8_t system_value_semantic_name[PIPE_MAX_SHADER_INPUTS];
|
||||
|
||||
uint8_t processor;
|
||||
mesa_shader_stage processor;
|
||||
|
||||
uint32_t file_mask[TGSI_FILE_COUNT]; /**< bitmask of declared registers */
|
||||
unsigned file_count[TGSI_FILE_COUNT]; /**< number of declared registers */
|
||||
|
||||
@@ -111,7 +111,7 @@ void st_init_limits(struct pipe_screen *screen,
|
||||
struct gl_constants *c, struct gl_extensions *extensions,
|
||||
gl_api api)
|
||||
{
|
||||
unsigned sh;
|
||||
mesa_shader_stage sh;
|
||||
bool can_ubo = true;
|
||||
int temp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user