From 26bc983c8374fd98dc3b8f8fa273f3063e3ac249 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 30 Mar 2018 11:30:05 -0600 Subject: [PATCH] spirv: s/uint/unsigned/ to fix MSVC build Reviewed-by: Neil Roberts --- src/compiler/spirv/vtn_cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2