Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>
#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;
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];