SPV: Generate OpArrayLength with no signedness.
This commit is contained in:
@@ -175,10 +175,6 @@ gl_FragCoord origin is upper left
|
||||
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'pos' (layout( location=0) flat in uint)
|
||||
|
||||
error: SPIRV-Tools Validation Errors
|
||||
error: OpStore Pointer <id> '26[size]'s type does not match Object <id> '33's type.
|
||||
OpStore %size %33
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80007
|
||||
// Id's are bound by 78
|
||||
@@ -276,7 +272,7 @@ error: OpStore Pointer <id> '26[size]'s type does not match Object <id> '33's ty
|
||||
22: 6(int) IAdd 20 21
|
||||
25: 24(ptr) AccessChain 17(sbuf2) 19 22
|
||||
Store 25 23
|
||||
33: 18(int) ArrayLength 32(sbuf) 0
|
||||
33: 6(int) ArrayLength 32(sbuf) 0
|
||||
Store 26(size) 33
|
||||
Store 34(stride) 35
|
||||
36: 6(int) Load 11(pos)
|
||||
|
||||
Reference in New Issue
Block a user