Home | History | Annotate | Download | only in functional

Lines Matching refs:primitiveNdx

1290 			const int primitiveNdx = (m_instanced) ? (invocationID) : ((int)vertex->outputs[0].get<float>().x());
1292 DE_ASSERT(primitiveNdx >= 0);
1293 DE_ASSERT(primitiveNdx < 4);
1295 emitCount = m_emitCount.value.i4[primitiveNdx];
1296 color = colors[primitiveNdx];
1300 const int primitiveNdx = (m_instanced) ? (invocationID) : ((int)vertex->outputs[0].get<float>().x());
1301 const tcu::Vec2 texCoord = tcu::Vec2(1.0f / 8.0f + (float)primitiveNdx / 4.0f, 0.5f);
1304 DE_ASSERT(primitiveNdx >= 0);
1305 DE_ASSERT(primitiveNdx < 4);
1307 color = colors[primitiveNdx];
1387 buf << " mediump int primitiveNdx = " << ((instanced) ? ("gl_InvocationID") : ("int(v_geom_vertexNdx[0].x)")) << ";\n"
1388 " mediump int emitCount = u_emitCount[primitiveNdx];\n";
1392 buf << " highp float primitiveNdx = " << ((instanced) ? ("float(gl_InvocationID)") : ("v_geom_vertexNdx[0].x")) << ";\n"
1393 " highp vec2 texCoord = vec2(1.0 / 8.0 + primitiveNdx / 4.0, 0.5);\n"
1423 " highp vec4 color = colors[int(primitiveNdx)];\n";