Skip to content

Fix OSX bug with glyphs culling geometry shader

Michael Migliore requested to merge michael.migliore/vtk:osx-tf-bug into master

Apple driver does not fully respect GLSL specifications:

A default value for the stream can be set with:

layout(stream = 2) out;

All following out variables will use stream 2 unless they specify a stream. The default can be changed later. The initial default is 0.

Using this feature results in a compilation error of the shader.
The workaround is to specify the stream for each output variable.

2018-02-16

Edited by Michael Migliore

Merge request reports