Lines Matching refs:format

272 	const TextureFormat			format			= getEffectiveDepthStencilTextureFormat(access.getFormat(), Sampler::MODE_DEPTH);
273 const TextureChannelClass channelClass = getTextureChannelClass(format.type);
280 const int bitDepth = getTextureFormatBitDepth(format).x();
298 const int mantissaBits = getTextureFormatMantissaBitDepth(format).x();
555 Move<VkImage> createImage (VkImageType imageType, VkFormat format, VkImageTiling tiling, VkExtent3D extent, deUint32 arrayLayerCount, VkImageUsageFlags usage, VkSampleCountFlagBits sampleCount = VK_SAMPLE_COUNT_1_BIT) const;
556 Move<VkImageView> createImageView (VkImage image, VkImageViewType viewType, VkFormat format, VkImageAspectFlags aspectMask, LayerRange layerRange) const;
557 Move<VkRenderPass> createRenderPass (VkFormat format, VkSampleCountFlagBits sampleCount) const;
580 VkImageUsageFlags getImageUsageFlags (VkFormat format) const;
581 VkImageAspectFlags getImageAspectFlags (VkFormat format) const;
582 bool getIsAttachmentFormat (VkFormat format, VkImageTiling tiling) const;
583 bool getIs3DFormat (VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) const;
584 bool getIsStencilFormat (VkFormat format) const;
585 bool getIsDepthFormat (VkFormat format) const;
721 VkImageUsageFlags ImageClearingTestInstance::getImageUsageFlags (VkFormat format) const
727 if (isDepthStencilFormat(format))
735 VkImageAspectFlags ImageClearingTestInstance::getImageAspectFlags (VkFormat format) const
739 if (getIsDepthFormat(format))
742 if (getIsStencilFormat(format))
751 bool ImageClearingTestInstance::getIs3DFormat (VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) const
753 const VkImageFormatProperties props = vk::getPhysicalDeviceImageFormatProperties(m_vki, m_context.getPhysicalDevice(), format, type, tiling, usage, flags);
758 bool ImageClearingTestInstance::getIsAttachmentFormat (VkFormat format, VkImageTiling tiling) const
760 const VkFormatProperties props = vk::getPhysicalDeviceFormatProperties(m_vki, m_context.getPhysicalDevice(), format);
766 bool ImageClearingTestInstance::getIsStencilFormat (VkFormat format) const
768 const TextureFormat tcuFormat = mapVkFormat(format);
776 bool ImageClearingTestInstance::getIsDepthFormat (VkFormat format) const
778 const TextureFormat tcuFormat = mapVkFormat(format);
827 Move<VkImage> ImageClearingTestInstance::createImage (VkImageType imageType, VkFormat format, VkImageTiling tiling, VkExtent3D extent, deUint32 arrayLayerCount, VkImageUsageFlags usage, VkSampleCountFlagBits sampleCount) const
841 format, // VkFormat format;
857 Move<VkImageView> ImageClearingTestInstance::createImageView (VkImage image, VkImageViewType viewType, VkFormat format, VkImageAspectFlags aspectMask, LayerRange layerRange) const
866 format, // VkFormat format;
885 Move<VkRenderPass> ImageClearingTestInstance::createRenderPass (VkFormat format, VkSampleCountFlagBits sampleCount) const
891 if (isDepthStencilFormat(format))
899 format, // VkFormat format;
912 format, // VkFormat format;
949 if (isDepthStencilFormat(format))
1041 format, // VkFormat format;
1391 const TextureFormat format = mapVkFormat(m_params.imageFormat);
1392 const TextureChannelClass channelClass = getTextureChannelClass(format.type);
1393 const BVec4 channelMask = getTextureFormatChannelMask(format);
1400 const IVec4 formatDepth = getTextureFormatBitDepth(format);
1420 const IVec4& mantissaBits = getTextureFormatMantissaBitDepth(format);
1981 VkClearValue makeClearColorValue (VkFormat format, float r, float g, float b, float a)
1983 const TextureFormat tcuFormat = mapVkFormat(format);
2025 // The expected value will always use the packed format, for clarity. We will handle it that way when verifying values.
2060 std::string getFormatCaseName (VkFormat format)
2062 return de::toLower(de::toString(getFormatStr(format)).substr(10));
2479 const VkFormat format = colorImageFormatsToTest[imageFormatIndex];
2480 const TextureFormat tcuFormat = mapVkFormat(format);
2495 makeClearColorValue(format, colorParams.clearColors[0][0], colorParams.clearColors[0][1], colorParams.clearColors[0][2], colorParams.clearColors[0][3]),
2496 makeClearColorValue(format, colorParams.clearColors[1][0], colorParams.clearColors[1][1], colorParams.clearColors[1][2], colorParams.clearColors[1][3]),
2501 expectedColors[0] = makeClearColorValue(format, colorParams.expectedColors[0][0], colorParams.expectedColors[0][1], colorParams.expectedColors[0][2], colorParams.expectedColors[0][3]);
2502 expectedColors[1] = makeClearColorValue(format, colorParams.expectedColors[1][0], colorParams.expectedColors[1][1], colorParams.expectedColors[1][2], colorParams.expectedColors[1][3]);
2510 std::string testCaseName = getFormatCaseName(format) + dimensionsString + colorParams.testNameSuffix;
2515 format, // VkFormat imageFormat;
2523 makeClearColorValue(format, 0.0f, 0.0f, 0.0f, 0.0f), // VkClearValue initValue;
2585 std::string testCaseName = getFormatCaseName(format) + dimensionsString;
2590 format, // VkFormat imageFormat;
2682 const VkFormat format = depthStencilImageFormatsToTest[imageFormatIndex];
2683 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order);
2684 const bool hasStencil = tcu::hasStencilComponent(mapVkFormat(format).order);
2689 const std::string testCaseName = getFormatCaseName(format) +
2698 format, // VkFormat format;
2728 const std::string testCaseNameRanges = getFormatCaseName(format) + dimensionsString + "_multiple_subresourcerange";
2770 const VkFormat format = colorImageFormatsToTest[imageFormatIndex];
2771 const TextureFormat tcuFormat = mapVkFormat(format);
2788 makeClearColorValue(format, colorParams.clearColors[0][0], colorParams.clearColors[0][1], colorParams.clearColors[0][2], colorParams.clearColors[0][3]),
2789 makeClearColorValue(format, colorParams.clearColors[1][0], colorParams.clearColors[1][1], colorParams.clearColors[1][2], colorParams.clearColors[1][3]),
2794 expectedColors[0] = makeClearColorValue(format, colorParams.expectedColors[0][0], colorParams.expectedColors[0][1], colorParams.expectedColors[0][2], colorParams.expectedColors[0][3]);
2795 expectedColors[1] = makeClearColorValue(format, colorParams.expectedColors[1][0], colorParams.expectedColors[1][1], colorParams.expectedColors[1][2], colorParams.expectedColors[1][3]);
2803 std::string testCaseName = getFormatCaseName(format) + dimensionsString + colorParams.testNameSuffix;
2808 format, // VkFormat format;
2813 makeClearColorValue(format, 0.2f, 0.1f, 0.7f, 0.8f), // VkClearValue initValue
2879 const VkFormat format = depthStencilImageFormatsToTest[imageFormatIndex];
2880 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order);
2881 const bool hasStencil = tcu::hasStencilComponent(mapVkFormat(format).order);
2886 const std::string testCaseName = getFormatCaseName(format) +
2896 format, // VkFormat format;