removed useless varying in rhpassthrough.geom shader
This commit is contained in:
parent
6318e8c8f8
commit
0fc3d3336e
@ -2,9 +2,7 @@ layout(triangles) in;
|
|||||||
layout(triangle_strip, max_vertices=3) out;
|
layout(triangle_strip, max_vertices=3) out;
|
||||||
|
|
||||||
in int layer[3];
|
in int layer[3];
|
||||||
in vec2 uv_in[3];
|
|
||||||
flat out int slice;
|
flat out int slice;
|
||||||
out vec2 uv;
|
|
||||||
|
|
||||||
void main(void)
|
void main(void)
|
||||||
{
|
{
|
||||||
@ -12,7 +10,6 @@ void main(void)
|
|||||||
for(int i=0; i<3; i++)
|
for(int i=0; i<3; i++)
|
||||||
{
|
{
|
||||||
slice = layer[0];
|
slice = layer[0];
|
||||||
uv = uv_in[i];
|
|
||||||
gl_Position = gl_in[i].gl_Position;
|
gl_Position = gl_in[i].gl_Position;
|
||||||
EmitVertex();
|
EmitVertex();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user