SPV: The result type of OpArrayLength should be UINT

This commit is contained in:
Rex Xu
2018-03-02 17:09:23 +08:00
parent b5b5f918c6
commit e518772dc9
470 changed files with 590 additions and 589 deletions

View File

@@ -188,7 +188,7 @@ gl_FragCoord origin is upper left
0:? 'pos' (layout( location=0) flat in uint)
// Module Version 10000
// Generated by (magic number): 80004
// Generated by (magic number): 80005
// Id's are bound by 96
Capability Shader
@@ -308,7 +308,7 @@ gl_FragCoord origin is upper left
41: 15(bool) INotEqual 39 35
42: 37(ptr) AccessChain 18(mydata) 40
Store 42 41
44: 24(int) ArrayLength 23(sbuf) 0
44: 6(int) ArrayLength 23(sbuf) 0
Store 43(size) 44
Store 45(stride) 46
47: 6(int) Load 11(pos)