projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3164c2
)
spirv: s/uint/unsigned/ to fix MSVC build
author
Brian Paul
<brianp@vmware.com>
Fri, 30 Mar 2018 17:30:05 +0000
(11:30 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 30 Mar 2018 20:33:33 +0000
(14:33 -0600)
Reviewed-by: Neil Roberts <nroberts@igalia.com>
src/compiler/spirv/vtn_cfg.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/vtn_cfg.c
b/src/compiler/spirv/vtn_cfg.c
index
3d5de37
..
e7d2f9e
100644
(file)
--- 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 u
int
bitsize = nir_alu_type_get_type_size(cond_type);
+ const u
nsigned
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) {