SPV: Generate OpArrayLength with no signedness.

This commit is contained in:
John Kessenich
2018-11-27 09:19:10 -07:00
parent d41a8dca0c
commit e045c23a34
7 changed files with 124 additions and 140 deletions

View File

@@ -1,4 +1,8 @@
spv.310.comp
error: SPIRV-Tools Validation Errors
error: OpStore Pointer <id> '62's type does not match Object <id> '60's type.
OpStore %62 %60
// Module Version 10000
// Generated by (magic number): 80007
// Id's are bound by 71
@@ -124,7 +128,7 @@ spv.310.comp
58: 22(fvec4) CompositeConstruct 57 57 57 57
59: 29(ptr) AccessChain 50(outnames) 26 56
Store 59 58
60: 15(int) ArrayLength 14(outbname) 3
60: 6(int) ArrayLength 14(outbname) 3
62: 61(ptr) AccessChain 50(outnames) 16
Store 62 60
MemoryBarrier 65 8