Lines Matching defs:context

720 	void	shadeFragments	(rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const;
755 void FragmentShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const
766 const Vec2 vColor = rr::readVarying<float>(packet, context, 0, fragNdx).xy();
786 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
797 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
808 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
1185 DrawBuffersIndexedTest (Context& context,
1201 DrawBuffersIndexedTest::DrawBuffersIndexedTest (Context& context,
1207 : TestCase (context, name.c_str(), description.c_str())
1323 TextureFormat getRandomFormat (de::Random& rng, Context& context)
1325 const bool supportsES32orGL45 = checkES32orGL45Support(context);
1372 void genRandomTest (de::Random& rng, BlendState& preCommon, BlendState& postCommon, vector<DrawBufferInfo>& drawBuffers, int maxDrawBufferCount, Context& context)
1381 const TextureFormat format (getRandomFormat(rng, context));
1427 MaxDrawBuffersIndexedTest::MaxDrawBuffersIndexedTest (Context& context, int seed)
1428 : TestCase (context, de::toString(seed).c_str(), de::toString(seed).c_str())
1471 ImplMaxDrawBuffersIndexedTest::ImplMaxDrawBuffersIndexedTest (Context& context, int seed)
1472 : TestCase (context, de::toString(seed).c_str(), de::toString(seed).c_str())
1516 TestCase* createDiffTest (Context& context, PrePost prepost, const char* name, const BlendState& commonState, const BlendState& drawBufferState)
1531 return new DrawBuffersIndexedTest(context, preState, emptyState, drawBuffers, name, name);
1544 return new DrawBuffersIndexedTest(context, preState, commonState, drawBuffers, name, name);
1553 TestCase* createAdvancedEqDiffTest (Context& context, PrePost prepost, const char* name, const BlendState& commonState, const BlendState& drawBufferState)
1567 return new DrawBuffersIndexedTest(context, preState, emptyState, drawBuffers, name, name);
1579 return new DrawBuffersIndexedTest(context, preState, commonState, drawBuffers, name, name);
1659 TestCaseGroup* createDrawBuffersIndexedTests (Context& context)
1662 TestCaseGroup* const group = new TestCaseGroup(context, "draw_buffers_indexed", "Test for indexed draw buffers. GL_EXT_draw_buffers_indexed.");
1664 TestCaseGroup* const preGroup = new TestCaseGroup(context, "overwrite_common", "Set common state and overwrite it with draw buffer blend state.");
1665 TestCaseGroup* const postGroup = new TestCaseGroup(context, "overwrite_indexed", "Set indexed blend state and overwrite it with common state.");
1666 TestCaseGroup* const randomGroup = new TestCaseGroup(context, "random", "Random indexed blend state tests.");
1667 TestCaseGroup* const maxGroup = new TestCaseGroup(context, "max_required_draw_buffers", "Random tests using minimum maximum number of draw buffers.");
1668 TestCaseGroup* const maxImplGroup = new TestCaseGroup(context, "max_implementation_draw_buffers", "Random tests using maximum number of draw buffers reported by implementation.");