Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp111 std::vector<tcu::Vec4> m_vertices; member in vkt::api::__anona68ce2310111::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/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendTests.cpp200 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon50c208670111::BlendTestInstance
237 std::vector<Vertex4RGBARGBA> m_vertices; member in vkt::pipeline::__anon50c208670111::DualSourceBlendTestInstance
785 m_vertices = createOverlappingQuads(); in BlendTestInstance()
795 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in BlendTestInstance()
796m_vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.l… in BlendTestInstance()
800 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in BlendTestInstance()
836 const VkDeviceSize quadOffset = (m_vertices.size() / BlendTest::QUAD_COUNT) * sizeof(Vertex4RGBA); in BlendTestInstance()
844 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / BlendTest::QUAD_COUNT), 1, 0, 0); in BlendTestInstance()
1091 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
1092 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
[all …]
DvktPipelineDepthRangeUnrestrictedTests.cpp487 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0b02c4c00111::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 auto 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 …]
DvktPipelinePushConstantTests.cpp212 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon7dc00a0c0111::PushConstantGraphicsTestInstance
526 m_vertices = createQuad(1.0f, tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f)); in init()
533 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init()
546 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in init()
567 …const VkDeviceSize triangleOffset = (m_vertices.size() / TRIANGLE_COUNT) * sizeof(Vertex4RGBA… in init()
580 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / TRIANGLE_COUNT), 1, 0, 0); in init()
619 m_vertices = createQuad(0.5f, tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f)); in verifyImage()
622 setReferenceColor(m_vertices[0].color); in verifyImage()
628 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 1.0f, 0.0f); in verifyImage()
630 for (size_t vertexNdx = 3; vertexNdx < m_vertices.size(); vertexNdx++) in verifyImage()
[all …]
DvktPipelineStencilTests.cpp172 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon00734b540111::StencilTestInstance
638 m_vertices = createOverlappingQuads(); in StencilTestInstance()
647 m_vertices[quadNdx * 6 + vertexNdx].position.z() = StencilTest::s_quadDepths[quadNdx]; in StencilTestInstance()
650 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in StencilTestInstance()
716 …const VkDeviceSize quadOffset = (m_vertices.size() / StencilTest::QUAD_COUNT) * sizeof(Vertex4RG… in StencilTestInstance()
724 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / StencilTest::QUAD_COUNT), 1, 0, 0); in StencilTestInstance()
781 std::vector<Vertex4RGBA> cwVertices(m_vertices); in verifyImage()
DvktPipelineDepthTests.cpp192 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anone674c0570111::DepthTestInstance
600 m_vertices = createOverlappingQuads(); in DepthTestInstance()
609 m_vertices[quadNdx * 6 + vertexNdx].position.z() = DepthTest::quadDepths[quadNdx]; in DepthTestInstance()
612 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in DepthTestInstance()
681 const VkDeviceSize quadOffset = (m_vertices.size() / DepthTest::QUAD_COUNT) * sizeof(Vertex4RGBA); in DepthTestInstance()
689 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / DepthTest::QUAD_COUNT), 1, 0, 0); in DepthTestInstance()
740 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
741 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
DvktPipelineMultisampleTests.cpp506 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc7ef40ef0111::RasterizationSamplesInstance
533 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc7ef40ef0111::MinSampleShadingInstance
577 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc7ef40ef0111::SampleMaskInstance
602 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc7ef40ef0111::AlphaToOneInstance
627 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc7ef40ef0111::AlphaToCoverageInstance
654 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc7ef40ef0111::AlphaToCoverageNoColorAttachmentInstance
680 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc7ef40ef0111::AlphaToCoverageColorUnusedAttachmentInstance
721 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonc7ef40ef0111::SampleMaskWithDepthTestInstance
1565 , m_vertices (vertices) in RasterizationSamplesInstance()
1579 const std::vector<Vertex4RGBA> pVertices[2] = { m_vertices, m_fullQuadVertices }; in RasterizationSamplesInstance()
[all …]
DvktPipelinePushDescriptorTests.cpp263 vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon95b17d610111::PushDescriptorBufferGraphicsTestInstance
282 , m_vertices (createQuads(params.numCalls, 0.25f)) in PushDescriptorBufferGraphicsTestInstance()
498 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init()
511 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in init()
589 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = defaultTestColors[quadIdx]; in verifyImage()
592 rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage()
1072 vector<Vertex4Tex4> m_vertices; member in vkt::pipeline::__anon95b17d610111::PushDescriptorImageGraphicsTestInstance
1092 , m_vertices (createTexQuads(params.numCalls, 0.25f)) in PushDescriptorImageGraphicsTestInstance()
1566 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init()
1579 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4T… in init()
[all …]
DvktPipelineBlendOperationAdvancedTests.cpp1001 std::vector<Vec4> m_vertices; member in vkt::pipeline::__anonaf85774e0111::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::__anonaf85774e0111::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 …]
DvktPipelineInputAssemblyTests.cpp162 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon4f9cd2720111::InputAssemblyInstance
958 , m_vertices (vertexBufferData) in InputAssemblyInstance()
1270 m_vertices.size() * sizeof(Vertex4RGBA), // VkDeviceSize size; in InputAssemblyInstance()
1302 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in InputAssemblyInstance()
1400 nonIndexedVertices.push_back(m_vertices[indicesRange[i]]); in verifyImage()
1411 nonIndexedVertices.push_back(m_vertices[m_indices[i]]); in verifyImage()
DvktPipelineDynamicOffsetTests.cpp166 vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon7094bb2e0111::DynamicOffsetGraphicsTestInstance
173 , m_vertices (createQuads(m_params.numDescriptorSetBindings * m_params.numCmdBuffers, 0.25f)) in DynamicOffsetGraphicsTestInstance()
591 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init()
604 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in init()
674 for (deUint32 quadIdx = 0; quadIdx < m_vertices.size() / 6; quadIdx++) in verifyImage()
685 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = refColor; in verifyImage()
689 rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage()
DvktPipelineImageSamplingInstance.hpp156 std::vector<Vertex4Tex4> m_vertices; member in vkt::pipeline::ImageSamplingInstance
DvktPipelineImageSamplingInstance.cpp361 , m_vertices (params.vertices) in ImageSamplingInstance()
797 const VkDeviceSize vertexBufferSize = (VkDeviceSize)(m_vertices.size() * sizeof(Vertex4Tex4)); in ImageSamplingInstance()
817 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], (size_t)vertexBufferSize); in ImageSamplingInstance()
863 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in ImageSamplingInstance()
1472 refRenderer.draw(renderState, rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage()
/external/deqp/modules/glshared/
DglsRandomShaderCase.hpp50 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/framework/vulkan/
DvkRayTracingUtil.hpp268 std::vector<deUint8> m_vertices; // Vertices are stored as byte blocks. member in vk::RaytracedGeometry
292 , m_vertices() in RaytracedGeometry()
309 DE_ASSERT(!m_vertices.empty()); in getVertexPointer()
310 return reinterpret_cast<const deUint8*>(m_vertices.data()); in getVertexPointer()
328 return m_vertices.size(); in getVertexByteSize()
377 const auto oldSize = m_vertices.size(); in addNativeVertex()
383 m_vertices.resize(oldSize + blockSize, deUint8{0}); in addNativeVertex()
384 deMemcpy(&m_vertices[oldSize], &vertex, kVertexSize); in addNativeVertex()
391 m_vertices.resize(oldSize + blockSize, deUint8{0}); in addNativeVertex()
392 deMemcpy(&m_vertices[oldSize], &vertex, kVertexSize); in addNativeVertex()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawDiscardRectanglesTests.cpp437 std::vector<Vec4> m_vertices; member in vkt::Draw::__anondc1e27d40111::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()
DvktDrawAhbTests.cpp69 vector<PositionColorVertex> m_vertices; member
263 m_data.m_vertices.push_back(PositionColorVertex( in generateDrawData()
460 const VkDeviceSize dataSize = m_data.m_vertices.size() * sizeof(PositionColorVertex); in iterate()
465 deMemcpy(ptr, &(m_data.m_vertices[0]), static_cast<size_t>(dataSize)); in iterate()
622 vertices.push_back(m_data.m_vertices[idx].position); in iterate()
623 colors.push_back(m_data.m_vertices[idx].color); in iterate()
DvktDrawMultipleClearsWithinRenderPass.cpp201 Vec4 m_vertices[TOPOLOGY_MAX_VERTICES_COUNT * TEST_MAX_STEPS_COUNT]; member in vkt::Draw::__anond417bc6f0111::MultipleClearsTest
222 DE_ASSERT(totalDataSize <= sizeof(m_vertices)); in MultipleClearsTest()
227 deMemcpy(&m_vertices[start], vertexData.vertices, static_cast<size_t>(dataSize)); in MultipleClearsTest()
229 m_vertices[start + j][2] = m_params.steps[i].depth; in MultipleClearsTest()
233 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), m_vertices, static_cast<std::size_t>(total… in MultipleClearsTest()
DvktDrawShaderLayerTests.cpp600 , 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::__anon7bd3a9a60111::Renderer
DvktDrawShaderViewportIndexTests.cpp666 , m_vertices (generateVertices(colors)) in Renderer()
673 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer()
682 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer()
780 const std::vector<PositionColorVertex> m_vertices; member in vkt::Draw::__anond1ac37210111::Renderer
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedAttachmentTests.cpp282 std::vector<Vertex4RGBA> m_vertices; member in vkt::renderpass::__anon70378e610111::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()
DvktRenderPassUnusedAttachmentSparseFillingTests.cpp150 std::vector<Vertex> m_vertices; member in vkt::renderpass::__anon902f34140111::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()
DvktRenderPassFragmentDensityMapTests.cpp904 std::vector<Vertex4RGBA> m_vertices; member in vkt::renderpass::__anonabc573560111::FragmentDensityMapTestInstance
1653m_vertices = createFullscreenMesh(1, {0.0f, 1.0f}, {0.0f, 1.0f}); // create fullscreen qua… in FragmentDensityMapTestInstance()
1658 …createVertexBuffer(vk, vkDevice, queueFamilyIndex, memAlloc, m_vertices, m_vertexBuffer, m_vertexB… in FragmentDensityMapTestInstance()
1712 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in FragmentDensityMapTestInstance()
1719 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in FragmentDensityMapTestInstance()
1740 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in FragmentDensityMapTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorTests.cpp349 , 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::__anone43b86990111::ScissorRenderer
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp1505 : m_vertices (context) in GraphicsPipeline()
1531 .setVertexInputSingleAttribute (m_vertices.getVertexFormat(), m_vertices.getVertexStride()) in GraphicsPipeline()
1537 .setPatchControlPoints (m_vertices.getNumVertices()) in GraphicsPipeline()
1580 const VkBuffer vertexBuffer = m_vertices.getVertexBuffer(); in recordCommands()
1584 vk.cmdDraw(cmdBuffer, m_vertices.getNumVertices(), 1u, 0u, 0u); in recordCommands()
1589 const VertexGrid m_vertices; member in vkt::synchronization::__anon3d1a14f80111::ShaderAccess::GraphicsPipeline
3892 , m_vertices (context) in Implementation()
3908 pIndirectCommand->vertexCount = m_vertices.getNumVertices(); in Implementation()
3923 pIndirectCommand->indexCount = m_vertices.getNumIndices(); in Implementation()
3949 .setVertexInputSingleAttribute (m_vertices.getVertexFormat(), m_vertices.getVertexStride()) in Implementation()
[all …]

12