Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp81 … ShaderType shaderType, VkFormat bufferFormat, bool testPipelineRobustness);
95 …static void genBufferShaderAccess(ShaderType shaderType, VkFormat bufferFormat, bool readFromStora…
98 …static void genTexelBufferShaderAccess(VkFormat bufferFormat, std::ostringstream &bufferDefinition,
107 … ShaderType shaderType, VkFormat bufferFormat, bool readFromStorage);
119 ShaderType shaderType, VkFormat bufferFormat, bool testPipelineRobustness,
139 ShaderType shaderType, VkFormat bufferFormat, bool testPipelineRobustness,
164 … ShaderType shaderType, VkShaderStageFlags shaderStage, VkFormat bufferFormat,
241 ShaderType shaderType, VkShaderStageFlags shaderStage, VkFormat bufferFormat,
262 … ShaderType shaderType, VkShaderStageFlags shaderStage, VkFormat bufferFormat,
280 VkFormat bufferFormat, bool testPipelineRobustness) in RobustBufferAccessTest() argument
[all …]
DvktRobustnessUtil.cpp201 bool verifyOutOfBoundsVec4(const void *vecPtr, VkFormat bufferFormat) in verifyOutOfBoundsVec4() argument
203 if (isUintFormat(bufferFormat)) in verifyOutOfBoundsVec4()
205 if (bufferFormat == VK_FORMAT_R64_UINT) in verifyOutOfBoundsVec4()
209 else if (isIntFormat(bufferFormat)) in verifyOutOfBoundsVec4()
211 if (bufferFormat == VK_FORMAT_R64_SINT) in verifyOutOfBoundsVec4()
215 else if (isFloatFormat(bufferFormat)) in verifyOutOfBoundsVec4()
222 else if (bufferFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32) in verifyOutOfBoundsVec4()
DvktRobustBufferAccessWithVariablePointersTests.cpp185 ShaderType shaderType, VkFormat bufferFormat);
204 VkFormat bufferFormat) in RobustAccessWithPointersTest() argument
208 , m_bufferFormat(bufferFormat) in RobustAccessWithPointersTest()
231 ShaderType shaderType, VkFormat bufferFormat, VkDeviceSize readAccessRange,
250 ShaderType shaderType, VkFormat bufferFormat, VkDeviceSize writeAccessRange,
299 ShaderType shaderType, VkShaderStageFlags shaderStage, VkFormat bufferFormat,
367 ShaderType shaderType, VkShaderStageFlags shaderStage, VkFormat bufferFormat,
386 ShaderType shaderType, VkShaderStageFlags shaderStage, VkFormat bufferFormat,
840 std::string MakeShader(VkShaderStageFlags shaderStage, ShaderType shaderType, VkFormat bufferFormat in MakeShader() argument
843 const bool isR64 = (bufferFormat == VK_FORMAT_R64_UINT || bufferFormat == VK_FORMAT_R64_SINT); in MakeShader()
[all …]
DvktRobustnessUtil.hpp52 bool verifyOutOfBoundsVec4(const void *vecPtr, vk::VkFormat bufferFormat);
/external/skia/src/gpu/ganesh/
DGrAHardwareBufferUtils.cpp26 SkColorType GetSkColorTypeFromBufferFormat(uint32_t bufferFormat) { in GetSkColorTypeFromBufferFormat() argument
27 return AHardwareBufferUtils::GetSkColorTypeFromBufferFormat(bufferFormat); in GetSkColorTypeFromBufferFormat()
32 uint32_t bufferFormat, bool requireKnownFormat) { in GetBackendFormat() argument
37 return GetGLBackendFormat(dContext, bufferFormat, requireKnownFormat); in GetBackendFormat()
43 return GetVulkanBackendFormat(dContext, hardwareBuffer, bufferFormat, requireKnownFormat); in GetBackendFormat()
DGrAHardwareBufferImageGenerator.cpp54 uint32_t bufferFormat, GrSurfaceOrigin surfaceOrigin) in GrAHardwareBufferImageGenerator() argument
57 , fBufferFormat(bufferFormat) in GrAHardwareBufferImageGenerator()
DGrAHardwareBufferImageGenerator.h42 bool isProtectedContent, uint32_t bufferFormat,
/external/skia/include/android/
DGrAHardwareBufferUtils.h27 SkColorType GetSkColorTypeFromBufferFormat(uint32_t bufferFormat);
31 uint32_t bufferFormat, bool requireKnownFormat);
34 GrBackendFormat GetGLBackendFormat(GrDirectContext* dContext, uint32_t bufferFormat,
37 uint32_t bufferFormat, bool requireKnownFormat);
DAHardwareBufferUtils.h17 SkColorType GetSkColorTypeFromBufferFormat(uint32_t bufferFormat);
/external/skia/src/gpu/android/
DAHardwareBufferUtils.cpp20 SkColorType GetSkColorTypeFromBufferFormat(uint32_t bufferFormat) { in GetSkColorTypeFromBufferFormat() argument
21 switch (bufferFormat) { in GetSkColorTypeFromBufferFormat()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilWriteConditionsTests.cpp106 … const VkFormat &bufferFormat) in DepthStencilWriteConditionsInstance() argument
109 , m_bufferFormat(bufferFormat) in DepthStencilWriteConditionsInstance()
378 const VkFormat bufferFormat);
395 const VkFormat bufferFormat) in DepthStencilWriteConditionsTest() argument
400 , m_bufferFormat(bufferFormat) in DepthStencilWriteConditionsTest()
/external/skia/src/gpu/ganesh/gl/
DAHardwareBufferGL.cpp34 uint32_t bufferFormat, bool requireKnownFormat) { in GetGLBackendFormat() argument
39 switch (bufferFormat) { in GetGLBackendFormat()
/external/swiftshader/src/Vulkan/
DVkImageView.cpp97 Identifier::Identifier(VkFormat bufferFormat) in Identifier() argument
100 …pack({ VK_IMAGE_VIEW_TYPE_1D, bufferFormat, ResolveComponentMapping(identityMapping, bufferFormat)… in Identifier()
/external/skia/src/gpu/ganesh/vk/
DAHardwareBufferVk.cpp36 uint32_t bufferFormat, bool requireKnownFormat) { in GetVulkanBackendFormat() argument
43 switch (bufferFormat) { in GetVulkanBackendFormat()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp311 tcu::TextureFormat bufferFormat(tcu::TextureFormat::D, tcu::TextureFormat::CHANNELTYPE_LAST); in readDepthAttachment() local
320 bufferFormat.type = retFormat.type = tcu::TextureFormat::UNORM_INT16; in readDepthAttachment()
326 bufferFormat.type = tcu::TextureFormat::UNSIGNED_INT_24_8_REV; in readDepthAttachment()
330 bufferFormat.type = retFormat.type = tcu::TextureFormat::FLOAT; in readDepthAttachment()
336 … const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(); in readDepthAttachment()
373 … tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAlloc->getHostPtr())); in readDepthAttachment()
389 tcu::TextureFormat bufferFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in readStencilAttachment() local
394 … const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize(); in readStencilAttachment()
431 … tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAlloc->getHostPtr())); in readStencilAttachment()
DvktPipelineSamplerBorderSwizzleTests.cpp515 const auto bufferFormat = access.getFormat(); in comparePixelToColorClearValue() local
563 const auto channelMask = getTextureFormatChannelMask(bufferFormat); in comparePixelToColorClearValue()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp196 const angle::Format &bufferFormat = getActualBufferFormat(compressed); in getVertexInputAlignment() local
197 size_t pixelBytes = bufferFormat.pixelBytes; in getVertexInputAlignment()
198 return mVkBufferFormatIsPacked ? pixelBytes : (pixelBytes / bufferFormat.channelCount); in getVertexInputAlignment()
DTextureVk.cpp728 const angle::Format &bufferFormat = vkFormat.getActualBufferFormat(false); in isFastUnpackPossible() local
729 const bool isCombinedDepthStencil = bufferFormat.hasDepthAndStencilBits(); in isFastUnpackPossible()
730 const bool isDepthXorStencil = bufferFormat.hasDepthOrStencilBits() && !isCombinedDepthStencil; in isFastUnpackPossible()
731 const bool isCompatibleDepth = vkFormat.getIntendedFormat().depthBits == bufferFormat.depthBits; in isFastUnpackPossible()
734 const bool formatsMatch = bufferFormat.hasDepthOrStencilBits() || in isFastUnpackPossible()
Dvk_helpers.cpp13294 const angle::Format &bufferFormat = format.getActualBufferFormat(false); in getView() local
13295 const GLuint pixelBytes = bufferFormat.pixelBytes; in getView()
/external/deqp/external/vulkancts/modules/vulkan/shader_object/
DvktShaderObjectRenderingTests.cpp229 tcu::TextureFormat bufferFormat(tcu::TextureFormat::D, tcu::TextureFormat::CHANNELTYPE_LAST); in readDepthAttachment() local
239 bufferFormat.type = retFormat.type = tcu::TextureFormat::UNORM_INT16; in readDepthAttachment()
245 bufferFormat.type = tcu::TextureFormat::UNSIGNED_INT_24_8_REV; in readDepthAttachment()
249 bufferFormat.type = retFormat.type = tcu::TextureFormat::FLOAT; in readDepthAttachment()
255 …const vk::VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize… in readDepthAttachment()
292 … tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAlloc->getHostPtr())); in readDepthAttachment()
DvktShaderObjectMiscTests.cpp476 tcu::TextureFormat bufferFormat(tcu::TextureFormat::D, tcu::TextureFormat::CHANNELTYPE_LAST); in readDepthAttachment() local
486 bufferFormat.type = retFormat.type = tcu::TextureFormat::UNORM_INT16; in readDepthAttachment()
492 bufferFormat.type = tcu::TextureFormat::UNSIGNED_INT_24_8_REV; in readDepthAttachment()
496 bufferFormat.type = retFormat.type = tcu::TextureFormat::FLOAT; in readDepthAttachment()
502 …const vk::VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize… in readDepthAttachment()
539 … tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAlloc->getHostPtr())); in readDepthAttachment()
555 tcu::TextureFormat bufferFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in readStencilAttachment() local
561 …const vk::VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * bufferFormat.getPixelSize… in readStencilAttachment()
598 … tcu::ConstPixelBufferAccess(bufferFormat, resultLevel->getSize(), bufferAlloc->getHostPtr())); in readStencilAttachment()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageDepthStencilDescriptorTests.cpp1321 const auto bufferFormat = getAspectStorageFormat(descriptors.at(bufferIdx).aspect); in iterate() local
1322 const auto tcuBufferFormat = mapVkFormat(bufferFormat); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp941 virtual bool verifyBuffer(const UniquePtr<Allocation> &bufAlloc, const VkFormat bufferFormat,
1135 …elessTestInstance::verifyBuffer(const UniquePtr<Allocation> &bufAlloc, const VkFormat bufferFormat, in verifyBuffer() argument
1142 const tcu::TextureFormat bufferTextureFormat(mapVkFormat(bufferFormat)); in verifyBuffer()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp3851 const VkFormat bufferFormat = m_depthTest ? getDepthBufferFormat(m_dsFormat) : in readImage() local
3854 …_t imagePixelSize = static_cast<uint32_t>(tcu::getPixelSize(mapVkFormat(bufferFormat))); in readImage()
3856 const tcu::TextureFormat tcuBufferFormat = mapVkFormat(bufferFormat); in readImage()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp3199 DXGI_FORMAT bufferFormat = (indexInfo.indexType == gl::DrawElementsType::UnsignedInt) in applyIndexBuffer() local
3216 syncIndexBuffer(buffer, bufferFormat, indexInfo.startOffset); in applyIndexBuffer()