• Home
  • Raw
  • Download

Lines Matching refs:rr

711 			class VtxShader : public rr::VertexShader  in runCase()
715 : rr::VertexShader(2, 1) in runCase()
717 m_inputs[0].type = rr::GENERICVECTYPE_FLOAT; in runCase()
718 m_inputs[1].type = rr::GENERICVECTYPE_FLOAT; in runCase()
719 m_outputs[0].type = rr::GENERICVECTYPE_FLOAT; in runCase()
722 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int nu… in runCase()
726rr::readVertexAttrib(packets[packetNdx]->position, inputs[0], packets[packetNdx]->instanceNdx, pac… in runCase()
727 …packets[packetNdx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[packetNdx]->instance… in runCase()
732 class FragShader : public rr::FragmentShader in runCase()
736 : rr::FragmentShader(1, 1) in runCase()
738 m_inputs[0].type = rr::GENERICVECTYPE_FLOAT; in runCase()
739 m_outputs[0].type = rr::GENERICVECTYPE_FLOAT; in runCase()
742 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingC… in runCase()
746 for (int fragNdx = 0; fragNdx < rr::NUM_FRAGMENTS_PER_PACKET; fragNdx++) in runCase()
748 … const tcu::Vec4 interp = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in runCase()
749 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, interp); in runCase()
755 const rr::Program program (&vtxShader, &fragShader); in runCase()
757 …const rr::MultisamplePixelBufferAccess colorAccess = rr::MultisamplePixelBufferAccess::fromMultis… in runCase()
758 …const rr::MultisamplePixelBufferAccess dsAccess = rr::MultisamplePixelBufferAccess::fromMultisamp… in runCase()
759 const rr::RenderTarget renderTarget (colorAccess, dsAccess, dsAccess); in runCase()
760 const rr::VertexAttrib vertexAttribs[] = in runCase()
762 rr::VertexAttrib(rr::VERTEXATTRIBTYPE_FLOAT, 4, 0, 0, subCase.vtx), in runCase()
763 rr::VertexAttrib(subCase.varying) in runCase()
765 rr::ViewportState viewport (colorAccess); in runCase()
766 rr::RenderState state (viewport); in runCase()
767 …const rr::DrawCommand drawCmd (state, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttrib… in runCase()
768 const rr::Renderer renderer; in runCase()
774 state.fragOps.depthFunc = rr::TESTFUNC_ALWAYS; in runCase()
776 state.fragOps.stencilStates[rr::FACETYPE_BACK].func = rr::TESTFUNC_ALWAYS; in runCase()
777 state.fragOps.stencilStates[rr::FACETYPE_BACK].dpPass = rr::STENCILOP_INCR; in runCase()
778 …state.fragOps.stencilStates[rr::FACETYPE_FRONT] = state.fragOps.stencilStates[rr::FACETYPE_BACK]; in runCase()
798rr::resolveMultisampleBuffer(resolvedColor.getAccess(), rr::MultisampleConstPixelBufferAccess::fro… in runCase()
799rr::resolveMultisampleBuffer(resolvedDepthStencil.getAccess(), rr::MultisampleConstPixelBufferAcce… in runCase()