summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_cfg.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-03-30 11:30:05 -0600
committerBrian Paul <[email protected]>2018-03-30 14:33:33 -0600
commit26bc983c8374fd98dc3b8f8fa273f3063e3ac249 (patch)
treebe3cdb1522cbad6d272654a9ae14e4b950a81359 /src/compiler/spirv/vtn_cfg.c
parentf3164c2ed96a119c73f16c4703bf5ad9feff1416 (diff)
spirv: s/uint/unsigned/ to fix MSVC build
Reviewed-by: Neil Roberts <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_cfg.c')
-rw-r--r--src/compiler/spirv/vtn_cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/vtn_cfg.c b/src/compiler/spirv/vtn_cfg.c
index 3d5de378ac9..e7d2f9ea614 100644
--- a/src/compiler/spirv/vtn_cfg.c
+++ b/src/compiler/spirv/vtn_cfg.c
@@ -513,7 +513,7 @@ vtn_cfg_walk_blocks(struct vtn_builder *b, struct list_head *cf_list,
"Selector of OpSelect must have a type of OpTypeInt");
bool is_default = true;
- const uint bitsize = nir_alu_type_get_type_size(cond_type);
+ const unsigned bitsize = nir_alu_type_get_type_size(cond_type);
for (const uint32_t *w = block->branch + 2; w < branch_end;) {
uint64_t literal = 0;
if (!is_default) {