Home
last modified time | relevance | path

Searched refs:VkFormat (Results 1 – 25 of 181) sorted by relevance

12345678

/external/vulkan-validation-layers/layers/
Dvk_layer_utils.h96 static inline bool vk_format_is_undef(VkFormat format) { return (format == VK_FORMAT_UNDEFINED); } in vk_format_is_undef()
98 bool vk_format_is_depth_or_stencil(VkFormat format);
99 bool vk_format_is_depth_and_stencil(VkFormat format);
100 bool vk_format_is_depth_only(VkFormat format);
101 bool vk_format_is_stencil_only(VkFormat format);
103 static inline bool vk_format_is_color(VkFormat format) { in vk_format_is_color()
107 VK_LAYER_EXPORT bool vk_format_is_norm(VkFormat format);
108 VK_LAYER_EXPORT bool vk_format_is_int(VkFormat format);
109 VK_LAYER_EXPORT bool vk_format_is_sint(VkFormat format);
110 VK_LAYER_EXPORT bool vk_format_is_uint(VkFormat format);
[all …]
Dvk_layer_utils.cpp36 const std::map<VkFormat, VULKAN_FORMAT_INFO> vk_format_table = {
233 VK_LAYER_EXPORT bool vk_format_is_depth_or_stencil(VkFormat format) { in vk_format_is_depth_or_stencil()
238 VK_LAYER_EXPORT bool vk_format_is_depth_and_stencil(VkFormat format) { in vk_format_is_depth_and_stencil()
254 VK_LAYER_EXPORT bool vk_format_is_stencil_only(VkFormat format) { return (format == VK_FORMAT_S8_UI… in vk_format_is_stencil_only()
257 VK_LAYER_EXPORT bool vk_format_is_depth_only(VkFormat format) { in vk_format_is_depth_only()
274 VK_LAYER_EXPORT bool vk_format_is_norm(VkFormat format) { in vk_format_is_norm()
349 VK_LAYER_EXPORT bool vk_format_is_int(VkFormat format) { return (vk_format_is_sint(format) || vk_fo… in vk_format_is_int()
352 VK_LAYER_EXPORT bool vk_format_is_uint(VkFormat format) { in vk_format_is_uint()
387 VK_LAYER_EXPORT bool vk_format_is_sint(VkFormat format) { in vk_format_is_sint()
422 VK_LAYER_EXPORT bool vk_format_is_float(VkFormat format) { in vk_format_is_float()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexUtil.hpp50 deUint32 getVertexFormatSize (vk::VkFormat format);
51 deUint32 getVertexFormatComponentCount (vk::VkFormat format);
52 deUint32 getVertexFormatComponentSize (vk::VkFormat format);
53 bool isVertexFormatComponentOrderBGR (vk::VkFormat format);
54 bool isVertexFormatSint (vk::VkFormat format);
55 bool isVertexFormatUint (vk::VkFormat format);
56 bool isVertexFormatSfloat (vk::VkFormat format);
57 bool isVertexFormatUfloat (vk::VkFormat format);
58 bool isVertexFormatUnorm (vk::VkFormat format);
59 bool isVertexFormatSnorm (vk::VkFormat format);
[all …]
DvktPipelineVertexUtil.cpp37 deUint32 getVertexFormatSize (VkFormat format) in getVertexFormatSize()
172 deUint32 getVertexFormatComponentCount (VkFormat format) in getVertexFormatComponentCount()
295 deUint32 getVertexFormatComponentSize (VkFormat format) in getVertexFormatComponentSize()
401 bool isVertexFormatComponentOrderBGR (VkFormat format) in isVertexFormatComponentOrderBGR()
433 bool isVertexFormatSint (VkFormat format) in isVertexFormatSint()
462 bool isVertexFormatUint (VkFormat format) in isVertexFormatUint()
492 bool isVertexFormatSfloat (VkFormat format) in isVertexFormatSfloat()
518 bool isVertexFormatUfloat (VkFormat format) in isVertexFormatUfloat()
534 bool isVertexFormatUnorm (VkFormat format) in isVertexFormatUnorm()
563 bool isVertexFormatSnorm (VkFormat format) in isVertexFormatSnorm()
[all …]
DvktPipelineSamplerTests.cpp59 VkFormat imageFormat,
76 VkFormat m_imageFormat;
90 VkFormat imageFormat,
106 VkFormat imageFormat,
122 VkFormat imageFormat,
145 VkFormat imageFormat,
169 VkFormat imageFormat, in SamplerTest()
413 VkFormat imageFormat, in SamplerMagFilterTest()
435 VkFormat imageFormat, in SamplerMinFilterTest()
459 VkFormat imageFormat, in SamplerLodTest()
[all …]
DvktPipelineDepthTests.cpp57 …tencilFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) in isSupportedDepthStencilFormat()
66 tcu::TestStatus testSupportsDepthStencilFormat (Context& context, VkFormat format) in testSupportsDepthStencilFormat()
76 …us testSupportsAtLeastOneDepthStencilFormat (Context& context, const std::vector<VkFormat> formats) in testSupportsAtLeastOneDepthStencilFormat()
85 const VkFormat format = formats[formatNdx]; in testSupportsAtLeastOneDepthStencilFormat()
118 const VkFormat depthFormat,
125 const VkFormat m_depthFormat;
132 …DepthTestInstance (Context& context, const VkFormat depthFormat, const VkCompareOp depthCompareOp…
142 const VkFormat m_colorFormat;
143 const VkFormat m_depthFormat;
182 const VkFormat depthFormat, in DepthTest()
[all …]
DvktPipelineImageSamplingInstance.hpp48 vk::VkFormat imageFormat,
76 const vk::VkFormat m_imageFormat;
93 const vk::VkFormat m_colorFormat;
DvktPipelineImageUtil.hpp54 vk::VkFormat format);
57 vk::VkFormat format,
60 vk::VkBorderColor getFormatBorderColor (BorderColor color, vk::VkFormat format);
62 void getLookupScaleBias (vk::VkFormat format,
79 vk::VkFormat format,
DvktPipelineImageTests.cpp57 VkFormat imageFormat,
77 VkFormat m_imageFormat;
88 VkFormat imageFormat, in ImageTest()
370 std::string getFormatCaseName (const VkFormat format) in getFormatCaseName()
409 … testCtx, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat, int … in createImageSizeTests()
553 …ntext& testCtx, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat) in createImageCountTests()
572 const VkFormat formats[] = in createImageFormatTests()
699 const VkFormat format = formats[formatNdx]; in createImageFormatTests()
DvktPipelineImageViewTests.cpp59 VkFormat imageFormat,
77 VkFormat m_imageFormat;
87 VkFormat imageFormat, in ImageViewTest()
323 static std::string getFormatCaseName (const VkFormat format) in getFormatCaseName()
332 …ateSubresourceRangeTests(tcu::TestContext& testCtx, VkImageViewType viewType, VkFormat imageFormat) in createSubresourceRangeTests()
600 …teComponentSwizzleTests (tcu::TestContext& testCtx, VkImageViewType viewType, VkFormat imageFormat) in createComponentSwizzleTests()
674 const VkFormat formats[] = in createImageViewTests()
808 const VkFormat format = formats[formatNdx]; in createImageViewTests()
DvktPipelineStencilTests.cpp59 …tencilFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) in isSupportedDepthStencilFormat()
116 VkFormat stencilFormat,
124 VkFormat m_stencilFormat;
133 VkFormat stencilFormat,
145 const VkFormat m_colorFormat;
146 const VkFormat m_stencilFormat;
263 VkFormat stencilFormat, in StencilTest()
309 VkFormat stencilFormat, in StencilTestInstance()
1080 std::string getFormatCaseName (VkFormat format) in getFormatCaseName()
1093 const VkFormat stencilFormats[] = in createStencilTests()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp35 bool isFloatFormat (VkFormat format);
36 bool isUnormFormat (VkFormat format);
37 bool isSnormFormat (VkFormat format);
38 bool isIntFormat (VkFormat format);
39 bool isUintFormat (VkFormat format);
40 bool isDepthStencilFormat (VkFormat format);
41 bool isCompressedFormat (VkFormat format);
42 bool isSrgbFormat (VkFormat format);
44 bool isSupportedByFramework (VkFormat format);
46 tcu::TextureFormat mapVkFormat (VkFormat format);
[all …]
DvkImageUtil.cpp32 bool isFloatFormat (VkFormat format) in isFloatFormat()
37 bool isUnormFormat (VkFormat format) in isUnormFormat()
42 bool isSnormFormat (VkFormat format) in isSnormFormat()
47 bool isIntFormat (VkFormat format) in isIntFormat()
52 bool isUintFormat (VkFormat format) in isUintFormat()
57 bool isDepthStencilFormat (VkFormat format) in isDepthStencilFormat()
66 bool isSrgbFormat (VkFormat format) in isSrgbFormat()
83 bool isCompressedFormat (VkFormat format) in isCompressedFormat()
159 bool isSupportedByFramework (VkFormat format) in isSupportedByFramework()
204 VkFormat mapTextureFormat (const tcu::TextureFormat& format) in mapTextureFormat()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreUtil.hpp48 inline float computeStoreColorBias (const vk::VkFormat format) in computeStoreColorBias()
53 inline bool isIntegerFormat (const vk::VkFormat format) in isIntegerFormat()
58 inline bool colorScaleAndBiasAreValid (const vk::VkFormat format, const float colorScale, const flo… in colorScaleAndBiasAreValid()
65 float computeStoreColorScale (const vk::VkFormat format, const tcu::IVec3 imageSize);
67 vk::VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const vk::VkFormat format, c…
DvktImageLoadStoreTests.cpp96 const VkFormat format, in comparePixelBuffers()
187 …enerateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat rea… in generateReferenceImage()
223 inline tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageF… in generateReferenceImage()
253 inline bool formatsAreCompatible (const VkFormat format0, const VkFormat format1) in formatsAreCompatible()
321 const VkFormat format,
330 const VkFormat m_format;
338 const VkFormat format, in StoreTest()
403 const VkFormat format,
423 const VkFormat m_format;
427 BaseTestInstance::BaseTestInstance (Context& context, const Texture& texture, const VkFormat format… in BaseTestInstance()
[all …]
DvktImageSizeTests.cpp86 inline VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const VkFormat format) in makeImageCreateInfo()
164 const VkFormat format,
172 const VkFormat m_format;
181 const VkFormat format, in SizeTest()
248 const VkFormat format);
260 const VkFormat m_format;
265 SizeTestInstance::SizeTestInstance (Context& context, const Texture& texture, const VkFormat format) in SizeTestInstance()
341 const VkFormat format);
356 …stInstance::ImageSizeTestInstance (Context& context, const Texture& texture, const VkFormat format) in ImageSizeTestInstance()
417 const VkFormat format);
[all …]
DvktImageTestsUtil.hpp128 const vk::VkFormat format,
136 const vk::VkFormat format,
174 inline vk::VkDeviceSize getImageSizeBytes (const tcu::IVec3& imageSize, const vk::VkFormat format) in getImageSizeBytes()
179 std::string getFormatShortString (const vk::VkFormat format);
/external/skia/src/gpu/vk/
DGrVkUtil.h33 bool GrPixelConfigToVkFormat(GrPixelConfig config, VkFormat* format);
38 bool GrVkFormatToPixelConfig(VkFormat format, GrPixelConfig* config);
44 bool GrVkFormatIsSRGB(VkFormat format, VkFormat* linearFormat);
DGrVkUtil.cpp13 bool GrPixelConfigToVkFormat(GrPixelConfig config, VkFormat* format) { in GrPixelConfigToVkFormat()
14 VkFormat dontCare; in GrPixelConfigToVkFormat()
72 bool GrVkFormatToPixelConfig(VkFormat format, GrPixelConfig* config) { in GrVkFormatToPixelConfig()
126 bool GrVkFormatIsSRGB(VkFormat format, VkFormat* linearFormat) { in GrVkFormatIsSRGB()
127 VkFormat linearFmt = format; in GrVkFormatIsSRGB()
DGrVkStencilAttachment.h21 VkFormat fInternalFormat;
35 VkFormat vkFormat() const { return fFormat.fInternalFormat; } in vkFormat()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp324 VkFormat imageFormat;
338 …Move<VkImage> createImage (VkImageType imageType, VkFormat format, VkExtent3D extent, Vk…
339 …Move<VkImageView> createImageView (VkImage image, VkImageViewType viewType, VkFormat forma…
340 Move<VkRenderPass> createRenderPass (VkFormat format) const;
354 VkImageUsageFlags getImageUsageFlags (VkFormat format) const;
355 VkImageAspectFlags getImageAspectFlags (VkFormat format) const;
356 bool getIsAttachmentFormat (VkFormat format) const;
357 bool getIsStencilFormat (VkFormat format) const;
358 bool getIsDepthFormat (VkFormat format) const;
438 VkImageUsageFlags ImageClearingTestInstance::getImageUsageFlags (VkFormat format) const in getImageUsageFlags()
[all …]
DvktApiGranularityTests.cpp56 AttachmentInfo (const VkFormat vkFormat, in AttachmentInfo()
70 VkFormat format;
85 void checkFormatSupport (const VkFormat format);
120 void GranularityInstance::checkFormatSupport (const VkFormat format) in checkFormatSupport()
446 const VkFormat mandatoryFormats[] = in createGranularityQueryTests()
503 VkFormat format = VkFormat(formatIdx); in createGranularityQueryTests()
516 …attachments.push_back(AttachmentInfo(VkFormat(formatIdx), rnd.getInt(1, maxDimension), rnd.getInt(… in createGranularityQueryTests()
523 …attachments.push_back(AttachmentInfo(VkFormat(formatIdx), rnd.getInt(1, maxDimension), rnd.getInt(… in createGranularityQueryTests()
DvktApiFeatureInfo.cpp1239 VkFormatFeatureFlags getRequiredOptimalTilingFeatures (VkFormat format) in getRequiredOptimalTilingFeatures()
1241 static const VkFormat s_requiredSampledImageBlitSrcFormats[] = in getRequiredOptimalTilingFeatures()
1291 static const VkFormat s_requiredSampledImageFilterLinearFormats[] = in getRequiredOptimalTilingFeatures()
1315 static const VkFormat s_requiredStorageImageFormats[] = in getRequiredOptimalTilingFeatures()
1334 static const VkFormat s_requiredStorageImageAtomicFormats[] = in getRequiredOptimalTilingFeatures()
1339 static const VkFormat s_requiredColorAttachmentBlitDstFormats[] = in getRequiredOptimalTilingFeatures()
1380 static const VkFormat s_requiredColorAttachmentBlendFormats[] = in getRequiredOptimalTilingFeatures()
1397 static const VkFormat s_requiredDepthStencilAttachmentFormats[] = in getRequiredOptimalTilingFeatures()
1428 VkFormatFeatureFlags getRequiredBufferFeatures (VkFormat format) in getRequiredBufferFeatures()
1430 static const VkFormat s_requiredVertexBufferFormats[] = in getRequiredBufferFeatures()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp56 inline VkImageCreateInfo makeImageCreateInfo (const tcu::IVec2& size, const VkFormat format, const … in makeImageCreateInfo()
109 const VkFormat colorFormat, in makeRenderPass()
111 const VkFormat depthStencilFormat) in makeRenderPass()
445 VkImageAspectFlags getImageAspectFlags (const VkFormat format) in getImageAspectFlags()
457 … (const InstanceInterface& instanceInterface, const VkPhysicalDevice device, const VkFormat format) in isSupportedDepthStencilFormat()
464 VkFormat pickSupportedDepthStencilFormat (const InstanceInterface& instanceInterface, in pickSupportedDepthStencilFormat()
467 const VkFormat* pFormats) in pickSupportedDepthStencilFormat()
590 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate()
597 static const VkFormat stencilFormats[] = in iterate()
606 …const VkFormat testFormat = (m_testMode == MODE_STENCIL ? pickSupportedDepthStencilFormat(vki, phy… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationUtil.hpp134 …GraphicsPipelineBuilder& setVertexInputSingleAttribute (const vk::VkFormat vertexFormat, const deU…
193 vk::VkFormat imageFormat;
209 vk::VkFormat format;
215 …onst vk::VkImageType imageType, const vk::VkExtent3D& extent, const vk::VkFormat format, const vk:…
222 … (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat);
224 … const vk::VkImage image, const vk::VkImageViewType viewType, const vk::VkFormat format, const vk:…

12345678