tgsi: uint -> uint32_t

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>
This commit is contained in:
Erik Faye-Lund
2023-06-26 10:25:50 +02:00
committed by Marge Bot
parent dcbca3e3b3
commit a42dc4ef5e
2 changed files with 4 additions and 3 deletions

View File

@@ -33,14 +33,15 @@
#include "tgsi_info.h"
#include "tgsi_iterate.h"
#include <stdint.h>
DEBUG_GET_ONCE_BOOL_OPTION(print_sanity, "TGSI_PRINT_SANITY", false)
typedef struct {
uint file : 28;
uint32_t file : 28;
/* max 2 dimensions */
uint dimensions : 4;
uint32_t dimensions : 4;
uint indices[2];
} scan_register;

View File

@@ -61,7 +61,7 @@ struct tgsi_shader_info
uint8_t processor;
uint file_mask[TGSI_FILE_COUNT]; /**< bitmask of declared registers */
uint32_t file_mask[TGSI_FILE_COUNT]; /**< bitmask of declared registers */
uint file_count[TGSI_FILE_COUNT]; /**< number of declared registers */
int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */
int const_file_max[PIPE_MAX_CONSTANT_BUFFERS];