Front-end: Fix issue #409, check for implicitly-sized binding arrays.
This commit is contained in:
parent
e15509e450
commit
414f735443
5 changed files with 15 additions and 5 deletions
|
|
@ -156,4 +156,6 @@ void qlod()
|
|||
|
||||
levels = textureQueryLevels(samp1D); // ERROR, not until 430
|
||||
levels = textureQueryLevels(samp1Ds); // ERROR, not until 430
|
||||
}
|
||||
}
|
||||
|
||||
layout(binding=0) writeonly uniform image1D badArray[];
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ ERROR: 0:157: 'textureQueryLevels' : no matching overloaded function found
|
|||
ERROR: 0:157: 'assign' : cannot convert from 'const float' to 'temp int'
|
||||
ERROR: 0:158: 'textureQueryLevels' : no matching overloaded function found
|
||||
ERROR: 0:158: 'assign' : cannot convert from 'const float' to 'temp int'
|
||||
WARNING: 0:161: '[]' : assuming array size of one for compile-time checking of binding numbers for implicitly-sized array
|
||||
ERROR: 50 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
|
@ -299,6 +300,7 @@ ERROR: node is still EOpNull!
|
|||
0:? 'offcheckI' (layout(column_major shared ) uniform block{layout(column_major shared offset=16 ) uniform int foo})
|
||||
0:? 'samp1D' (uniform sampler1D)
|
||||
0:? 'samp1Ds' (uniform sampler1DShadow)
|
||||
0:? 'badArray' (layout(binding=0 ) writeonly uniform implicitly-sized array of image1D)
|
||||
0:? 'gl_VertexID' (gl_VertexId int VertexId)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId int InstanceId)
|
||||
|
||||
|
|
@ -551,6 +553,7 @@ ERROR: node is still EOpNull!
|
|||
0:? 'offcheckI' (layout(column_major shared ) uniform block{layout(column_major shared offset=16 ) uniform int foo})
|
||||
0:? 'samp1D' (uniform sampler1D)
|
||||
0:? 'samp1Ds' (uniform sampler1DShadow)
|
||||
0:? 'badArray' (layout(binding=0 ) writeonly uniform 1-element array of image1D)
|
||||
0:? 'gl_VertexID' (gl_VertexId int VertexId)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId int InstanceId)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue