Home
last modified time | relevance | path

Searched refs:deAlignSize (Results 1 - 20 of 20) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktBitstreamBufferImpl.cpp81 createBufferInfo.size = deAlignSize(bufferSize, m_bufferSizeAlignment); in Initialize()
100 dstBufferOffset = deAlignSize(dstBufferOffset, m_bufferOffsetAlignment); in CopyDataToBuffer()
/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeMemory.c144 const size_t ptrAlignedAlign = deAlignSize(alignBytes, sizeof(void*)); in deAlignedMalloc()
H A DdeInt32.h378 DE_INLINE size_t deAlignSize (size_t val, size_t align) in deAlignSize() function
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
H A DvktExternalMemoryUtil.hpp184 : size(deAlignSize(static_cast<size_t>(aSize), static_cast<size_t>(aAlignment))) in ExternalHostMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp1236 const VkDeviceSize colorBufferSize = static_cast<VkDeviceSize>(deAlignSize(params.image.size.width * params.image.size.height * colorImagePixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers);
1307 const VkDeviceSize colorBufferSize = static_cast<VkDeviceSize>( deAlignSize(params.image.size.width * params.image.size.height * colorImagePixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers );
1318 const VkDeviceSize depthBufferSize = static_cast<VkDeviceSize>(deAlignSize(params.image.size.width * params.image.size.height * dsImagePixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers);
1322 const VkDeviceSize stencilBufferSize = static_cast<VkDeviceSize>(deAlignSize( params.image.size.width * params.image.size.height * stencilPixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers);
1584 const VkDeviceSize colorBufferSize = static_cast<VkDeviceSize>(deAlignSize(params.image.size.width * params.image.size.height * colorImagePixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp1236 const VkDeviceSize colorBufferSize = static_cast<VkDeviceSize>(deAlignSize(params.image.size.width * params.image.size.height * colorImagePixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers);
1307 const VkDeviceSize colorBufferSize = static_cast<VkDeviceSize>( deAlignSize(params.image.size.width * params.image.size.height * colorImagePixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers );
1318 const VkDeviceSize depthBufferSize = static_cast<VkDeviceSize>(deAlignSize(params.image.size.width * params.image.size.height * dsImagePixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers);
1322 const VkDeviceSize stencilBufferSize = static_cast<VkDeviceSize>(deAlignSize( params.image.size.width * params.image.size.height * stencilPixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers);
1584 const VkDeviceSize colorBufferSize = static_cast<VkDeviceSize>(deAlignSize(params.image.size.width * params.image.size.height * colorImagePixelSize, static_cast<std::size_t>(alignmentSize)) * params.image.size.depth * params.image.numLayers);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
H A DvktExternalMemoryUtil.hpp232 : size(deAlignSize(static_cast<size_t>(aSize), static_cast<size_t>(aAlignment))) in ExternalHostMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTestsUtils.cpp591 const VkDeviceSize roundedSize (deAlignSize(static_cast<size_t>(desiredSize), nonCoherentAtomSize)); in createBufferAndBind()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTestsUtils.cpp591 const VkDeviceSize roundedSize (deAlignSize(static_cast<size_t>(desiredSize), nonCoherentAtomSize)); in createBufferAndBind()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkRayTracingUtil.cpp766 bufferSizeBytes += deAlignSize(geometriesData[geometryNdx]->getVertexByteSize(),8); in getVertexBufferSize()
804 bufferOffset += deAlignSize(geometryPtrSize,8); in updateVertexBuffer()
820 bufferSizeBytes += deAlignSize(geometriesData[geometryNdx]->getIndexByteSize(),8); in getIndexBufferSize()
862 bufferOffset += deAlignSize(indexPtrSize, 8); in updateIndexBuffer()
1498 vertexBufferOffset += deAlignSize(geometryData->getVertexByteSize(), 8); in prepareGeometries()
1507 indexBufferOffset += deAlignSize(geometryData->getIndexByteSize(), 8); in prepareGeometries()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmCrossStageInterfaceTests.cpp201 const VkDeviceSize vertexDataSize = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>( m_data.size() * sizeof(Vec4)), in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmCrossStageInterfaceTests.cpp201 const VkDeviceSize vertexDataSize = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>( m_data.size() * sizeof(Vec4)), in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/
H A DvktMultiViewRenderTests.cpp681 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer()
695 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer()
710 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer()
2187 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferMarkerTests.cpp269 bufferOffset = deAlignSize(bufferOffset, static_cast<size_t>(memReqs.alignment)); in createMarkerBufferMemory()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferMarkerTests.cpp233 bufferOffset = deAlignSize(bufferOffset, static_cast<size_t>(memReqs.alignment)); in createMarkerBufferMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderTests.cpp694 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer()
708 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer()
723 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer()
2212 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
H A DvktQueryPoolStatisticsTests.cpp553 const VkDeviceSize bufferSizeBytes = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>(sizeof(deUint32) * maxSize), in iterate()
1305 const VkDeviceSize dataSize = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>( m_data.size() * sizeof(VertexData)), in creatAndFillVertexBuffer()
3653 const VkDeviceSize dataSize = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>( m_data.size() * sizeof(VertexData)), in creatAndFillVertexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/
H A DvktQueryPoolStatisticsTests.cpp553 const VkDeviceSize bufferSizeBytes = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>(sizeof(deUint32) * maxSize), in iterate()
1303 const VkDeviceSize dataSize = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>( m_data.size() * sizeof(VertexData)), in creatAndFillVertexBuffer()
3639 const VkDeviceSize dataSize = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>( m_data.size() * sizeof(VertexData)), in creatAndFillVertexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingDescriptorBufferTests.cpp2926 currentBuffer.setOffset += deAlignSize(
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
H A DvktBindingDescriptorBufferTests.cpp2906 currentBuffer.setOffset += deAlignSize(

Completed in 71 milliseconds