* location aliasing
when location aliasing, the aliases sharing the location must have the same underlying numerical type
(floating-point or integer) and the same auxiliary storage and interpolation qualification.
The following case, glslang need report error.
layout(vertices = 1) out;
layout (location = 1, component = 0) in double gohan[];
layout (location = 1, component = 2) in float goten[];
in vec4 vs_tcs[];
out vec4 tcs_tes[];
void main()
{
}
* Need consider the following case: location aliasing with different interpolation qualifier.
6 lines
264 B
Text
6 lines
264 B
Text
spv.ext.ShaderTileImage.typemismatch.frag
|
|
ERROR: 0:7: 'location' : the aliases sharing the location 0 must be the same basic type and interpolation qualification
|
|
ERROR: 1 compilation errors. No code generated.
|
|
|
|
|
|
SPIR-V is not generated for failed compile or link
|