Lines Matching refs:numInstances
2108 std::string getGeometryShaderSource (int numPrimitives, int numInstances, int tessLevel);
2600 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances, int tessLevel)
2606 "layout(triangles, invocations=" << numInstances << ") in;\n"
2642 " ivec2 dstGridSize = ivec2(" << tessLevel << " * " << numPrimitives << ", 2 * " << tessLevel << " * " << numInstances << ");\n"
2675 DE_ASSERT(m_numLayers == numInstances * 2);
2721 " ivec2 srcSliceNdx = ivec2(gridPosition.x, gridPosition.y * " << (numInstances
2722 " ivec2 dstSliceNdx = ivec2(7 * srcSliceNdx.x, 127 * srcSliceNdx.y) % ivec2(" << tessLevel << ", " << tessLevel << " * " << (numInstances*2) << ");\n"
2727 " outputSliceArea.y = float(dstSliceNdx.y) / float(" << (tessLevel * numInstances * 2) << ") * 2.0 - 1.0 - gapOffset;\n"
2729 " outputSliceArea.w = float(dstSliceNdx.y+1) / float(" << (tessLevel * numInstances * 2) << ") * 2.0 - 1.0 + gapOffset;\n";
2737 " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInstances << ");\n"