Added gl_PerVertex out blocks to silence validation (Refs #277) [skip ci]
This commit is contained in:
parent
f6d384d444
commit
89cc457ccc
8 changed files with 19 additions and 4 deletions
Binary file not shown.
|
|
@ -21,6 +21,11 @@ layout (location = 2) out vec2 outUV;
|
||||||
layout (location = 3) out vec3 outViewVec;
|
layout (location = 3) out vec3 outViewVec;
|
||||||
layout (location = 4) out vec3 outLightVec;
|
layout (location = 4) out vec3 outLightVec;
|
||||||
|
|
||||||
|
out gl_PerVertex
|
||||||
|
{
|
||||||
|
vec4 gl_Position;
|
||||||
|
};
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
outNormal = inNormal;
|
outNormal = inNormal;
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -25,6 +25,11 @@ layout (location = 2) out vec3 outColor;
|
||||||
|
|
||||||
layout (location = 3) out vec4 outLightVec[lightCount];
|
layout (location = 3) out vec4 outLightVec[lightCount];
|
||||||
|
|
||||||
|
out gl_PerVertex
|
||||||
|
{
|
||||||
|
vec4 gl_Position;
|
||||||
|
};
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
outNormal = inNormal;
|
outNormal = inNormal;
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -22,6 +22,11 @@ layout (location = 2) out vec2 outUV;
|
||||||
layout (location = 3) out vec3 outViewVec;
|
layout (location = 3) out vec3 outViewVec;
|
||||||
layout (location = 4) out vec3 outLightVec;
|
layout (location = 4) out vec3 outLightVec;
|
||||||
|
|
||||||
|
out gl_PerVertex
|
||||||
|
{
|
||||||
|
vec4 gl_Position;
|
||||||
|
};
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
outNormal = inNormal;
|
outNormal = inNormal;
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue