/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationShaderInputOutputTests.cpp | 307 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test() local 316 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test() 469 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test() local 481 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test() 744 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test() local 757 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test() 926 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test() local 935 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryInstancedRenderingTests.cpp | 164 const VkDeviceSize vertexBufferSize = sizeInBytes(perInstanceAttribute); in draw() local 165 …ffer> vertexBuffer (makeBuffer(vk, device, makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_US… in draw() 182 deMemcpy(vertexBufferAlloc->getHostPtr(), &perInstanceAttribute[0], (size_t)vertexBufferSize); in draw() 183 …ange(vk, device, vertexBufferAlloc->getMemory(), vertexBufferAlloc->getOffset(), vertexBufferSize); in draw()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineFramebufferAttachmentTests.cpp | 435 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in test() local 437 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in test() 440 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in test() 846 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in testNoAtt() local 848 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in testNoAtt() 850 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testNoAtt() 1096 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in testDifferentAttachmentSizes() local 1098 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in testDifferentAttachmentSizes() 1101 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testDifferentAttachmentSizes()
|
D | vktPipelineMultisampleImageTests.cpp | 785 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in renderMultisampledImage() local 786 …const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_V… in renderMultisampledImage() 790 …eMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)); in renderMultisampledImage() 961 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in test() local 962 …const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_V… in test() 966 …eMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)); in test()
|
D | vktPipelineRenderToImageTests.cpp | 1026 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in testWithSizeReduction() local 1028 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in testWithSizeReduction() 1031 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testWithSizeReduction() 1444 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices); in testRenderToMipMaps() local 1446 vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in testRenderToMipMaps() 1449 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testRenderToMipMaps()
|
D | vktPipelineImageSamplingInstance.cpp | 680 const VkDeviceSize vertexBufferSize = (VkDeviceSize)(m_vertices.size() * sizeof(Vertex4Tex4)); in ImageSamplingInstance() local 686 vertexBufferSize, // VkDeviceSize size; in ImageSamplingInstance() 693 DE_ASSERT(vertexBufferSize > 0); in ImageSamplingInstance() 700 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], (size_t)vertexBufferSize); in ImageSamplingInstance()
|
D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 1703 …const VkDeviceSize vertexBufferSize = static_cast<VkDeviceSize>(vertices.size() * sizeof(v… in createVertexBuffer() local 1706 m_vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in createVertexBuffer() 1709 …texBufferAlloc->getHostPtr(), dataOrNullPtr(vertices), static_cast<std::size_t>(vertexBufferSize)); in createVertexBuffer() 2099 …const VkDeviceSize vertexBufferSize = static_cast<VkDeviceSize>(vertices.size() * sizeof(vertices[… in iterate() local 2102 … m_vertexBuffer = makeBuffer(vk, device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in iterate() 2105 …texBufferAlloc->getHostPtr(), dataOrNullPtr(vertices), static_cast<std::size_t>(vertexBufferSize)); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesBufferTests.cpp | 1003 const VkDeviceSize vertexBufferSize = sizeof(vertexData); in iterate() local 1005 …m_vertexBuffer = makeBuffer(vk, getDevice(), makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_USA… in iterate() 1008 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &vertexData[0], vertexBufferSize); in iterate() 1355 const VkDeviceSize vertexBufferSize = 2 * m_halfVertexCount * sizeof(Vec4); in initializeBuffers() local 1356 …m_vertexBuffer = makeBuffer(vk, getDevice(), makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_USA… in initializeBuffers() 1420 const VkDeviceSize vertexBufferSize = 2 * 3 * sizeof(Vec4); in initializeBuffers() local 1421 …m_vertexBuffer = makeBuffer(vk, getDevice(), makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_USA… in initializeBuffers()
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 139 …bool isValueWithinVertexBufferOrZero (void* vertexBuffer, VkDeviceSize vertexBufferSize, … 892 …e::isValueWithinVertexBufferOrZero(void* vertexBuffer, VkDeviceSize vertexBufferSize, const void* … in isValueWithinVertexBufferOrZero() argument 909 for (deUint32 i = 0; i < vertexBufferSize / 4; i++) in isValueWithinVertexBufferOrZero() 927 return isValueWithinBufferOrZero(vertexBuffer, vertexBufferSize, value, sizeof(deUint32)); in isValueWithinVertexBufferOrZero()
|
D | vktRobustnessBufferAccessTests.cpp | 976 const VkDeviceSize vertexBufferSize = (VkDeviceSize)(4u * sizeof(tcu::Vec4)); in BufferAccessInstance() local 982 vertexBufferSize, // VkDeviceSize size; in BufferAccessInstance() 989 DE_ASSERT(vertexBufferSize > 0); in BufferAccessInstance()
|
D | vktRobustBufferAccessWithVariablePointersTests.cpp | 1438 const VkDeviceSize vertexBufferSize = static_cast<VkDeviceSize>(sizeof(vertices)); in AccessInstance() local 1439 …createTestBuffer(vk, *m_device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, memAlloc, m_v… in AccessInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderViewportIndexTests.cpp | 700 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer() local 706 …m_vertexBuffer = Buffer::createAndAlloc (vk, device, makeBufferCreateInfo(vertexBufferSize, VK_BU… in Renderer() 709 …Buffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(vertexBufferSize)); in Renderer()
|
D | vktDrawShaderLayerTests.cpp | 783 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer() local 789 …m_vertexBuffer = Buffer::createAndAlloc (vk, device, makeBufferCreateInfo(vertexBufferSize, VK_BU… in Renderer() 791 …Buffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(vertexBufferSize)); in Renderer()
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.cpp | 1597 const vk::VkDeviceSize vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTest() local 1598 Buffer vertexBuffer (context, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in makeTessellationEvaluationFrameBufferTest() 1810 const vk::VkDeviceSize vertexBufferSize = maxWidth * sizeof(tcu::Vec4); in makeGeometryFrameBufferTest() local 1811 Buffer vertexBuffer (context, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in makeGeometryFrameBufferTest() 2329 const vk::VkDeviceSize vertexBufferSize = maxWidth * sizeof(tcu::Vec4); in makeVertexFrameBufferTest() local 2330 Buffer vertexBuffer (context, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in makeVertexFrameBufferTest()
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemShaderImageAccessTests.cpp | 940 const deUint32 vertexBufferSize = positionDataSize + textureCoordDataSize; in executeFragmentTest() local 981 vertexBufferSize, in executeFragmentTest() 987 …xBuffer->getAllocation().getMemory(), vertexBuffer->getAllocation().getOffset(), vertexBufferSize); in executeFragmentTest()
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationSmokeTests.cpp | 440 deUint32 vertexBufferSize; member 466 deviceInterface.cmdDraw(renderInfo.commandBuffer, renderInfo.vertexBufferSize, 1, 0, 0); in recordRenderPass() 904 renderInfo.vertexBufferSize = testContext.numVertices; in generateWork()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMutableTests.cpp | 1364 const VkDeviceSize vertexBufferSize = vertices.size() * sizeof(Vec4); in uploadDraw() local 1366 …m_uDraw.vertexBuffer = makeBuffer(m_vk, m_device, vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BU… in uploadDraw() 1368 …m_uDraw.vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)); in uploadDraw()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | frontend.cpp | 1099 const uint32_t vertexBufferSize = gsState.instanceCount * gsState.allocationSize; in AllocateGsBuffers() local 1103 pGsBuffers->pGsOut[i] = (uint8_t*)pArena->AllocAligned(vertexBufferSize, 32); in AllocateGsBuffers()
|