Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp309 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test() local
318 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test()
471 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test() local
483 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test()
746 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test() local
759 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test()
928 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test() local
937 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp164 const VkDeviceSize vertexBufferSize = sizeInBytes(perInstanceAttribute); in draw() local
165 …const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_… in draw()
182 deMemcpy(vertexBufferAlloc->getHostPtr(), &perInstanceAttribute[0], (size_t)vertexBufferSize); in draw()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineFramebufferAttachmentTests.cpp429 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in test() local
431 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in test()
434 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in test()
832 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in testNoAtt() local
834 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in testNoAtt()
836 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testNoAtt()
1082 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in testDifferentAttachmentSizes() local
1084 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in testDifferentAttachmentSizes()
1087 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testDifferentAttachmentSizes()
DvktPipelineMultisampleImageTests.cpp886 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in renderMultisampledImage() local
887 …const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_V… in renderMultisampledImage()
891 …eMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)); in renderMultisampledImage()
1076 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in test() local
1077 …const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_V… in test()
1081 …eMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)); in test()
1635 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in test() local
1636 …const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_V… in test()
1640 …eMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)); in test()
DvktPipelineNoPositionTests.cpp449 …const auto vertexBufferSize = static_cast<VkDeviceSize>(vertices.size() * sizeof(decltype(vertice… in iterate() local
450 …const auto vertexBufferInfo = makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFE… in iterate()
456 deMemcpy(vertexBufferPtr, vertices.data(), static_cast<size_t>(vertexBufferSize)); in iterate()
DvktPipelineRenderToImageTests.cpp1023 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in testWithSizeReduction() local
1025 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in testWithSizeReduction()
1028 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testWithSizeReduction()
1451 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in testRenderToMipMaps() local
1453 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in testRenderToMipMaps()
1456 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testRenderToMipMaps()
DvktPipelineMultisampleShaderFragmentMaskTests.cpp1178 …const VkDeviceSize vertexBufferSize = static_cast<VkDeviceSize>(sizeof(vertices[0]) * vertices… in test() local
1181 wd.vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in test()
1184 …texBufferAlloc->getHostPtr(), dataOrNullPtr(vertices), static_cast<std::size_t>(vertexBufferSize)); in test()
DvktPipelineImageSamplingInstance.cpp797 const VkDeviceSize vertexBufferSize = (VkDeviceSize)(m_vertices.size() * sizeof(Vertex4Tex4)); in ImageSamplingInstance() local
803 vertexBufferSize, // VkDeviceSize size; in ImageSamplingInstance()
810 DE_ASSERT(vertexBufferSize > 0); in ImageSamplingInstance()
817 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], (size_t)vertexBufferSize); in ImageSamplingInstance()
DvktPipelineSamplerTests.cpp1515 …const vk::VkDeviceSize vertexBufferSize = static_cast<vk::VkDeviceSize>(fullScreenQuad.size() * s… in iterate() local
1516 …const auto vertexBufferInfo = vk::makeBufferCreateInfo(vertexBufferSize, vk::VK_BUFFER_USAGE_V… in iterate()
1522 deMemcpy(vertexDataPtr, fullScreenQuad.data(), static_cast<size_t>(vertexBufferSize)); in iterate()
1695 …ST_WRITE_BIT, vk::VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, vertexBuffer.get(), 0ull, vertexBufferSize); in iterate()
DvktPipelineMultisampleSampleLocationsExtTests.cpp1597 …const VkDeviceSize vertexBufferSize = static_cast<VkDeviceSize>(vertices.size() * sizeof(v… in createVertexBuffer() local
1600 m_vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in createVertexBuffer()
1603 …texBufferAlloc->getHostPtr(), dataOrNullPtr(vertices), static_cast<std::size_t>(vertexBufferSize)); in createVertexBuffer()
1998 …const VkDeviceSize vertexBufferSize = static_cast<VkDeviceSize>(vertices.size() * sizeof(vertices[… in iterate() local
2001 … m_vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in iterate()
2004 …texBufferAlloc->getHostPtr(), dataOrNullPtr(vertices), static_cast<std::size_t>(vertexBufferSize)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp471 …const vk::VkDeviceSize vertexBufferSize = static_cast<vk::VkDeviceSize>(fullScreenQuad.size() * s… in iterate() local
472 …const auto vertexBufferInfo = vk::makeBufferCreateInfo(vertexBufferSize, vk::VK_BUFFER_USAGE_V… in iterate()
478 deMemcpy(vertexDataPtr, fullScreenQuad.data(), static_cast<size_t>(vertexBufferSize)); in iterate()
630 …ST_WRITE_BIT, vk::VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, vertexBuffer.get(), 0ull, vertexBufferSize); in iterate()
939 …const vk::VkDeviceSize vertexBufferSize = static_cast<vk::VkDeviceSize>(fullScreenQuad.size()… in iterate() local
940 …const auto vertexBufferInfo = vk::makeBufferCreateInfo(vertexBufferSize, vk::VK_BUFFER_USA… in iterate()
946 deMemcpy(vertexDataPtr, fullScreenQuad.data(), static_cast<size_t>(vertexBufferSize)); in iterate()
1059 …ST_WRITE_BIT, vk::VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, vertexBuffer.get(), 0ull, vertexBufferSize); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawScissorTests.cpp376 VkDeviceSize vertexBufferSize = 0; in iterate() local
433 vertexBufferSize = vertices.size() * sizeof(PositionColorVertex); in iterate()
435 if (vertexBufferSize > 0) in iterate()
437 …vertexBuffer = Buffer::createAndAlloc(vk, device, BufferCreateInfo(vertexBufferSize, VK_BUFFER_USA… in iterate()
440 deMemcpy(ptr, vertices.data(), static_cast<size_t>(vertexBufferSize)); in iterate()
508 if (vertexBufferSize > 0) in iterate()
DvktDrawDiscardRectanglesTests.cpp531 VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in iterate() local
532 …m_vertexBuffer = Buffer::createAndAlloc (vk, device, makeBufferCreateInfo(vertexBufferSize, VK… in iterate()
535 …fer->getBoundMemory().getHostPtr(), m_vertices.data(), static_cast<std::size_t>(vertexBufferSize)); in iterate()
DvktDrawShaderLayerTests.cpp606 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer() local
612 …m_vertexBuffer = Buffer::createAndAlloc (vk, device, makeBufferCreateInfo(vertexBufferSize, VK_BU… in Renderer()
614 …Buffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(vertexBufferSize)); in Renderer()
DvktDrawShaderViewportIndexTests.cpp673 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer() local
679 …m_vertexBuffer = Buffer::createAndAlloc (vk, device, makeBufferCreateInfo(vertexBufferSize, VK_BU… in Renderer()
682 …Buffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(vertexBufferSize)); in Renderer()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp991 const VkDeviceSize vertexBufferSize = sizeof(vertexData); in iterate() local
993 …m_vertexBuffer = makeBuffer(vk, getDevice(), vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in iterate()
996 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &vertexData[0], vertexBufferSize); in iterate()
1343 const VkDeviceSize vertexBufferSize = 2 * m_halfVertexCount * sizeof(Vec4); in initializeBuffers() local
1344 …m_vertexBuffer = makeBuffer(vk, getDevice(), vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in initializeBuffers()
1408 const VkDeviceSize vertexBufferSize = 2 * 3 * sizeof(Vec4); in initializeBuffers() local
1409 …m_vertexBuffer = makeBuffer(vk, getDevice(), vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in initializeBuffers()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp537 const VkDeviceSize vertexBufferSize = sizeInBytes(vertexValues); in MultipleSubpassesMultipleCommandBuffersTestInstance() local
544 vertexBufferSize, // VkDeviceSize size in MultipleSubpassesMultipleCommandBuffersTestInstance()
556 …cpy(m_vertexBufferAlloc->getHostPtr(), vertexValues.data(), static_cast<size_t>(vertexBufferSize)); in MultipleSubpassesMultipleCommandBuffersTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp139 …bool isValueWithinVertexBufferOrZero (void* vertexBuffer, VkDeviceSize vertexBufferSize, …
922 …e::isValueWithinVertexBufferOrZero(void* vertexBuffer, VkDeviceSize vertexBufferSize, const void* … in isValueWithinVertexBufferOrZero() argument
939 for (deUint32 i = 0; i < vertexBufferSize / 4; i++) in isValueWithinVertexBufferOrZero()
957 return isValueWithinBufferOrZero(vertexBuffer, vertexBufferSize, value, sizeof(deUint32)); in isValueWithinVertexBufferOrZero()
DvktRobustnessBufferAccessTests.cpp993 const VkDeviceSize vertexBufferSize = (VkDeviceSize)(4u * sizeof(tcu::Vec4)); in BufferAccessInstance() local
999 vertexBufferSize, // VkDeviceSize size; in BufferAccessInstance()
1006 DE_ASSERT(vertexBufferSize > 0); in BufferAccessInstance()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp385 …const auto vertexBufferSize = static_cast<vk::VkDeviceSize>(fullScreenQuad.size() * sizeof(decl… in iterate() local
386 …const auto vertexBufferInfo = vk::makeBufferCreateInfo(vertexBufferSize, vk::VK_BUFFER_USAGE_VE… in iterate()
391 …mcpy(vertexBufferAlloc.getHostPtr(), fullScreenQuad.data(), static_cast<size_t>(vertexBufferSize)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktFragmentShadingRatePixelConsistency.cpp470 const VkDeviceSize vertexBufferSize = sizeof(basicTriangles); in iterate() local
476 …vk, device, *allocator, makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT),… in iterate()
480 deMemcpy(vbuf, basicTriangles, vertexBufferSize); in iterate()
/external/deqp/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp1141 const deUint64 vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTest() local
1142 Buffer vertexBuffer (context, vertexBufferSize, GL_ARRAY_BUFFER); in makeTessellationEvaluationFrameBufferTest()
1325 const deUint64 vertexBufferSize = maxWidth * sizeof(tcu::Vec4); in makeGeometryFrameBufferTest() local
1326 Buffer vertexBuffer (context, vertexBufferSize, GL_ARRAY_BUFFER); in makeGeometryFrameBufferTest()
1777 const deUint64 vertexBufferSize = maxWidth * sizeof(tcu::Vec4); in makeVertexFrameBufferTest() local
1778 Buffer vertexBuffer (context, vertexBufferSize, GL_ARRAY_BUFFER); in makeVertexFrameBufferTest()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp475 deUint32 vertexBufferSize; member
501 deviceInterface.cmdDraw(renderInfo.commandBuffer, renderInfo.vertexBufferSize, 1, 0, 0); in recordRenderPass()
939 renderInfo.vertexBufferSize = testContext.numVertices; in generateWork()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp2694 const vk::VkDeviceSize vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local
2695 Buffer vertexBuffer (context, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2923 const vk::VkDeviceSize vertexBufferSize = maxWidth * sizeof(tcu::Vec4); in makeGeometryFrameBufferTestRequiredSubgroupSize() local
2924 Buffer vertexBuffer (context, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in makeGeometryFrameBufferTestRequiredSubgroupSize()
3470 const vk::VkDeviceSize vertexBufferSize = maxWidth * sizeof(tcu::Vec4); in makeVertexFrameBufferTestRequiredSubgroupSize() local
3471 Buffer vertexBuffer (context, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in makeVertexFrameBufferTestRequiredSubgroupSize()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp945 const deUint32 vertexBufferSize = positionDataSize + textureCoordDataSize; in executeFragmentTest() local
986 vertexBufferSize, in executeFragmentTest()

12