Browse Source

Shaders: minor cleanup.

pull/601/head
Vladimír Vondruš 3 years ago
parent
commit
b3e6bee913
  1. 8
      src/Magnum/Shaders/Flat.frag

8
src/Magnum/Shaders/Flat.frag

@ -165,6 +165,10 @@ in lowp vec4 interpolatedVertexColor;
flat in highp uint interpolatedInstanceObjectId; flat in highp uint interpolatedInstanceObjectId;
#endif #endif
#ifdef MULTI_DRAW
flat in highp uint drawId;
#endif
/* Outputs */ /* Outputs */
#ifdef NEW_GLSL #ifdef NEW_GLSL
@ -181,10 +185,6 @@ layout(location = OBJECT_ID_OUTPUT_ATTRIBUTE_LOCATION)
out highp uint fragmentObjectId; out highp uint fragmentObjectId;
#endif #endif
#ifdef MULTI_DRAW
flat in highp uint drawId;
#endif
void main() { void main() {
#ifdef UNIFORM_BUFFERS #ifdef UNIFORM_BUFFERS
#ifdef OBJECT_ID #ifdef OBJECT_ID

Loading…
Cancel
Save