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:

committed by
Marge Bot

parent
dcbca3e3b3
commit
a42dc4ef5e
@@ -33,14 +33,15 @@
|
|||||||
#include "tgsi_info.h"
|
#include "tgsi_info.h"
|
||||||
#include "tgsi_iterate.h"
|
#include "tgsi_iterate.h"
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
DEBUG_GET_ONCE_BOOL_OPTION(print_sanity, "TGSI_PRINT_SANITY", false)
|
DEBUG_GET_ONCE_BOOL_OPTION(print_sanity, "TGSI_PRINT_SANITY", false)
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint file : 28;
|
uint32_t file : 28;
|
||||||
/* max 2 dimensions */
|
/* max 2 dimensions */
|
||||||
uint dimensions : 4;
|
uint32_t dimensions : 4;
|
||||||
uint indices[2];
|
uint indices[2];
|
||||||
} scan_register;
|
} scan_register;
|
||||||
|
|
||||||
|
@@ -61,7 +61,7 @@ struct tgsi_shader_info
|
|||||||
|
|
||||||
uint8_t processor;
|
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 */
|
uint file_count[TGSI_FILE_COUNT]; /**< number of declared registers */
|
||||||
int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */
|
int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */
|
||||||
int const_file_max[PIPE_MAX_CONSTANT_BUFFERS];
|
int const_file_max[PIPE_MAX_CONSTANT_BUFFERS];
|
||||||
|
Reference in New Issue
Block a user