/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferViewAccessTests.cpp | 111 std::vector<tcu::Vec4> m_vertices; member in vkt::api::__anondf3b90dc0111::BufferViewTestInstance 140 m_vertices.push_back(a); in createQuad() 141 m_vertices.push_back(c); in createQuad() 142 m_vertices.push_back(b); in createQuad() 145 m_vertices.push_back(c); in createQuad() 146 m_vertices.push_back(a); in createQuad() 147 m_vertices.push_back(d); in createQuad() 375 const VkDeviceSize vertexDataSize = m_vertices.size() * sizeof(tcu::Vec4); in BufferViewTestInstance() 380 deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), (size_t)vertexDataSize); in BufferViewTestInstance() 422 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in BufferViewTestInstance()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.hpp | 50 const std::vector<float>& getVertices (void) const { return m_vertices; } in getVertices() 51 std::vector<float>& getVertices (void) { return m_vertices; } in getVertices() 58 std::vector<float> m_vertices; member in deqp::gls::VertexArray
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushConstantTests.cpp | 173 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon815fccf70111::PushConstantGraphicsTestInstance 507 m_vertices = createQuad(1.0f); in init() 514 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init() 527 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in init() 548 …const VkDeviceSize triangleOffset = (m_vertices.size() / TRIANGLE_COUNT) * sizeof(Vertex4RGBA… in init() 561 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / TRIANGLE_COUNT), 1, 0, 0); in init() 600 m_vertices = createQuad(0.5f); in verifyImage() 603 setReferenceColor(m_vertices[0].color); in verifyImage() 609 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 1.0f, 0.0f); in verifyImage() 611 for (size_t vertexNdx = 3; vertexNdx < m_vertices.size(); vertexNdx++) in verifyImage() [all …]
|
D | vktPipelineBlendTests.cpp | 152 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon2bb00db20111::BlendTestInstance 504 m_vertices = createOverlappingQuads(); in BlendTestInstance() 514 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in BlendTestInstance() 515 …m_vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.l… in BlendTestInstance() 519 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in BlendTestInstance() 555 const VkDeviceSize quadOffset = (m_vertices.size() / BlendTest::QUAD_COUNT) * sizeof(Vertex4RGBA); in BlendTestInstance() 563 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / BlendTest::QUAD_COUNT), 1, 0, 0); in BlendTestInstance() 810 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage() 811 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage() 817 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage() [all …]
|
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 487 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ed7696b0111::DepthRangeUnrestrictedTestInstance 773 if (!m_vertices.empty() && !m_param.testClearValueOnly) in prepareRenderPass() 774 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in prepareRenderPass() 825 m_vertices = createPoints(m_param.wc); in DepthRangeUnrestrictedTestInstance() 827 …deMemcpy(m_vertexBufferMemory->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4… in DepthRangeUnrestrictedTestInstance() 1026 …for (std::vector<Vertex4RGBA>::const_iterator vertex = m_vertices.begin(); vertex != m_vertices.en… in verifyTestResult() 1087 …for (std::vector<Vertex4RGBA>::const_iterator vertex = m_vertices.begin(); vertex != m_vertices.en… in verifyTestResult() 1304 …for (std::vector<Vertex4RGBA>::const_iterator vertex = m_vertices.begin(); vertex != m_vertices.en… in verifyTestResult() 1312 long i = vertex - m_vertices.begin(); in verifyTestResult() 1364 …for (std::vector<Vertex4RGBA>::const_iterator vertex = m_vertices.begin(); vertex != m_vertices.en… in verifyTestResult() [all …]
|
D | vktPipelineMultisampleTests.cpp | 498 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ddcd27a0111::RasterizationSamplesInstance 525 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ddcd27a0111::MinSampleShadingInstance 569 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ddcd27a0111::SampleMaskInstance 594 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ddcd27a0111::AlphaToOneInstance 619 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ddcd27a0111::AlphaToCoverageInstance 646 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ddcd27a0111::AlphaToCoverageNoColorAttachmentInstance 672 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ddcd27a0111::AlphaToCoverageColorUnusedAttachmentInstance 713 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0ddcd27a0111::SampleMaskWithDepthTestInstance 1557 , m_vertices (vertices) in RasterizationSamplesInstance() 1571 const std::vector<Vertex4RGBA> pVertices[2] = { m_vertices, m_fullQuadVertices }; in RasterizationSamplesInstance() [all …]
|
D | vktPipelineStencilTests.cpp | 172 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon4ef7cf5f0111::StencilTestInstance 622 m_vertices = createOverlappingQuads(); in StencilTestInstance() 631 m_vertices[quadNdx * 6 + vertexNdx].position.z() = StencilTest::s_quadDepths[quadNdx]; in StencilTestInstance() 634 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in StencilTestInstance() 700 …const VkDeviceSize quadOffset = (m_vertices.size() / StencilTest::QUAD_COUNT) * sizeof(Vertex4RG… in StencilTestInstance() 708 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / StencilTest::QUAD_COUNT), 1, 0, 0); in StencilTestInstance() 765 std::vector<Vertex4RGBA> cwVertices(m_vertices); in verifyImage()
|
D | vktPipelineDepthTests.cpp | 192 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc162c5a20111::DepthTestInstance 587 m_vertices = createOverlappingQuads(); in DepthTestInstance() 596 m_vertices[quadNdx * 6 + vertexNdx].position.z() = DepthTest::quadDepths[quadNdx]; in DepthTestInstance() 599 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in DepthTestInstance() 668 const VkDeviceSize quadOffset = (m_vertices.size() / DepthTest::QUAD_COUNT) * sizeof(Vertex4RGBA); in DepthTestInstance() 676 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / DepthTest::QUAD_COUNT), 1, 0, 0); in DepthTestInstance() 727 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage() 728 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
|
D | vktPipelinePushDescriptorTests.cpp | 254 vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon004da70c0111::PushDescriptorBufferGraphicsTestInstance 273 , m_vertices (createQuads(params.numCalls, 0.25f)) in PushDescriptorBufferGraphicsTestInstance() 489 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init() 502 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in init() 580 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = defaultTestColors[quadIdx]; in verifyImage() 583 rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage() 1058 vector<Vertex4Tex4> m_vertices; member in vkt::pipeline::__anon004da70c0111::PushDescriptorImageGraphicsTestInstance 1078 , m_vertices (createTexQuads(params.numCalls, 0.25f)) in PushDescriptorImageGraphicsTestInstance() 1552 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init() 1565 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4T… in init() [all …]
|
D | vktPipelineDynamicOffsetTests.cpp | 157 vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anone82cdb790111::DynamicOffsetGraphicsTestInstance 164 , m_vertices (createQuads(m_params.numDescriptorSetBindings * m_params.numCmdBuffers, 0.25f)) in DynamicOffsetGraphicsTestInstance() 514 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init() 527 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in init() 597 for (deUint32 quadIdx = 0; quadIdx < m_vertices.size() / 6; quadIdx++) in verifyImage() 608 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = refColor; in verifyImage() 612 rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage()
|
D | vktPipelineBlendOperationAdvancedTests.cpp | 1001 std::vector<Vec4> m_vertices; member in vkt::pipeline::__anonb35a1bf90111::BlendOperationAdvancedTestInstance 1325 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in prepareRenderPass() 1370 m_vertices = createPoints(); in BlendOperationAdvancedTestInstance() 1371 DE_ASSERT((deUint32)m_vertices.size() == 6); in BlendOperationAdvancedTestInstance() 1373 …m_vertexBuffer = createBufferAndBindMemory(m_context, m_vertices.size() * sizeof(Vec4), VK_BUFFER_… in BlendOperationAdvancedTestInstance() 1374 deMemcpy(m_vertexBufferMemory->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vec4)); in BlendOperationAdvancedTestInstance() 1771 std::vector<Vec4> m_vertices; member in vkt::pipeline::__anonb35a1bf90111::BlendOperationAdvancedTestCoherentInstance 2107 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in prepareRenderPass() 2174 m_vertices = createPoints(); in BlendOperationAdvancedTestCoherentInstance() 2175 DE_ASSERT((deUint32)m_vertices.size() == 6); in BlendOperationAdvancedTestCoherentInstance() [all …]
|
D | vktPipelineInputAssemblyTests.cpp | 162 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc734f2bd0111::InputAssemblyInstance 951 , m_vertices (vertexBufferData) in InputAssemblyInstance() 1263 m_vertices.size() * sizeof(Vertex4RGBA), // VkDeviceSize size; in InputAssemblyInstance() 1295 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in InputAssemblyInstance() 1393 nonIndexedVertices.push_back(m_vertices[indicesRange[i]]); in verifyImage() 1404 nonIndexedVertices.push_back(m_vertices[m_indices[i]]); in verifyImage()
|
D | vktPipelineImageSamplingInstance.hpp | 156 std::vector<Vertex4Tex4> m_vertices; member in vkt::pipeline::ImageSamplingInstance
|
D | vktPipelineImageSamplingInstance.cpp | 325 , m_vertices (params.vertices) in ImageSamplingInstance() 725 const VkDeviceSize vertexBufferSize = (VkDeviceSize)(m_vertices.size() * sizeof(Vertex4Tex4)); in ImageSamplingInstance() 745 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], (size_t)vertexBufferSize); in ImageSamplingInstance() 791 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in ImageSamplingInstance() 1401 refRenderer.draw(renderState, rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage()
|
D | vktPipelineCacheTests.cpp | 624 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon7fd275a10111::GraphicsCacheTestInstance 800 m_vertices = createOverlappingQuads(); in GraphicsCacheTestInstance() 802 …deMemcpy(m_vertexBufferMemory->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4… in GraphicsCacheTestInstance() 1029 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in prepareRenderPass()
|
D | vktPipelineTimestampTests.cpp | 1528 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon1587f4010111::BasicGraphicsTestInstance 1570 m_vertices = createOverlappingQuads(); in buildVertexBuffer() 1573 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in buildVertexBuffer() 1756 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in configCommandBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawDiscardRectanglesTests.cpp | 437 std::vector<Vec4> m_vertices; member in vkt::Draw::__anonddd3da9f0111::DiscardRectanglesTestInstance 527 m_vertices.push_back(Vec4(-1.0f, 1.0f, 0.0f, 1.0f)); in iterate() 528 m_vertices.push_back(Vec4(-1.0f, -1.0f, 0.0f, 1.0f)); in iterate() 529 m_vertices.push_back(Vec4( 1.0f, 1.0f, 0.0f, 1.0f)); in iterate() 530 m_vertices.push_back(Vec4( 1.0f, -1.0f, 0.0f, 1.0f)); in iterate() 531 VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in iterate() 535 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), m_vertices.data(), static_cast<std::size_t… in iterate() 590 vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_vertices.size()), 1u, 0u, 0u); // two triangles in iterate()
|
D | vktDrawShaderViewportIndexTests.cpp | 604 , m_vertices (generateVertices(colors)) in Renderer() 610 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer() 619 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer() 672 const std::vector<PositionColorVertex> m_vertices; member in vkt::Draw::__anon1799c8ac0111::Renderer
|
D | vktDrawShaderLayerTests.cpp | 600 , m_vertices (vertices) in Renderer() 606 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer() 614 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer() 684 const std::vector<PositionColorVertex> m_vertices; member in vkt::Draw::__anon1c59e0310111::Renderer
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassUnusedAttachmentTests.cpp | 282 std::vector<Vertex4RGBA> m_vertices; member in vkt::renderpass::__anondeb50c4c0111::UnusedAttachmentTestInstance 354 , m_vertices (createQuad()) in UnusedAttachmentTestInstance() 811 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in UnusedAttachmentTestInstance() 824 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in UnusedAttachmentTestInstance() 876 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in createCommandBuffer() 880 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in createCommandBuffer()
|
D | vktRenderPassUnusedAttachmentSparseFillingTests.cpp | 150 std::vector<Vertex> m_vertices; member in vkt::renderpass::__anona1e4b7df0111::InputAttachmentSparseFillingTestInstance 261 , m_vertices (createFullscreenTriangle()) in InputAttachmentSparseFillingTestInstance() 537 (VkDeviceSize)(sizeof(Vertex) * m_vertices.size()), // VkDeviceSize size; in InputAttachmentSparseFillingTestInstance() 549 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex)); in InputAttachmentSparseFillingTestInstance() 654 vk.cmdDraw (*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in createCommandBuffer()
|
D | vktRenderPassFragmentDensityMapTests.cpp | 471 std::vector<Vertex4RGBA> m_vertices; member in vkt::renderpass::__anonaf9a18010111::FragmentDensityMapTestInstance 578 , m_vertices ( createFullscreenQuadRG() ) in FragmentDensityMapTestInstance() 1068 …createVertexBuffer(vk, vkDevice, queueFamilyIndex, memAlloc, m_vertices, m_vertexBuffer, m_vertexB… in FragmentDensityMapTestInstance() 1118 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in FragmentDensityMapTestInstance() 1135 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in FragmentDensityMapTestInstance()
|
D | vktRenderPassTests.cpp | 1625 : m_vertices(6) in RenderQuad() 1627 m_vertices[0] = posA; in RenderQuad() 1628 m_vertices[1] = Vec2(posA[0], posB[1]); in RenderQuad() 1629 m_vertices[2] = posB; in RenderQuad() 1631 m_vertices[3] = posB; in RenderQuad() 1632 m_vertices[4] = Vec2(posB[0], posA[1]); in RenderQuad() 1633 m_vertices[5] = posA; in RenderQuad() 1638 return m_vertices[0]; in getCornerA() 1643 return m_vertices[2]; in getCornerB() 1648 return &m_vertices[0]; in getVertexPointer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorTests.cpp | 349 , m_vertices (genVertices(caseDef.primitive, caseDef.renderArea, m_primitiveColor)) in ScissorRenderer() 350 , m_vertexBufferSize (sizeInBytes(m_vertices)) in ScissorRenderer() 366 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], static_cast<std::size_t>(m_vertexBuffe… in ScissorRenderer() 401 vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_vertices.size()), 1u, 0u, 0u); in draw() 416 const std::vector<VertexData> m_vertices; member in vkt::FragmentOperations::__anon2268c1e40111::ScissorRenderer
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationOperation.cpp | 1376 : m_vertices (context) in GraphicsPipeline() 1402 .setVertexInputSingleAttribute (m_vertices.getVertexFormat(), m_vertices.getVertexStride()) in GraphicsPipeline() 1408 .setPatchControlPoints (m_vertices.getNumVertices()) in GraphicsPipeline() 1445 const VkBuffer vertexBuffer = m_vertices.getVertexBuffer(); in recordCommands() 1449 vk.cmdDraw(cmdBuffer, m_vertices.getNumVertices(), 1u, 0u, 0u); in recordCommands() 1454 const VertexGrid m_vertices; member in vkt::synchronization::__anon87b91c230111::ShaderAccess::GraphicsPipeline 3423 , m_vertices (context) in Implementation() 3439 pIndirectCommand->vertexCount = m_vertices.getNumVertices(); in Implementation() 3454 pIndirectCommand->indexCount = m_vertices.getNumIndices(); in Implementation() 3480 .setVertexInputSingleAttribute (m_vertices.getVertexFormat(), m_vertices.getVertexStride()) in Implementation() [all …]
|