/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsTransientAttachmentTests.cpp | 60 MODE_DEPTH = 1u << 2, member in vkt::FragmentOperations::__anon27977::TestMode 299 : m_testMode == TestMode::MODE_DEPTH ? "vec4(subpassLoad(inputValue).r, 0.0, 0.0, 1.0);\n" in initPrograms() 315 const VkFormat testFormat = m_testMode == TestMode::MODE_DEPTH in checkSupport() 328 (m_testMode == TestMode::MODE_DEPTH || m_testMode == TestMode::MODE_STENCIL) in checkSupport() 360 , m_aspectFlags ( testMode == TestMode::MODE_DEPTH ? VkImageAspectFlagBits::VK_IMAGE_ASPECT_DEPTH_BIT in TransientAttachmentTestInstance() 365 , m_testFormat ( testMode == TestMode::MODE_DEPTH ? VK_FORMAT_D16_UNORM in TransientAttachmentTestInstance() 500 else if (m_testMode == TestMode::MODE_DEPTH) clearValue.depthStencil.depth = 0.5f; in iterate() 547 : m_testMode == TestMode::MODE_DEPTH ? tcu::Vec4(0.5f, 0.0f, 0.0f, 1.0f) in iterate() 582 { "depth_load_store_op_test_lazy_bit", TestMode::MODE_DEPTH , VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT}, in createTransientAttachmentTests() 585 { "depth_load_store_op_test_local_bit", TestMode::MODE_DEPTH , VK_MEMORY_PROPERTY_DEVICE_LOCAL_BI in createTransientAttachmentTests() [all...] |
H A D | vktFragmentOperationsEarlyFragmentTests.cpp | 342 MODE_DEPTH, enumerator 354 , m_testMode (flags & FLAG_TEST_DEPTH ? MODE_DEPTH : in EarlyFragmentTestInstance() 474 (m_testMode == MODE_DEPTH), (m_testMode == MODE_STENCIL))); in iterate() 540 if (m_testMode == MODE_DEPTH) in iterate() 631 MODE_DEPTH, enumerator 643 , m_testMode (flags & FLAG_TEST_DEPTH ? MODE_DEPTH : in EarlyFragmentDiscardTestInstance() 779 (m_testMode == MODE_DEPTH), (m_testMode == MODE_STENCIL), in iterate() 826 VkImageAspectFlags dsAspect = m_testMode == MODE_DEPTH ? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_STENCIL_BIT; in iterate() 827 VkImageLayout dsImageLayout = m_testMode == MODE_DEPTH ? VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL; in iterate() 857 float depthValue = (m_testMode == MODE_DEPTH) in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsTransientAttachmentTests.cpp | 60 MODE_DEPTH = 1u << 2, member in vkt::FragmentOperations::__anon29211::TestMode 299 : m_testMode == TestMode::MODE_DEPTH ? "vec4(subpassLoad(inputValue).r, 0.0, 0.0, 1.0);\n" in initPrograms() 315 const VkFormat testFormat = m_testMode == TestMode::MODE_DEPTH in checkSupport() 328 (m_testMode == TestMode::MODE_DEPTH || m_testMode == TestMode::MODE_STENCIL) in checkSupport() 360 , m_aspectFlags ( testMode == TestMode::MODE_DEPTH ? VkImageAspectFlagBits::VK_IMAGE_ASPECT_DEPTH_BIT in TransientAttachmentTestInstance() 365 , m_testFormat ( testMode == TestMode::MODE_DEPTH ? VK_FORMAT_D16_UNORM in TransientAttachmentTestInstance() 500 else if (m_testMode == TestMode::MODE_DEPTH) clearValue.depthStencil.depth = 0.5f; in iterate() 547 : m_testMode == TestMode::MODE_DEPTH ? tcu::Vec4(0.5f, 0.0f, 0.0f, 1.0f) in iterate() 581 { "depth_load_store_op_test_lazy_bit", TestMode::MODE_DEPTH , VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT}, in createTransientAttachmentTests() 584 { "depth_load_store_op_test_local_bit", TestMode::MODE_DEPTH , VK_MEMORY_PROPERTY_DEVICE_LOCAL_BI in createTransientAttachmentTests() [all...] |
H A D | vktFragmentOperationsEarlyFragmentTests.cpp | 342 MODE_DEPTH, enumerator 354 , m_testMode (flags & FLAG_TEST_DEPTH ? MODE_DEPTH : in EarlyFragmentTestInstance() 474 (m_testMode == MODE_DEPTH), (m_testMode == MODE_STENCIL))); in iterate() 540 if (m_testMode == MODE_DEPTH) in iterate() 631 MODE_DEPTH, enumerator 643 , m_testMode (flags & FLAG_TEST_DEPTH ? MODE_DEPTH : in EarlyFragmentDiscardTestInstance() 779 (m_testMode == MODE_DEPTH), (m_testMode == MODE_STENCIL), in iterate() 826 VkImageAspectFlags dsAspect = m_testMode == MODE_DEPTH ? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_STENCIL_BIT; in iterate() 827 VkImageLayout dsImageLayout = m_testMode == MODE_DEPTH ? VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL; in iterate() 857 float depthValue = (m_testMode == MODE_DEPTH) in iterate() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureBorderClampTests.cpp | 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() 288 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler::MODE_STENCIL)) in genDefaultTexture() 294 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH)) in genDefaultTexture() 297 const tcu::PixelBufferAccess depthAccess = tcu::getEffectiveDepthStencilAccess(texture->getRefTexture().getLevel(0), tcu::Sampler::MODE_DEPTH); in genDefaultTexture() 749 if (m_sampleMode == tcu::Sampler::MODE_DEPTH) 778 if (m_sampleMode == tcu::Sampler::MODE_DEPTH) 1797 tcu::Sampler::MODE_DEPTH, 2377 { "depth_component16", GL_DEPTH_COMPONENT16, tcu::Sampler::MODE_DEPTH }, 2378 { "depth_component24", GL_DEPTH_COMPONENT24, tcu::Sampler::MODE_DEPTH }, [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTestLog.cpp | 71 m_access = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH); in LogImage() 82 const ConstPixelBufferAccess depthAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH); in LogImage() 112 m_access = tcu::getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH); in LogImage() 130 const ConstPixelBufferAccess depthAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH); in write()
|
H A D | tcuTextureUtil.cpp | 825 clear(getEffectiveDepthStencilAccess(access, Sampler::MODE_DEPTH), tcu::Vec4(depth, 0.0f, 0.0f, 0.0f)); 963 fillWithComponentGradientsStyled(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), minVal, maxVal, style); 1055 fillWithGrid(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), cellSize, colorA, colorB); 1410 (mode == Sampler::MODE_DEPTH && baseAccess.getFormat().order == TextureFormat::D) || 1418 if (mode == Sampler::MODE_DEPTH) 1444 if (mode == Sampler::MODE_DEPTH) 1470 if (mode == Sampler::MODE_DEPTH) 1496 if (mode == Sampler::MODE_DEPTH)
|
H A D | tcuTexture.hpp | 247 MODE_DEPTH = 0, enumerator 298 DepthStencilMode depthStencilMode_ = MODE_DEPTH, in Sampler() 329 , depthStencilMode (MODE_DEPTH) in Sampler() 287 Sampler(WrapMode wrapS_, WrapMode wrapT_, WrapMode wrapR_, FilterMode minFilter_, FilterMode magFilter_, float lodThreshold_ = 0.0f, bool normalizedCoords_ = true, CompareMode compare_ = COMPAREMODE_NONE, int compareChannel_ = 0, const Vec4& borderColor_ = Vec4(0.0f, 0.0f, 0.0f, 0.0f), bool seamlessCubeMap_ = false, DepthStencilMode depthStencilMode_ = MODE_DEPTH, ReductionMode reductionMode_ = WEIGHTED_AVERAGE) Sampler() argument
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrMultisamplePixelBufferAccess.cpp | 146 const tcu::ConstPixelBufferAccess effectiveSrc = tcu::getEffectiveDepthStencilAccess(src.raw(), tcu::Sampler::MODE_DEPTH); in resolveMultisampleDepthBuffer() 147 const tcu::PixelBufferAccess effectiveDst = tcu::getEffectiveDepthStencilAccess(dst, tcu::Sampler::MODE_DEPTH); in resolveMultisampleDepthBuffer()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluFboRenderContext.cpp | 42 const tcu::TextureFormat depthOnlyFormat = tcu::getEffectiveDepthStencilTextureFormat(format, tcu::Sampler::MODE_DEPTH); in getNumDepthBits()
|
/third_party/vk-gl-cts/modules/internal/ |
H A D | ditTextureFormatTests.cpp | 1578 const ConstPixelBufferAccess inputDepthAccess = getEffectiveDepthStencilAccess(inputAccess, tcu::Sampler::MODE_DEPTH); in iterate() 1579 const PixelBufferAccess tmpDepthAccess = getEffectiveDepthStencilAccess(tmpAccess, tcu::Sampler::MODE_DEPTH); in iterate() 1654 const ConstPixelBufferAccess inputDepthAccess = getEffectiveDepthStencilAccess(inputAccess, tcu::Sampler::MODE_DEPTH); in iterate() 1656 const PixelBufferAccess tmpDepthAccess = getEffectiveDepthStencilAccess(tmpAccess, tcu::Sampler::MODE_DEPTH); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationNoneStageTests.cpp | 1095 referencePBA = getEffectiveDepthStencilAccess(referencePBA, (m_referenceSubresourceRange.aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) ? tcu::Sampler::MODE_DEPTH : tcu::Sampler::MODE_STENCIL); in iterate() 1097 resultPBA = getEffectiveDepthStencilAccess(resultPBA, (m_readSubresourceRange.aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) ? tcu::Sampler::MODE_DEPTH : tcu::Sampler::MODE_STENCIL); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationNoneStageTests.cpp | 1093 referencePBA = getEffectiveDepthStencilAccess(referencePBA, (m_referenceSubresourceRange.aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) ? tcu::Sampler::MODE_DEPTH : tcu::Sampler::MODE_STENCIL); in iterate() 1095 resultPBA = getEffectiveDepthStencilAccess(resultPBA, (m_readSubresourceRange.aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) ? tcu::Sampler::MODE_DEPTH : tcu::Sampler::MODE_STENCIL); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCopiesAndBlittingTests.cpp | 900 tcu::copy(depthTexture.getAccess(), tcu::getEffectiveDepthStencilAccess(src, tcu::Sampler::MODE_DEPTH)); in uploadImage() 1101 tcu::copy(tcu::getEffectiveDepthStencilAccess(resultLevel->getAccess(), tcu::Sampler::MODE_DEPTH), depthTexture.getAccess()); in readImage() 1507 const tcu::Sampler::DepthStencilMode mode = tcu::Sampler::MODE_DEPTH; in checkTestResult() 1577 const tcu::ConstPixelBufferAccess srcSubRegion = getEffectiveDepthStencilAccess(tcu::getSubregion(src, srcOffset.x, srcOffset.y, srcOffset.z, extent.width, extent.height, extent.depth), tcu::Sampler::MODE_DEPTH); in copyRegionToTextureLevel() 1578 const tcu::PixelBufferAccess dstSubRegion = getEffectiveDepthStencilAccess(tcu::getSubregion(dst, dstOffset.x, dstOffset.y, dstOffset.z, extent.width, extent.height, extent.depth), tcu::Sampler::MODE_DEPTH); in copyRegionToTextureLevel() 1944 const tcu::Sampler::DepthStencilMode mode = tcu::Sampler::MODE_DEPTH; in checkResult() 2047 const tcu::ConstPixelBufferAccess srcSubRegion = getEffectiveDepthStencilAccess(tcu::getSubregion(src, srcOffset.x, srcOffset.y, srcOffset.z, extent.width, extent.height, extent.depth), tcu::Sampler::MODE_DEPTH); in copyRegionToTextureLevel() 2048 const tcu::PixelBufferAccess dstSubRegion = getEffectiveDepthStencilAccess(tcu::getSubregion(dst, dstOffset.x, dstOffset.y, dstOffset.z, extent.width, extent.height, extent.depth), tcu::Sampler::MODE_DEPTH); in copyRegionToTextureLevel() 3139 tcu::copy(dstSubRegion, tcu::getEffectiveDepthStencilAccess(srcSubRegion, tcu::Sampler::MODE_DEPTH), DE_FALSE); in copyRegionToTextureLevel() 3290 tcu::copy(depthTexture.getAccess(), tcu::getEffectiveDepthStencilAccess(bufferAccess, tcu::Sampler::MODE_DEPTH)); in iterate() [all...] |
H A D | vktApiImageClearingTests.cpp | 272 const TextureFormat format = getEffectiveDepthStencilTextureFormat(access.getFormat(), Sampler::MODE_DEPTH); in comparePixelToDepthClearValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCopiesAndBlittingTests.cpp | 808 tcu::copy(depthTexture.getAccess(), tcu::getEffectiveDepthStencilAccess(src, tcu::Sampler::MODE_DEPTH)); in uploadImage() 1009 tcu::copy(tcu::getEffectiveDepthStencilAccess(resultLevel->getAccess(), tcu::Sampler::MODE_DEPTH), depthTexture.getAccess()); in readImage() 1279 const tcu::Sampler::DepthStencilMode mode = tcu::Sampler::MODE_DEPTH; in checkTestResult() 1357 const tcu::ConstPixelBufferAccess srcSubRegion = getEffectiveDepthStencilAccess(tcu::getSubregion(src, srcOffset.x, srcOffset.y, srcOffset.z, extent.width, extent.height, extent.depth), tcu::Sampler::MODE_DEPTH); in copyRegionToTextureLevel() 1358 const tcu::PixelBufferAccess dstSubRegion = getEffectiveDepthStencilAccess(tcu::getSubregion(dst, dstOffset.x, dstOffset.y, dstOffset.z, extent.width, extent.height, extent.depth), tcu::Sampler::MODE_DEPTH); in copyRegionToTextureLevel() 1733 const tcu::Sampler::DepthStencilMode mode = tcu::Sampler::MODE_DEPTH; in checkResult() 1836 const tcu::ConstPixelBufferAccess srcSubRegion = getEffectiveDepthStencilAccess(tcu::getSubregion(src, srcOffset.x, srcOffset.y, srcOffset.z, extent.width, extent.height, extent.depth), tcu::Sampler::MODE_DEPTH); in copyRegionToTextureLevel() 1837 const tcu::PixelBufferAccess dstSubRegion = getEffectiveDepthStencilAccess(tcu::getSubregion(dst, dstOffset.x, dstOffset.y, dstOffset.z, extent.width, extent.height, extent.depth), tcu::Sampler::MODE_DEPTH); in copyRegionToTextureLevel() 2696 tcu::copy(dstSubRegion, tcu::getEffectiveDepthStencilAccess(srcSubRegion, tcu::Sampler::MODE_DEPTH), DE_FALSE); in copyRegionToTextureLevel() 2847 tcu::copy(depthTexture.getAccess(), tcu::getEffectiveDepthStencilAccess(bufferAccess, tcu::Sampler::MODE_DEPTH)); in iterate() [all...] |
H A D | vktApiImageClearingTests.cpp | 264 const TextureFormat format = getEffectiveDepthStencilTextureFormat(access.getFormat(), Sampler::MODE_DEPTH); in comparePixelToDepthClearValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktDynamicRenderingTests.cpp | 1327 tcu::copy(tcu::getEffectiveDepthStencilAccess(result->getAccess(), tcu::Sampler::MODE_DEPTH), resultDepthImage); in verifyResults() 1329 const tcu::ConstPixelBufferAccess depthResult = tcu::getEffectiveDepthStencilAccess(result->getAccess(), tcu::Sampler::MODE_DEPTH); in verifyResults() 1330 const tcu::ConstPixelBufferAccess expectedResult = tcu::getEffectiveDepthStencilAccess(m_referenceImages[COLOR_ATTACHMENTS_NUMBER].getAccess(), tcu::Sampler::MODE_DEPTH); in verifyResults()
|
H A D | vktRenderPassSubpassDependencyTests.cpp | 1752 const PixelBufferAccess referenceDepthAccess (tcu::getEffectiveDepthStencilAccess(reference.getAccess(), tcu::Sampler::MODE_DEPTH)); in iterateInternal() 2822 const PixelBufferAccess referenceDepthAccess (tcu::getEffectiveDepthStencilAccess(reference.getAccess(), tcu::Sampler::MODE_DEPTH)); in iterateInternal()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktDynamicRenderingTests.cpp | 1346 tcu::copy(tcu::getEffectiveDepthStencilAccess(result->getAccess(), tcu::Sampler::MODE_DEPTH), resultDepthImage); in verifyDepth() 1348 const tcu::ConstPixelBufferAccess depthResult = tcu::getEffectiveDepthStencilAccess(result->getAccess(), tcu::Sampler::MODE_DEPTH); in verifyDepth() 1349 const tcu::ConstPixelBufferAccess expectedResult = tcu::getEffectiveDepthStencilAccess(depthReference.getAccess(), tcu::Sampler::MODE_DEPTH); in verifyDepth()
|
H A D | vktRenderPassSubpassDependencyTests.cpp | 1752 const PixelBufferAccess referenceDepthAccess (tcu::getEffectiveDepthStencilAccess(reference.getAccess(), tcu::Sampler::MODE_DEPTH)); in iterateInternal() 2822 const PixelBufferAccess referenceDepthAccess (tcu::getEffectiveDepthStencilAccess(reference.getAccess(), tcu::Sampler::MODE_DEPTH)); in iterateInternal()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineAttachmentFeedbackLoopLayoutTests.cpp | 1590 const tcu::Sampler::DepthStencilMode mode = tcu::Sampler::MODE_DEPTH; in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureShadowTests.cpp | 149 const tcu::IVec4 formatBitDepth = tcu::getTextureFormatBitDepth(tcu::getEffectiveDepthStencilTextureFormat(texFormat, Sampler::MODE_DEPTH)); in getPixelFormat()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineAttachmentFeedbackLoopLayoutTests.cpp | 1430 const tcu::Sampler::DepthStencilMode mode = tcu::Sampler::MODE_DEPTH; in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureShadowTests.cpp | 148 const tcu::IVec4 formatBitDepth = tcu::getTextureFormatBitDepth(tcu::getEffectiveDepthStencilTextureFormat(texFormat, Sampler::MODE_DEPTH)); in getPixelFormat()
|