• Home
  • Raw
  • Download

Lines Matching refs:Sampler

93 bool isDepthFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode)  in isDepthFormat()
111 DE_ASSERT(mode == tcu::Sampler::MODE_DEPTH); in isDepthFormat()
114 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_DEPTH) in isDepthFormat()
121 bool isStencilFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isStencilFormat()
139 DE_ASSERT(mode == tcu::Sampler::MODE_STENCIL); in isStencilFormat()
142 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_STENCIL) in isStencilFormat()
149 tcu::TextureChannelClass getFormatChannelClass (deUint32 format, tcu::Sampler::DepthStencilMode mod… in getFormatChannelClass()
288 …if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler:… in genDummyTexture()
294 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH)) in genDummyTexture()
297 …cu::getEffectiveDepthStencilAccess(texture->getRefTexture().getLevel(0), tcu::Sampler::MODE_DEPTH); in genDummyTexture()
301 if (isStencilFormat(texFormat, tcu::Sampler::MODE_STENCIL)) in genDummyTexture()
304 …::getEffectiveDepthStencilAccess(texture->getRefTexture().getLevel(0), tcu::Sampler::MODE_STENCIL); in genDummyTexture()
466 bool isCoreFilterableFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isCoreFilterableFormat()
528 tcu::Sampler::DepthStencilMode mode,
592 const tcu::Sampler::DepthStencilMode m_sampleMode;
620 tcu::Sampler::DepthStencilMode mode, in TextureBorderClampTest()
641 DE_ASSERT(m_channelClass != tcu::TEXTURECHANNELCLASS_LAST || mode != tcu::Sampler::MODE_LAST); in TextureBorderClampTest()
748 if (m_sampleMode == tcu::Sampler::MODE_DEPTH) in logParams()
750 else if (m_sampleMode == tcu::Sampler::MODE_STENCIL) in logParams()
769 de::MovePtr<glu::Sampler> sampler; in renderTo()
777 if (m_sampleMode == tcu::Sampler::MODE_DEPTH) in renderTo()
779 else if (m_sampleMode == tcu::Sampler::MODE_STENCIL) in renderTo()
833 sampler = de::MovePtr<glu::Sampler>(new glu::Sampler(m_context.getRenderContext())); in renderTo()
924 if (samplerParams.sampler.compare == tcu::Sampler::COMPAREMODE_NONE) in verifyImage()
927 … = samplerParams.sampler.minFilter == tcu::Sampler::NEAREST || samplerParams.sampler.minFilter == … in verifyImage()
928 const bool isNearestMagFilter = samplerParams.sampler.magFilter == tcu::Sampler::NEAREST; in verifyImage()
1261 …refParams.sampler.compare = (!m_useShadowSampler) ? (tcu::Sampler::COMPAREMODE_NONE) : (glu::map… in genSamplerParams()
1271 DE_ASSERT(refParams.sampler.compare == tcu::Sampler::COMPAREMODE_NONE); in genSamplerParams()
1357 tcu::Sampler::DepthStencilMode mode,
1380 tcu::Sampler::DepthStencilMode mode, in TextureBorderClampFormatCase()
1484 tcu::Sampler::DepthStencilMode mode,
1501 tcu::Sampler::DepthStencilMode mode, in TextureBorderClampRangeClampCase()
1675 tcu::Sampler::DepthStencilMode mode,
1699 tcu::Sampler::DepthStencilMode mode, in TextureBorderClampPerAxisCase2D()
1796 tcu::Sampler::MODE_DEPTH, in TextureBorderClampDepthCompareCase()
1901 tcu::Sampler::DepthStencilMode depthStencilMode);
1916 tcu::Sampler::DepthStencilMode depthStencilMode) in TextureBorderClampUnusedChannelCase()
2059 , m_channelClass (getFormatChannelClass(texFormat, tcu::Sampler::MODE_LAST)) in TextureBorderClampPerAxisCase3D()
2309 tcu::Sampler::DepthStencilMode mode; in init()
2312 { "luminance", GL_LUMINANCE, tcu::Sampler::MODE_LAST }, in init()
2313 { "alpha", GL_ALPHA, tcu::Sampler::MODE_LAST }, in init()
2314 { "luminance_alpha", GL_LUMINANCE_ALPHA, tcu::Sampler::MODE_LAST }, in init()
2315 { "bgra", GL_BGRA, tcu::Sampler::MODE_LAST }, in init()
2316 { "r8", GL_R8, tcu::Sampler::MODE_LAST }, in init()
2317 { "r8_snorm", GL_R8_SNORM, tcu::Sampler::MODE_LAST }, in init()
2318 { "rg8", GL_RG8, tcu::Sampler::MODE_LAST }, in init()
2319 { "rg8_snorm", GL_RG8_SNORM, tcu::Sampler::MODE_LAST }, in init()
2320 { "rgb8", GL_RGB8, tcu::Sampler::MODE_LAST }, in init()
2321 { "rgb8_snorm", GL_RGB8_SNORM, tcu::Sampler::MODE_LAST }, in init()
2322 { "rgb565", GL_RGB565, tcu::Sampler::MODE_LAST }, in init()
2323 { "rgba4", GL_RGBA4, tcu::Sampler::MODE_LAST }, in init()
2324 { "rgb5_a1", GL_RGB5_A1, tcu::Sampler::MODE_LAST }, in init()
2325 { "rgba8", GL_RGBA8, tcu::Sampler::MODE_LAST }, in init()
2326 { "rgba8_snorm", GL_RGBA8_SNORM, tcu::Sampler::MODE_LAST }, in init()
2327 { "rgb10_a2", GL_RGB10_A2, tcu::Sampler::MODE_LAST }, in init()
2328 { "rgb10_a2ui", GL_RGB10_A2UI, tcu::Sampler::MODE_LAST }, in init()
2329 { "srgb8", GL_SRGB8, tcu::Sampler::MODE_LAST }, in init()
2330 { "srgb8_alpha8", GL_SRGB8_ALPHA8, tcu::Sampler::MODE_LAST }, in init()
2331 { "r16f", GL_R16F, tcu::Sampler::MODE_LAST }, in init()
2332 { "rg16f", GL_RG16F, tcu::Sampler::MODE_LAST }, in init()
2333 { "rgb16f", GL_RGB16F, tcu::Sampler::MODE_LAST }, in init()
2334 { "rgba16f", GL_RGBA16F, tcu::Sampler::MODE_LAST }, in init()
2335 { "r32f", GL_R32F, tcu::Sampler::MODE_LAST }, in init()
2336 { "rg32f", GL_RG32F, tcu::Sampler::MODE_LAST }, in init()
2337 { "rgb32f", GL_RGB32F, tcu::Sampler::MODE_LAST }, in init()
2338 { "rgba32f", GL_RGBA32F, tcu::Sampler::MODE_LAST }, in init()
2339 { "r11f_g11f_b10f", GL_R11F_G11F_B10F, tcu::Sampler::MODE_LAST }, in init()
2340 { "rgb9_e5", GL_RGB9_E5, tcu::Sampler::MODE_LAST }, in init()
2341 { "r8i", GL_R8I, tcu::Sampler::MODE_LAST }, in init()
2342 { "r8ui", GL_R8UI, tcu::Sampler::MODE_LAST }, in init()
2343 { "r16i", GL_R16I, tcu::Sampler::MODE_LAST }, in init()
2344 { "r16ui", GL_R16UI, tcu::Sampler::MODE_LAST }, in init()
2345 { "r32i", GL_R32I, tcu::Sampler::MODE_LAST }, in init()
2346 { "r32ui", GL_R32UI, tcu::Sampler::MODE_LAST }, in init()
2347 { "rg8i", GL_RG8I, tcu::Sampler::MODE_LAST }, in init()
2348 { "rg8ui", GL_RG8UI, tcu::Sampler::MODE_LAST }, in init()
2349 { "rg16i", GL_RG16I, tcu::Sampler::MODE_LAST }, in init()
2350 { "rg16ui", GL_RG16UI, tcu::Sampler::MODE_LAST }, in init()
2351 { "rg32i", GL_RG32I, tcu::Sampler::MODE_LAST }, in init()
2352 { "rg32ui", GL_RG32UI, tcu::Sampler::MODE_LAST }, in init()
2353 { "rgb8i", GL_RGB8I, tcu::Sampler::MODE_LAST }, in init()
2354 { "rgb8ui", GL_RGB8UI, tcu::Sampler::MODE_LAST }, in init()
2355 { "rgb16i", GL_RGB16I, tcu::Sampler::MODE_LAST }, in init()
2356 { "rgb16ui", GL_RGB16UI, tcu::Sampler::MODE_LAST }, in init()
2357 { "rgb32i", GL_RGB32I, tcu::Sampler::MODE_LAST }, in init()
2358 { "rgb32ui", GL_RGB32UI, tcu::Sampler::MODE_LAST }, in init()
2359 { "rgba8i", GL_RGBA8I, tcu::Sampler::MODE_LAST }, in init()
2360 { "rgba8ui", GL_RGBA8UI, tcu::Sampler::MODE_LAST }, in init()
2361 { "rgba16i", GL_RGBA16I, tcu::Sampler::MODE_LAST }, in init()
2362 { "rgba16ui", GL_RGBA16UI, tcu::Sampler::MODE_LAST }, in init()
2363 { "rgba32i", GL_RGBA32I, tcu::Sampler::MODE_LAST }, in init()
2364 { "rgba32ui", GL_RGBA32UI, tcu::Sampler::MODE_LAST }, in init()
2365 { "depth_component16", GL_DEPTH_COMPONENT16, tcu::Sampler::MODE_DEPTH }, in init()
2366 { "depth_component24", GL_DEPTH_COMPONENT24, tcu::Sampler::MODE_DEPTH }, in init()
2367 { "depth_component32f", GL_DEPTH_COMPONENT32F, tcu::Sampler::MODE_DEPTH }, in init()
2368 { "stencil_index8", GL_STENCIL_INDEX8, tcu::Sampler::MODE_STENCIL }, in init()
2369 { "depth24_stencil8_sample_depth", GL_DEPTH24_STENCIL8, tcu::Sampler::MODE_DEPTH }, in init()
2370 { "depth32f_stencil8_sample_depth", GL_DEPTH32F_STENCIL8, tcu::Sampler::MODE_DEPTH }, in init()
2371 { "depth24_stencil8_sample_stencil", GL_DEPTH24_STENCIL8, tcu::Sampler::MODE_STENCIL }, in init()
2372 { "depth32f_stencil8_sample_stencil", GL_DEPTH32F_STENCIL8, tcu::Sampler::MODE_STENCIL }, in init()
2373 { "compressed_r11_eac", GL_COMPRESSED_R11_EAC, tcu::Sampler::MODE_LAST }, in init()
2374 { "compressed_signed_r11_eac", GL_COMPRESSED_SIGNED_R11_EAC, tcu::Sampler::MODE_LAST }, in init()
2375 { "compressed_rg11_eac", GL_COMPRESSED_RG11_EAC, tcu::Sampler::MODE_LAST }, in init()
2376 … { "compressed_signed_rg11_eac", GL_COMPRESSED_SIGNED_RG11_EAC, tcu::Sampler::MODE_LAST }, in init()
2377 { "compressed_rgb8_etc2", GL_COMPRESSED_RGB8_ETC2, tcu::Sampler::MODE_LAST }, in init()
2378 { "compressed_srgb8_etc2", GL_COMPRESSED_SRGB8_ETC2, tcu::Sampler::MODE_LAST }, in init()
2379 …punchthrough_alpha1_etc2", GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, tcu::Sampler::MODE_LAST }, in init()
2380 …unchthrough_alpha1_etc2", GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, tcu::Sampler::MODE_LAST }, in init()
2381 { "compressed_rgba8_etc2_eac", GL_COMPRESSED_RGBA8_ETC2_EAC, tcu::Sampler::MODE_LAST }, in init()
2382 …{ "compressed_srgb8_alpha8_etc2_eac", GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, tcu::Sampler::MODE_… in init()
2392 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode; in init()
2440 tcu::Sampler::DepthStencilMode mode; in init()
2443 { "unorm_color", GL_R8, tcu::Sampler::MODE_LAST }, in init()
2444 { "snorm_color", GL_R8_SNORM, tcu::Sampler::MODE_LAST }, in init()
2445 { "float_color", GL_RG32F, tcu::Sampler::MODE_LAST }, in init()
2446 { "int_color", GL_R8I, tcu::Sampler::MODE_LAST }, in init()
2447 { "uint_color", GL_R16UI, tcu::Sampler::MODE_LAST }, in init()
2448 { "srgb_color", GL_SRGB8_ALPHA8, tcu::Sampler::MODE_LAST }, in init()
2449 { "unorm_depth", GL_DEPTH_COMPONENT24, tcu::Sampler::MODE_DEPTH }, in init()
2450 { "float_depth", GL_DEPTH_COMPONENT32F, tcu::Sampler::MODE_DEPTH }, in init()
2451 { "uint_stencil", GL_STENCIL_INDEX8, tcu::Sampler::MODE_STENCIL }, in init()
2452 { "float_depth_uint_stencil_sample_depth", GL_DEPTH32F_STENCIL8, tcu::Sampler::MODE_DEPTH }, in init()
2453 { "float_depth_uint_stencil_sample_stencil", GL_DEPTH32F_STENCIL8, tcu::Sampler::MODE_STENCIL }, in init()
2454 { "unorm_depth_uint_stencil_sample_depth", GL_DEPTH24_STENCIL8, tcu::Sampler::MODE_DEPTH }, in init()
2455 { "unorm_depth_uint_stencil_sample_stencil", GL_DEPTH24_STENCIL8, tcu::Sampler::MODE_STENCIL }, in init()
2456 { "compressed_color", GL_COMPRESSED_RG11_EAC, tcu::Sampler::MODE_LAST }, in init()
2466 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode; in init()
2485 tcu::Sampler::DepthStencilMode mode; in init()
2488 { "unorm_color", GL_R8, tcu::Sampler::MODE_LAST }, in init()
2489 { "snorm_color", GL_R8_SNORM, tcu::Sampler::MODE_LAST }, in init()
2490 { "float_color", GL_RG32F, tcu::Sampler::MODE_LAST }, in init()
2491 { "int_color", GL_R8I, tcu::Sampler::MODE_LAST }, in init()
2492 { "uint_color", GL_R16UI, tcu::Sampler::MODE_LAST }, in init()
2493 { "unorm_depth", GL_DEPTH_COMPONENT24, tcu::Sampler::MODE_DEPTH }, in init()
2494 { "float_depth", GL_DEPTH_COMPONENT32F, tcu::Sampler::MODE_DEPTH }, in init()
2495 { "uint_stencil", GL_STENCIL_INDEX8, tcu::Sampler::MODE_STENCIL }, in init()
2496 { "compressed_color", GL_COMPRESSED_RG11_EAC, tcu::Sampler::MODE_LAST }, in init()
2505 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode; in init()
2535 tcu::Sampler::DepthStencilMode mode; in init()
2539 { "unorm_color", GL_RG8, tcu::Sampler::MODE_LAST, true }, in init()
2540 { "snorm_color", GL_RG8_SNORM, tcu::Sampler::MODE_LAST, true }, in init()
2541 { "float_color", GL_R32F, tcu::Sampler::MODE_LAST, true }, in init()
2542 { "int_color", GL_RG16I, tcu::Sampler::MODE_LAST, true }, in init()
2543 { "uint_color", GL_R8UI, tcu::Sampler::MODE_LAST, true }, in init()
2544 { "unorm_depth", GL_DEPTH_COMPONENT16, tcu::Sampler::MODE_DEPTH, false }, in init()
2545 { "float_depth", GL_DEPTH32F_STENCIL8, tcu::Sampler::MODE_DEPTH, false }, in init()
2546 { "uint_stencil", GL_DEPTH32F_STENCIL8, tcu::Sampler::MODE_STENCIL, false }, in init()
2547 { "compressed_color", GL_COMPRESSED_RGB8_ETC2, tcu::Sampler::MODE_LAST, false }, in init()
2587 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode; in init()
2641 DE_ASSERT(sampleMode == tcu::Sampler::MODE_LAST); in init()
2713 tcu::Sampler::DepthStencilMode mode; in init()
2716 { "r8", GL_R8, tcu::Sampler::MODE_LAST }, in init()
2717 { "rg8_snorm", GL_RG8_SNORM, tcu::Sampler::MODE_LAST }, in init()
2718 { "rgb8", GL_RGB8, tcu::Sampler::MODE_LAST }, in init()
2719 { "rg32f", GL_RG32F, tcu::Sampler::MODE_LAST }, in init()
2720 { "r16i", GL_RG16I, tcu::Sampler::MODE_LAST }, in init()
2721 { "luminance", GL_LUMINANCE, tcu::Sampler::MODE_LAST }, in init()
2722 { "alpha", GL_ALPHA, tcu::Sampler::MODE_LAST }, in init()
2723 { "luminance_alpha", GL_LUMINANCE_ALPHA, tcu::Sampler::MODE_LAST }, in init()
2724 { "depth_component16", GL_DEPTH_COMPONENT16, tcu::Sampler::MODE_DEPTH }, in init()
2725 { "depth_component32f", GL_DEPTH_COMPONENT32F, tcu::Sampler::MODE_DEPTH }, in init()
2726 { "stencil_index8", GL_STENCIL_INDEX8, tcu::Sampler::MODE_STENCIL }, in init()
2727 { "depth32f_stencil8_sample_depth", GL_DEPTH32F_STENCIL8, tcu::Sampler::MODE_DEPTH }, in init()
2728 { "depth32f_stencil8_sample_stencil", GL_DEPTH32F_STENCIL8, tcu::Sampler::MODE_STENCIL }, in init()
2729 { "depth24_stencil8_sample_depth", GL_DEPTH24_STENCIL8, tcu::Sampler::MODE_DEPTH }, in init()
2730 { "depth24_stencil8_sample_stencil", GL_DEPTH24_STENCIL8, tcu::Sampler::MODE_STENCIL }, in init()
2731 { "compressed_r11_eac", GL_COMPRESSED_R11_EAC, tcu::Sampler::MODE_LAST }, in init()