Skip to content
Snippets Groups Projects
Commit 3edf1f1b authored by Ken Martin's avatar Ken Martin
Browse files

Fixes for failing tests

parent 6d167984
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
//VTK::PositionVC::Dec
// primitiveID
//VTK::PrimID::Impl
//VTK::PrimID::Dec
// optional color passed in from the vertex shader, vertexColor
//VTK::Color::Dec
......
......@@ -171,11 +171,11 @@ void vtkOpenGLPolyDataMapper2D::BuildShaders(
"//VTK::Color::Impl",
"fcolorVSOutput = diffuseColor;");
vtkShaderProgram::Substitute(GSSource,
"//VTK::TCoord::Dec",
"//VTK::Color::Dec",
"in vec4 fcolorVSOutput[];\n"
"out vec4 fcolorGSOutput;");
vtkShaderProgram::Substitute(GSSource,
"//VTK::TCoord::Impl",
"//VTK::Color::Impl",
"fcolorGSOutput = fcolorVSOutput[i];");
vtkShaderProgram::Substitute(FSSource,
"//VTK::Color::Dec",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment