Home
last modified time | relevance | path

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

12

/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/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/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/flutter/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp302 const angle::Format &bufferFormat = format.bufferFormat(); in GetVertexInputAlignment() local
303 size_t pixelBytes = bufferFormat.pixelBytes; in GetVertexInputAlignment()
304 return format.vkBufferFormatIsPacked ? pixelBytes : (pixelBytes / bufferFormat.channelCount); in GetVertexInputAlignment()
DVertexArrayVk.cpp244 const angle::Format &destFormat = vertexFormat.bufferFormat(); in convertVertexBufferGPU()
292 unsigned dstFormatSize = vertexFormat.bufferFormat().pixelBytes; in convertVertexBufferCPU()
446 stride = vertexFormat.bufferFormat().pixelBytes; in syncDirtyAttrib()
500 stride = vertexFormat.bufferFormat().pixelBytes; in syncDirtyAttrib()
582 GLuint stride = vertexFormat.bufferFormat().pixelBytes; in updateClientAttribs()
Dvk_format_utils.h67 const angle::Format &bufferFormat() const { return angle::Format::Get(bufferFormatID); } in bufferFormat() function
/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()
/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()
/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()

12