Mesa (master): spirv: s/uint/unsigned/ to fix MSVC build
Brian Paul
brianp at kemper.freedesktop.org
Fri Mar 30 20:35:36 UTC 2018
Module: Mesa
Branch: master
Commit: 26bc983c8374fd98dc3b8f8fa273f3063e3ac249
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=26bc983c8374fd98dc3b8f8fa273f3063e3ac249
Author: Brian Paul <brianp at vmware.com>
Date: Fri Mar 30 11:30:05 2018 -0600
spirv: s/uint/unsigned/ to fix MSVC build
Reviewed-by: Neil Roberts <nroberts at igalia.com>
---
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 3d5de378ac..e7d2f9ea61 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) {
More information about the mesa-commit
mailing list