Lines Matching defs:mode

93 bool isDepthFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode)
111 DE_ASSERT(mode == tcu::Sampler::MODE_DEPTH);
114 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_DEPTH)
121 bool isStencilFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode)
139 DE_ASSERT(mode == tcu::Sampler::MODE_STENCIL);
142 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_STENCIL)
149 tcu::TextureChannelClass getFormatChannelClass (deUint32 format, tcu::Sampler::DepthStencilMode mode)
165 const tcu::TextureFormat effectiveFmt = tcu::getEffectiveDepthStencilTextureFormat(fmt, mode);
191 // generate data that is valid in LDR mode
466 bool isCoreFilterableFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode)
471 const bool isDepth = isDepthFormat(format, mode);
472 const bool isStencil = isStencilFormat(format, mode);
528 tcu::Sampler::DepthStencilMode mode,
620 tcu::Sampler::DepthStencilMode mode,
628 , m_sampleMode (mode)
629 , m_channelClass (getFormatChannelClass(texFormat, mode))
640 // mode must be set for combined depth-stencil formats
641 DE_ASSERT(m_channelClass != tcu::TEXTURECHANNELCLASS_LAST || mode != tcu::Sampler::MODE_LAST);
745 << "Wrap mode: s = " << glu::getRepeatModeStr(config.sWrapMode)
750 m_testCtx.getLog() << tcu::TestLog::Message << "Depth stencil texture mode is DEPTH_COMPONENT" << tcu::TestLog::EndMessage;
752 m_testCtx.getLog() << tcu::TestLog::Message << "Depth stencil texture mode is STENCIL_INDEX" << tcu::TestLog::EndMessage;
757 << "Texture mode is COMPARE_REF_TO_TEXTURE, mode = " << glu::getCompareFuncStr(config.compareMode) << "\n"
1274 // sampler type must match compare mode
1358 tcu::Sampler::DepthStencilMode mode,
1381 tcu::Sampler::DepthStencilMode mode,
1390 mode,
1485 tcu::Sampler::DepthStencilMode mode,
1502 tcu::Sampler::DepthStencilMode mode,
1504 : TextureBorderClampTest(context, name, description, texFormat, mode, TextureBorderClampTest::STATE_TEXTURE_PARAM, 8, 32, SAMPLE_FILTER)
1676 tcu::Sampler::DepthStencilMode mode,
1700 tcu::Sampler::DepthStencilMode mode,
1710 mode,
2159 << "Wrap mode: s = " << glu::getRepeatModeStr(m_sWrap)
2321 tcu::Sampler::DepthStencilMode mode;
2404 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode;
2452 tcu::Sampler::DepthStencilMode mode;
2478 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode;
2497 tcu::Sampler::DepthStencilMode mode;
2517 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode;
2547 tcu::Sampler::DepthStencilMode mode;
2599 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode;
2688 tcu::TestCaseGroup* const compareGroup = new tcu::TestCaseGroup(m_testCtx, "depth_compare_mode", "Tests depth compare mode");
2725 tcu::Sampler::DepthStencilMode mode;
2757 formats[formatNdx].mode));