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

@@ -176,7 +176,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 78
Capability Shader
@@ -270,7 +270,7 @@ gl_FragCoord origin is upper left
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)