450.tese 705 B

12345678910111213141516171819202122
  1. #version 450 core
  2. in gl_PerVertex {
  3. float gl_CullDistance[3];
  4. } gl_in[gl_MaxPatchVertices];
  5. out gl_PerVertex {
  6. float gl_CullDistance[3];
  7. };
  8. void main()
  9. {
  10. gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];
  11. }
  12. layout(equal_spacing) in float f1[]; // ERROR, must be standalone
  13. layout(fractional_even_spacing) in float f2[]; // ERROR, must be standalone
  14. layout(fractional_odd_spacing) in float f3[]; // ERROR, must be standalone
  15. layout(cw) in float f4[]; // ERROR, must be standalone
  16. layout(ccw) in float f5[]; // ERROR, must be standalone
  17. layout(point_mode) in float f6[]; // ERROR, must be standalone