Home
last modified time | relevance | path

Searched refs:isDSFormat (Results 1 - 6 of 6) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassSubpassDependencyTests.cpp2345 const bool isDSFormat = isDepthStencilFormat(m_format); in iterateInternal() local
2346 const VkFormat colorFormat = isDSFormat ? VK_FORMAT_R8G8B8A8_UNORM : m_format; in iterateInternal()
2356 const VkImageLayout colorImageLayout = isDSFormat ? VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_GENERAL; in iterateInternal()
2410 if (isDSFormat) in iterateInternal()
2470 if (isDSFormat) in iterateInternal()
2513 if (!isDSFormat) in iterateInternal()
2552 if (isDSFormat) in iterateInternal()
2561 const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, inputAttachmentReferences, colorAttachmentReferences, vector<AttachmentReference>(), isDSFormat ? dsAttachmentReference : AttachmentReference(VK_ATTACHMENT_UNUSED, VK_IMAGE_LAYOUT_GENERAL), vector<deUint32>())); in iterateInternal()
2563 if(!isDSFormat) in iterateInternal()
2677 isDSFormat in iterateInternal()
[all...]
H A DvktRenderPassMultisampleResolveTests.cpp259 const auto isDSFormat = (tcu::hasDepthComponent(format.order) || tcu::hasStencilComponent(format.order)); in createImage() local
261 if (isDSFormat && (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) == 0) in createImage()
264 if (!isDSFormat && (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) == 0) in createImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassSubpassDependencyTests.cpp2345 const bool isDSFormat = isDepthStencilFormat(m_format); in iterateInternal() local
2346 const VkFormat colorFormat = isDSFormat ? VK_FORMAT_R8G8B8A8_UNORM : m_format; in iterateInternal()
2356 const VkImageLayout colorImageLayout = isDSFormat ? VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_GENERAL; in iterateInternal()
2410 if (isDSFormat) in iterateInternal()
2470 if (isDSFormat) in iterateInternal()
2513 if (!isDSFormat) in iterateInternal()
2552 if (isDSFormat) in iterateInternal()
2561 const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, inputAttachmentReferences, colorAttachmentReferences, vector<AttachmentReference>(), isDSFormat ? dsAttachmentReference : AttachmentReference(VK_ATTACHMENT_UNUSED, VK_IMAGE_LAYOUT_GENERAL), vector<deUint32>())); in iterateInternal()
2563 if(!isDSFormat) in iterateInternal()
2677 isDSFormat in iterateInternal()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerTests.cpp327 const auto isDSFormat = isDepthStencilFormat(imageFormat); in getImageSamplingInstanceParams() local
328 const auto tcuFormat = (isDSFormat ? mapVkFormat(imageFormat) : tcu::TextureFormat()); in getImageSamplingInstanceParams()
329 const auto hasDepth = (isDSFormat && tcu::hasDepthComponent(tcuFormat.order)); in getImageSamplingInstanceParams()
330 const auto hasStencil = (isDSFormat && tcu::hasStencilComponent(tcuFormat.order)); in getImageSamplingInstanceParams()
331 const auto imageAspect = (isDSFormat ? (sampleStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT) : VK_IMAGE_ASPECT_COLOR_BIT); in getImageSamplingInstanceParams()
1225 const bool isDSFormat = isDepthStencilFormat(imageFormat); in createSamplerAddressModesTests() local
1231 if (!isDSFormat && sampleStencil) in createSamplerAddressModesTests()
1234 if (isDSFormat) in createSamplerAddressModesTests()
H A DvktPipelineSamplerBorderSwizzleTests.cpp818 const auto isDSFormat = isDepthStencilFormat(m_params.textureFormat); in iterate() local
820 const auto imageAspect = (isDSFormat ? (hasStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT) : VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
1080 if (isDSFormat) in iterate()
1445 const auto isDSFormat = isDepthStencilFormat(format); in createSamplerBorderSwizzleTests() local
1447 if (!isDSFormat && sampleStencil) in createSamplerBorderSwizzleTests()
1453 if (isDSFormat) in createSamplerBorderSwizzleTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineSamplerTests.cpp332 const auto isDSFormat = isDepthStencilFormat(imageFormat); in getImageSamplingInstanceParams() local
333 const auto tcuFormat = (isDSFormat ? mapVkFormat(imageFormat) : tcu::TextureFormat()); in getImageSamplingInstanceParams()
334 const auto hasDepth = (isDSFormat && tcu::hasDepthComponent(tcuFormat.order)); in getImageSamplingInstanceParams()
335 const auto hasStencil = (isDSFormat && tcu::hasStencilComponent(tcuFormat.order)); in getImageSamplingInstanceParams()
336 const auto imageAspect = (isDSFormat ? (sampleStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT) : VK_IMAGE_ASPECT_COLOR_BIT); in getImageSamplingInstanceParams()
1212 const bool isDSFormat = isDepthStencilFormat(imageFormat); in createSamplerAddressModesTests() local
1218 if (!isDSFormat && sampleStencil) in createSamplerAddressModesTests()
1221 if (isDSFormat) in createSamplerAddressModesTests()

Completed in 23 milliseconds