• Home
  • Raw
  • Download

Lines Matching refs:outputNdx

488 void flatshadePrimitiveVertices (pa::Triangle& target, size_t outputNdx)  in flatshadePrimitiveVertices()  argument
490 const rr::GenericVec4 flatValue = target.getProvokingVertex()->outputs[outputNdx]; in flatshadePrimitiveVertices()
491 target.v0->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
492 target.v1->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
493 target.v2->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
496 void flatshadePrimitiveVertices (pa::Line& target, size_t outputNdx) in flatshadePrimitiveVertices() argument
498 const rr::GenericVec4 flatValue = target.getProvokingVertex()->outputs[outputNdx]; in flatshadePrimitiveVertices()
499 target.v0->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
500 target.v1->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
503 void flatshadePrimitiveVertices (pa::Point& target, size_t outputNdx) in flatshadePrimitiveVertices() argument
506 DE_UNREF(outputNdx); in flatshadePrimitiveVertices()
670 for (size_t outputNdx = 0; outputNdx < fragInputs.size(); ++outputNdx) in clipPrimitives() local
672 if (fragInputs[outputNdx].type == GENERICVECTYPE_FLOAT) in clipPrimitives()
674 const tcu::Vec4 out0 = list[inputTriangleNdx].v0->outputs[outputNdx].get<float>(); in clipPrimitives()
675 const tcu::Vec4 out1 = list[inputTriangleNdx].v1->outputs[outputNdx].get<float>(); in clipPrimitives()
676 const tcu::Vec4 out2 = list[inputTriangleNdx].v2->outputs[outputNdx].get<float>(); in clipPrimitives()
678 p0->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[0].weight[0] * out0 in clipPrimitives()
682 p1->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[1].weight[0] * out0 in clipPrimitives()
686 p2->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[2].weight[0] * out0 in clipPrimitives()
693 p0->outputs[outputNdx] = list[inputTriangleNdx].getProvokingVertex()->outputs[outputNdx]; in clipPrimitives()
694 p1->outputs[outputNdx] = list[inputTriangleNdx].getProvokingVertex()->outputs[outputNdx]; in clipPrimitives()
695 p2->outputs[outputNdx] = list[inputTriangleNdx].getProvokingVertex()->outputs[outputNdx]; in clipPrimitives()
760 for (size_t outputNdx = 0; outputNdx < fragInputs.size(); ++outputNdx) in clipPrimitives() local
763 if (fragInputs[outputNdx].type == GENERICVECTYPE_FLOAT) in clipPrimitives()
765 const tcu::Vec4 a0 = l.v0->outputs[outputNdx].get<float>(); in clipPrimitives()
766 const tcu::Vec4 a1 = l.v1->outputs[outputNdx].get<float>(); in clipPrimitives()
768 l.v0->outputs[outputNdx] = tcu::mix(a0, a1, (float)t0); in clipPrimitives()
769 l.v1->outputs[outputNdx] = tcu::mix(a1, a0, (float)t1); in clipPrimitives()
880 for (size_t outputNdx = 0; outputNdx < vpalloc.getNumVertexOutputs(); ++outputNdx) in makeSharedVerticeDistinct() local
881 newPacket->outputs[outputNdx] = packet->outputs[outputNdx]; in makeSharedVerticeDistinct()
1077 for (size_t outputNdx = 0; outputNdx < numOutputs; ++outputNdx) in writeFragmentPackets() local
1080 …const rr::FragmentOperationState& fragOpsState = (outputNdx == numOutputs-1) ? (state.fragOps) : (… in writeFragmentPackets()
1093 fragment.value = fragmentOutputArray[(packetNdx*4 + fragNdx) * numOutputs + outputNdx]; in writeFragmentPackets()
1094 fragment.value1 = fragmentOutputArraySrc1[(packetNdx*4 + fragNdx) * numOutputs + outputNdx]; in writeFragmentPackets()
1099 …fragProcessor.render(renderTarget.getColorBuffer((int)outputNdx), renderTarget.getDepthBuffer(), r… in writeFragmentPackets()
1584 for (int outputNdx = 0; outputNdx < command.renderTarget.getNumColorBuffers(); ++outputNdx) in isValidCommand() local
1586 …d.renderTarget.getColorBuffer(0)) != getBufferSize(command.renderTarget.getColorBuffer(outputNdx))) in isValidCommand()
1589 …if (command.renderTarget.getNumSamples() != command.renderTarget.getColorBuffer(outputNdx).getNumS… in isValidCommand()
1604 …for (size_t outputNdx = 0; outputNdx < command.program.vertexShader->getOutputs().size(); ++output… in isValidCommand() local
1606 if (!command.program.vertexShader->getOutputs()[outputNdx].flatshade && in isValidCommand()
1607 (command.program.vertexShader->getOutputs()[outputNdx].type == GENERICVECTYPE_INT32 || in isValidCommand()
1608 command.program.vertexShader->getOutputs()[outputNdx].type == GENERICVECTYPE_UINT32)) in isValidCommand()
1612 …for (size_t outputNdx = 0; outputNdx < command.program.geometryShader->getOutputs().size(); ++outp… in isValidCommand() local
1614 if (!command.program.geometryShader->getOutputs()[outputNdx].flatshade && in isValidCommand()
1615 (command.program.geometryShader->getOutputs()[outputNdx].type == GENERICVECTYPE_INT32 || in isValidCommand()
1616 command.program.geometryShader->getOutputs()[outputNdx].type == GENERICVECTYPE_UINT32)) in isValidCommand()