Home | History | Annotate | Download | only in functional

Lines Matching refs:tessLevel

2133 	std::string			getTessellationControlSource	(int tessLevel);
2134 std::string getTessellationEvaluationSource (int tessLevel);
2135 std::string getGeometryShaderSource (int numPrimitives, int numInstances, int tessLevel);
2582 std::string GridRenderCase::getTessellationControlSource (int tessLevel)
2593 " gl_TessLevelOuter[0] = " << tessLevel << ".0;\n"
2594 " gl_TessLevelOuter[1] = " << tessLevel << ".0;\n"
2595 " gl_TessLevelOuter[2] = " << tessLevel << ".0;\n"
2596 " gl_TessLevelOuter[3] = " << tessLevel << ".0;\n"
2597 " gl_TessLevelInner[0] = " << tessLevel << ".0;\n"
2598 " gl_TessLevelInner[1] = " << tessLevel << ".0;\n"
2604 std::string GridRenderCase::getTessellationEvaluationSource (int tessLevel)
2626 " v_tessellationGridPosition = ivec2(round(gl_TessCoord.xy * float(" << tessLevel << ")));\n"
2632 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances, int tessLevel)
2674 " ivec2 dstGridSize = ivec2(" << tessLevel << " * " << numPrimitives << ", 2 * " << tessLevel << " * " << numInstances << ");\n"
2675 " ivec2 dstGridNdx = ivec2(" << tessLevel << " * ndx + gridPosition.x, " << tessLevel << " * inputTriangleNdx + 2 * gridPosition.y + ndx * 127) % dstGridSize;\n"
2713 " ivec2 dstGridSize = ivec2(" << tessLevel << " * " << numPrimitives << ", " << tessLevel << ");\n"
2754 " ivec2 dstSliceNdx = ivec2(7 * srcSliceNdx.x, 127 * srcSliceNdx.y) % ivec2(" << tessLevel << ", " << tessLevel << " * " << (numInstances*2) << ");\n"
2758 " outputSliceArea.x = float(dstSliceNdx.x) / float(" << tessLevel << ") * 2.0 - 1.0 - gapOffset;\n"
2759 " outputSliceArea.y = float(dstSliceNdx.y) / float(" << (tessLevel * numInstances * 2) << ") * 2.0 - 1.0 - gapOffset;\n"
2760 " outputSliceArea.z = float(dstSliceNdx.x+1) / float(" << tessLevel << ") * 2.0 - 1.0 + gapOffset;\n"
2761 " outputSliceArea.w = float(dstSliceNdx.y+1) / float(" << (tessLevel * numInstances * 2) << ") * 2.0 - 1.0 + gapOffset;\n";