Home
last modified time | relevance | path

Searched refs:bufferFormat (Results 1 – 25 of 30) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp82 VkFormat bufferFormat,
91 VkFormat bufferFormat,
96 static void genTexelBufferShaderAccess (VkFormat bufferFormat,
109 VkFormat bufferFormat,
126 VkFormat bufferFormat,
151 VkFormat bufferFormat,
178 VkFormat bufferFormat,
256 VkFormat bufferFormat,
279 VkFormat bufferFormat,
297 VkFormat bufferFormat, in RobustBufferAccessTest() argument
[all …]
DvktRobustnessUtil.cpp214 bool verifyOutOfBoundsVec4 (const void* vecPtr, VkFormat bufferFormat) in verifyOutOfBoundsVec4() argument
216 if (isUintFormat(bufferFormat)) in verifyOutOfBoundsVec4()
218 if (bufferFormat == VK_FORMAT_R64_UINT) in verifyOutOfBoundsVec4()
222 else if (isIntFormat(bufferFormat)) in verifyOutOfBoundsVec4()
224 if (bufferFormat == VK_FORMAT_R64_SINT) in verifyOutOfBoundsVec4()
228 else if (isFloatFormat(bufferFormat)) in verifyOutOfBoundsVec4()
237 else if (bufferFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32) in verifyOutOfBoundsVec4()
DvktRobustBufferAccessWithVariablePointersTests.cpp194 VkFormat bufferFormat);
216 VkFormat bufferFormat) in RobustAccessWithPointersTest() argument
220 , m_bufferFormat(bufferFormat) in RobustAccessWithPointersTest()
244 VkFormat bufferFormat,
266 VkFormat bufferFormat,
315 VkFormat bufferFormat,
387 VkFormat bufferFormat,
407 VkFormat bufferFormat,
849 std::string MakeShader(VkShaderStageFlags shaderStage, ShaderType shaderType, VkFormat bufferFormat in MakeShader() argument
851 …const bool isR64 = (bufferFormat == VK_FORMAT_R64_UINT || bufferFormat == VK_FORMAT_R64_SIN… in MakeShader()
[all …]
DvktRobustnessUtil.hpp45 bool verifyOutOfBoundsVec4 (const void* vecPtr, vk::VkFormat bufferFormat);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp82 VkFormat bufferFormat,
91 VkFormat bufferFormat,
96 static void genTexelBufferShaderAccess (VkFormat bufferFormat,
109 VkFormat bufferFormat,
126 VkFormat bufferFormat,
151 VkFormat bufferFormat,
178 VkFormat bufferFormat,
256 VkFormat bufferFormat,
279 VkFormat bufferFormat,
297 VkFormat bufferFormat, in RobustBufferAccessTest() argument
[all …]
DvktRobustnessUtil.cpp214 bool verifyOutOfBoundsVec4 (const void* vecPtr, VkFormat bufferFormat) in verifyOutOfBoundsVec4() argument
216 if (isUintFormat(bufferFormat)) in verifyOutOfBoundsVec4()
218 if (bufferFormat == VK_FORMAT_R64_UINT) in verifyOutOfBoundsVec4()
222 else if (isIntFormat(bufferFormat)) in verifyOutOfBoundsVec4()
224 if (bufferFormat == VK_FORMAT_R64_SINT) in verifyOutOfBoundsVec4()
228 else if (isFloatFormat(bufferFormat)) in verifyOutOfBoundsVec4()
237 else if (bufferFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32) in verifyOutOfBoundsVec4()
DvktRobustBufferAccessWithVariablePointersTests.cpp194 VkFormat bufferFormat);
216 VkFormat bufferFormat) in RobustAccessWithPointersTest() argument
220 , m_bufferFormat(bufferFormat) in RobustAccessWithPointersTest()
244 VkFormat bufferFormat,
266 VkFormat bufferFormat,
315 VkFormat bufferFormat,
387 VkFormat bufferFormat,
407 VkFormat bufferFormat,
849 std::string MakeShader(VkShaderStageFlags shaderStage, ShaderType shaderType, VkFormat bufferFormat in MakeShader() argument
851 …const bool isR64 = (bufferFormat == VK_FORMAT_R64_UINT || bufferFormat == VK_FORMAT_R64_SIN… in MakeShader()
[all …]
DvktRobustnessUtil.hpp45 bool verifyOutOfBoundsVec4 (const void* vecPtr, vk::VkFormat bufferFormat);
/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.h25 SkColorType GetSkColorTypeFromBufferFormat(uint32_t bufferFormat);
28 uint32_t bufferFormat, bool requireKnownFormat);
DGrAHardwareBufferUtils.cpp40 SkColorType GetSkColorTypeFromBufferFormat(uint32_t bufferFormat) { in GetSkColorTypeFromBufferFormat() argument
41 switch (bufferFormat) { in GetSkColorTypeFromBufferFormat()
64 uint32_t bufferFormat, bool requireKnownFormat) { in GetBackendFormat() argument
68 switch (bufferFormat) { in GetBackendFormat()
90 switch (bufferFormat) { in GetBackendFormat()
DGrAHardwareBufferImageGenerator.cpp68 uint32_t bufferFormat, GrSurfaceOrigin surfaceOrigin) in GrAHardwareBufferImageGenerator() argument
71 , fBufferFormat(bufferFormat) in GrAHardwareBufferImageGenerator()
DGrAHardwareBufferImageGenerator.h50 bool isProtectedContent, uint32_t bufferFormat,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassDepthStencilWriteConditionsTests.cpp104 …teConditionsInstance (Context& context, const BufferType& bufferType, const VkFormat& bufferFormat) in DepthStencilWriteConditionsInstance() argument
105 : TestInstance (context), m_bufferType(bufferType), m_bufferFormat(bufferFormat) in DepthStencilWriteConditionsInstance()
364 const VkFormat bufferFormat);
382 const VkFormat bufferFormat) in DepthStencilWriteConditionsTest() argument
387 , m_bufferFormat(bufferFormat) in DepthStencilWriteConditionsTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilWriteConditionsTests.cpp104 …teConditionsInstance (Context& context, const BufferType& bufferType, const VkFormat& bufferFormat) in DepthStencilWriteConditionsInstance() argument
105 : TestInstance (context), m_bufferType(bufferType), m_bufferFormat(bufferFormat) in DepthStencilWriteConditionsInstance()
364 const VkFormat bufferFormat);
382 const VkFormat bufferFormat) in DepthStencilWriteConditionsTest() argument
387 , m_bufferFormat(bufferFormat) in DepthStencilWriteConditionsTest()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImageView.cpp94 Identifier::Identifier(VkFormat bufferFormat) in Identifier() argument
97 …pack({ VK_IMAGE_VIEW_TYPE_1D, bufferFormat, ResolveComponentMapping(identityMapping, bufferFormat)… in Identifier()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp203 const angle::Format &bufferFormat = getActualBufferFormat(compressed); in getVertexInputAlignment() local
204 size_t pixelBytes = bufferFormat.pixelBytes; in getVertexInputAlignment()
205 return mVkBufferFormatIsPacked ? pixelBytes : (pixelBytes / bufferFormat.channelCount); in getVertexInputAlignment()
DTextureVk.cpp422 const angle::Format &bufferFormat = vkFormat.getActualBufferFormat(false); in isFastUnpackPossible() local
423 const bool isCombinedDepthStencil = bufferFormat.depthBits > 0 && bufferFormat.stencilBits > 0; in isFastUnpackPossible()
424 const bool isDepthXorStencil = (bufferFormat.depthBits > 0 && bufferFormat.stencilBits == 0) || in isFastUnpackPossible()
425 (bufferFormat.depthBits == 0 && bufferFormat.stencilBits > 0); in isFastUnpackPossible()
426 const bool isCompatibleDepth = vkFormat.getIntendedFormat().depthBits == bufferFormat.depthBits; in isFastUnpackPossible()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineImageUtil.cpp297 tcu::TextureFormat bufferFormat (tcu::TextureFormat::D, tcu::TextureFormat::CHANNELTYPE_LAST); in readDepthAttachment() local
304 bufferFormat.type = retFormat.type = tcu::TextureFormat::UNORM_INT16; in readDepthAttachment()
310 bufferFormat.type = tcu::TextureFormat::UNSIGNED_INT_24_8_REV; in readDepthAttachment()
314 bufferFormat.type = retFormat.type = tcu::TextureFormat::FLOAT; in readDepthAttachment()
320 …const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(… in readDepthAttachment()
354 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAl… in readDepthAttachment()
375 tcu::TextureFormat bufferFormat (tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in readStencilAttachment() local
378 …const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(… in readStencilAttachment()
412 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAl… in readStencilAttachment()
DvktPipelineSamplerBorderSwizzleTests.cpp454 const auto bufferFormat = access.getFormat(); in comparePixelToColorClearValue() local
457 const auto channelMask = getTextureFormatChannelMask(bufferFormat); in comparePixelToColorClearValue()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp297 tcu::TextureFormat bufferFormat (tcu::TextureFormat::D, tcu::TextureFormat::CHANNELTYPE_LAST); in readDepthAttachment() local
304 bufferFormat.type = retFormat.type = tcu::TextureFormat::UNORM_INT16; in readDepthAttachment()
310 bufferFormat.type = tcu::TextureFormat::UNSIGNED_INT_24_8_REV; in readDepthAttachment()
314 bufferFormat.type = retFormat.type = tcu::TextureFormat::FLOAT; in readDepthAttachment()
320 …const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(… in readDepthAttachment()
354 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAl… in readDepthAttachment()
375 tcu::TextureFormat bufferFormat (tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in readStencilAttachment() local
378 …const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(… in readStencilAttachment()
412 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAl… in readStencilAttachment()
DvktPipelineSamplerBorderSwizzleTests.cpp454 const auto bufferFormat = access.getFormat(); in comparePixelToColorClearValue() local
457 const auto channelMask = getTextureFormatChannelMask(bufferFormat); in comparePixelToColorClearValue()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageDepthStencilDescriptorTests.cpp1237 const auto bufferFormat = getAspectStorageFormat(descriptors.at(bufferIdx).aspect); in iterate() local
1238 const auto tcuBufferFormat = mapVkFormat(bufferFormat); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageDepthStencilDescriptorTests.cpp1237 const auto bufferFormat = getAspectStorageFormat(descriptors.at(bufferIdx).aspect); in iterate() local
1238 const auto tcuBufferFormat = mapVkFormat(bufferFormat); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp994 const VkFormat bufferFormat,
1166 …::verifyBuffer (const UniquePtr<Allocation>& bufAlloc, const VkFormat bufferFormat, const std::str… in verifyBuffer() argument
1170 const tcu::TextureFormat bufferTextureFormat (mapVkFormat(bufferFormat)); in verifyBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp994 const VkFormat bufferFormat,
1166 …::verifyBuffer (const UniquePtr<Allocation>& bufAlloc, const VkFormat bufferFormat, const std::str… in verifyBuffer() argument
1170 const tcu::TextureFormat bufferTextureFormat (mapVkFormat(bufferFormat)); in verifyBuffer()

12