From: Brian Paul Date: Fri, 30 Mar 2018 17:30:05 +0000 (-0600) Subject: spirv: s/uint/unsigned/ to fix MSVC build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26bc983c8374fd98dc3b8f8fa273f3063e3ac249;p=mesa.git spirv: s/uint/unsigned/ to fix MSVC build Reviewed-by: Neil Roberts --- 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) {