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.cpp81 VkFormat bufferFormat);
89 VkFormat bufferFormat,
94 static void genTexelBufferShaderAccess (VkFormat bufferFormat,
103 VkFormat bufferFormat,
119 VkFormat bufferFormat,
143 VkFormat bufferFormat,
164 VkFormat bufferFormat,
230 VkFormat bufferFormat,
247 VkFormat bufferFormat,
264 VkFormat bufferFormat) in RobustBufferAccessTest() argument
[all …]
DvktRobustnessUtil.cpp167 bool verifyOutOfBoundsVec4 (const void* vecPtr, VkFormat bufferFormat) in verifyOutOfBoundsVec4() argument
169 if (isUintFormat(bufferFormat)) in verifyOutOfBoundsVec4()
171 if (bufferFormat == VK_FORMAT_R64_UINT) in verifyOutOfBoundsVec4()
175 else if (isIntFormat(bufferFormat)) in verifyOutOfBoundsVec4()
177 if (bufferFormat == VK_FORMAT_R64_SINT) in verifyOutOfBoundsVec4()
181 else if (isFloatFormat(bufferFormat)) in verifyOutOfBoundsVec4()
190 else if (bufferFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32) in verifyOutOfBoundsVec4()
DvktRobustBufferAccessWithVariablePointersTests.cpp186 VkFormat bufferFormat);
208 VkFormat bufferFormat) in RobustAccessWithPointersTest() argument
212 , m_bufferFormat(bufferFormat) in RobustAccessWithPointersTest()
236 VkFormat bufferFormat,
258 VkFormat bufferFormat,
302 VkFormat bufferFormat,
364 VkFormat bufferFormat,
379 VkFormat bufferFormat,
821 std::string MakeShader(VkShaderStageFlags shaderStage, ShaderType shaderType, VkFormat bufferFormat in MakeShader() argument
823 …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
DUtilsVk.cpp47 const angle::Format &bufferFormat = format.bufferFormat(); in GetBufferUtilsFlags() local
49 if (bufferFormat.isSint()) in GetBufferUtilsFlags()
53 else if (bufferFormat.isUint()) in GetBufferUtilsFlags()
/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/vulkan/pipeline/
DvktPipelineImageUtil.cpp281 tcu::TextureFormat bufferFormat (tcu::TextureFormat::D, tcu::TextureFormat::CHANNELTYPE_LAST); in readDepthAttachment() local
288 bufferFormat.type = retFormat.type = tcu::TextureFormat::UNORM_INT16; in readDepthAttachment()
294 bufferFormat.type = tcu::TextureFormat::UNSIGNED_INT_24_8_REV; in readDepthAttachment()
298 bufferFormat.type = retFormat.type = tcu::TextureFormat::FLOAT; in readDepthAttachment()
304 …const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(… in readDepthAttachment()
338 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAl… in readDepthAttachment()
359 tcu::TextureFormat bufferFormat (tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in readStencilAttachment() local
362 …const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(… in readStencilAttachment()
396 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAl… in readStencilAttachment()
DvktPipelineSamplerBorderSwizzleTests.cpp451 const auto bufferFormat = access.getFormat(); in comparePixelToColorClearValue() local
454 const auto channelMask = getTextureFormatChannelMask(bufferFormat); in comparePixelToColorClearValue()
/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/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvbaseenc.c1917 resource->nv_resource.bufferFormat = in gst_nv_base_enc_set_format()
2300 NV_ENC_BUFFER_FORMAT bufferFormat) in _submit_input_buffer() argument
2316 pic_params.bufferFmt = bufferFormat; in _submit_input_buffer()
DnvEncodeAPI.h1998 …NV_ENC_BUFFER_FORMAT bufferFormat; /**< [in]: Buffer format of resource t… member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp938 const VkFormat bufferFormat,
1110 …::verifyBuffer (const UniquePtr<Allocation>& bufAlloc, const VkFormat bufferFormat, const std::str… in verifyBuffer() argument
1114 const tcu::TextureFormat bufferTextureFormat (mapVkFormat(bufferFormat)); in verifyBuffer()

12