Home
last modified time | relevance | path

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

/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/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()
Dvk_helpers.cpp8508 const angle::Format &bufferFormat = format.getActualBufferFormat(false); in getView() local
8509 const GLuint pixelBytes = bufferFormat.pixelBytes; in getView()
/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()
/third_party/ffmpeg/libavcodec/
Dnvenc.c1791 reg.bufferFormat = nvenc_map_buffer_format(frames_ctx->sw_format); in nvenc_register_frame()
1792 if (reg.bufferFormat == NV_ENC_BUFFER_FORMAT_UNDEFINED) { in nvenc_register_frame()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp3337 const VkFormat bufferFormat = m_depthTest ? getDepthBufferFormat(m_dsFormat) : in readImage() local
3340 …t deUint32 imagePixelSize = static_cast<deUint32>(tcu::getPixelSize(mapVkFormat(bufferFormat))); in readImage()
3342 const tcu::TextureFormat tcuBufferFormat = mapVkFormat(bufferFormat); in readImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp3221 DXGI_FORMAT bufferFormat = (indexInfo.indexType == gl::DrawElementsType::UnsignedInt) in applyIndexBuffer() local
3238 syncIndexBuffer(buffer, bufferFormat, indexInfo.startOffset); in applyIndexBuffer()