Implement cull distances for GLSL 4.5 (but not as an extension yet, just a 4.5 feature).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27714 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
10
Test/450.vert
Normal file
10
Test/450.vert
Normal file
@@ -0,0 +1,10 @@
|
||||
#version 450 core
|
||||
|
||||
out gl_PerVertex {
|
||||
float gl_CullDistance[3];
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_CullDistance[2] = 4.5;
|
||||
}
|
||||
Reference in New Issue
Block a user