Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp111 std::vector<tcu::Vec4> m_vertices; member in vkt::api::__anon02e39ada0111::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.cpp149 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon995fcff00111::BlendTestInstance
498 m_vertices = createOverlappingQuads(); in BlendTestInstance()
508 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in BlendTestInstance()
509m_vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.l… in BlendTestInstance()
513 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in BlendTestInstance()
549 const VkDeviceSize quadOffset = (m_vertices.size() / BlendTest::QUAD_COUNT) * sizeof(Vertex4RGBA); in BlendTestInstance()
557 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / BlendTest::QUAD_COUNT), 1, 0, 0); in BlendTestInstance()
800 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
801 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
807 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
[all …]
DvktPipelinePushConstantTests.cpp173 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonef72dd750111::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 …]
DvktPipelineDepthTests.cpp183 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon2f1287e00111::DepthTestInstance
541 m_vertices = createOverlappingQuads(); in DepthTestInstance()
550 m_vertices[quadNdx * 6 + vertexNdx].position.z() = DepthTest::quadDepths[quadNdx]; in DepthTestInstance()
553 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in DepthTestInstance()
607 …const VkDeviceSize quadOffset = (m_vertices.size() / DepthTest::QUAD_COUNT) * sizeof(Vertex4RGBA… in DepthTestInstance()
615 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / DepthTest::QUAD_COUNT), 1, 0, 0); in DepthTestInstance()
665 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
666 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
DvktPipelineStencilTests.cpp163 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anone7a1191d0111::StencilTestInstance
571 m_vertices = createOverlappingQuads(); in StencilTestInstance()
580 m_vertices[quadNdx * 6 + vertexNdx].position.z() = StencilTest::s_quadDepths[quadNdx]; in StencilTestInstance()
583 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in StencilTestInstance()
637 …const VkDeviceSize quadOffset = (m_vertices.size() / StencilTest::QUAD_COUNT) * sizeof(Vertex4RG… in StencilTestInstance()
645 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / StencilTest::QUAD_COUNT), 1, 0, 0); in StencilTestInstance()
701 std::vector<Vertex4RGBA> cwVertices(m_vertices); in verifyImage()
DvktPipelineMultisampleTests.cpp434 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0970cb380111::RasterizationSamplesInstance
461 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0970cb380111::MinSampleShadingInstance
488 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0970cb380111::SampleMaskInstance
513 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0970cb380111::AlphaToOneInstance
538 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0970cb380111::AlphaToCoverageInstance
579 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0970cb380111::SampleMaskWithDepthTestInstance
1269 , m_vertices (vertices) in RasterizationSamplesInstance()
1285 const std::vector<Vertex4RGBA> pVertices[2] = { m_vertices, m_fullQuadVertices }; in RasterizationSamplesInstance()
1345 refRenderer.draw(renderState, mapVkPrimitiveTopology(m_primitiveTopology), m_vertices); in verifyImage()
1351 refRenderer.draw(renderState, mapVkPrimitiveTopology(m_primitiveTopology), m_vertices); in verifyImage()
[all …]
DvktPipelinePushDescriptorTests.cpp252 vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon3f66cf0a0111::PushDescriptorBufferGraphicsTestInstance
271 , m_vertices (createQuads(params.numCalls, 0.25f)) in PushDescriptorBufferGraphicsTestInstance()
487 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init()
500 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in init()
578 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = defaultTestColors[quadIdx]; in verifyImage()
580 …rer.draw(rr::RenderState(refRenderer.getViewportState()), rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage()
1055 vector<Vertex4Tex4> m_vertices; member in vkt::pipeline::__anon3f66cf0a0111::PushDescriptorImageGraphicsTestInstance
1075 , m_vertices (createTexQuads(params.numCalls, 0.25f)) in PushDescriptorImageGraphicsTestInstance()
1549 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init()
1562 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4T… in init()
[all …]
DvktPipelineDynamicOffsetTests.cpp142 vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon18a1fbb70111::DynamicOffsetGraphicsTestInstance
150 , m_vertices (createQuads(m_params.numDescriptorSetBindings * m_params.numCmdBuffers, 0.25f)) in DynamicOffsetGraphicsTestInstance()
502 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init()
515 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in init()
595 for (deUint32 quadIdx = 0; quadIdx < m_vertices.size() / 6; quadIdx++) in verifyImage()
606 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = refColor; in verifyImage()
609 …rer.draw(rr::RenderState(refRenderer.getViewportState()), rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage()
DvktPipelineInputAssemblyTests.cpp158 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonf7aa12fb0111::InputAssemblyInstance
918 , m_vertices (vertexBufferData) in InputAssemblyInstance()
1249 m_vertices.size() * sizeof(Vertex4RGBA), // VkDeviceSize size; in InputAssemblyInstance()
1277 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in InputAssemblyInstance()
1375 nonIndexedVertices.push_back(m_vertices[indicesRange[i]]); in verifyImage()
1386 nonIndexedVertices.push_back(m_vertices[m_indices[i]]); in verifyImage()
DvktPipelineImageSamplingInstance.hpp118 std::vector<Vertex4Tex4> m_vertices; member in vkt::pipeline::ImageSamplingInstance
DvktPipelineCacheTests.cpp620 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anoned8237df0111::GraphicsCacheTestInstance
756 m_vertices = createOverlappingQuads(); in GraphicsCacheTestInstance()
758 …deMemcpy(m_vertexBufferMemory->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4… in GraphicsCacheTestInstance()
985 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in prepareRenderPass()
DvktPipelineTimestampTests.cpp857 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon7daaa53f0111::BasicGraphicsTestInstance
900 m_vertices = createOverlappingQuads(); in buildVertexBuffer()
902 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in buildVertexBuffer()
1083 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in configCommandBuffer()
DvktPipelineImageSamplingInstance.cpp218 , m_vertices (vertices) in ImageSamplingInstance()
680 const VkDeviceSize vertexBufferSize = (VkDeviceSize)(m_vertices.size() * sizeof(Vertex4Tex4)); in ImageSamplingInstance()
700 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], (size_t)vertexBufferSize); in ImageSamplingInstance()
746 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in ImageSamplingInstance()
1356 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
DglsRandomShaderCase.cpp80 , m_vertices (input->getVariable()->getType().getNumElements() * numVertices) in VertexArray()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedAttachmentTests.cpp282 std::vector<Vertex4RGBA> m_vertices; member in vkt::renderpass::__anoncc17baca0111::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()
DvktRenderPassTests.cpp1570 : m_vertices(6) in RenderQuad()
1572 m_vertices[0] = posA; in RenderQuad()
1573 m_vertices[1] = Vec2(posA[0], posB[1]); in RenderQuad()
1574 m_vertices[2] = posB; in RenderQuad()
1576 m_vertices[3] = posB; in RenderQuad()
1577 m_vertices[4] = Vec2(posB[0], posA[1]); in RenderQuad()
1578 m_vertices[5] = posA; in RenderQuad()
1583 return m_vertices[0]; in getCornerA()
1588 return m_vertices[2]; in getCornerB()
1593 return &m_vertices[0]; in getVertexPointer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorTests.cpp355 , m_vertices (genVertices(caseDef.primitive, caseDef.renderArea, m_primitiveColor)) in ScissorRenderer()
356 , m_vertexBufferSize (sizeInBytes(m_vertices)) in ScissorRenderer()
372 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], static_cast<std::size_t>(m_vertexBuffe… in ScissorRenderer()
407 vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_vertices.size()), 1u, 0u, 0u); in draw()
422 const std::vector<VertexData> m_vertices; member in vkt::FragmentOperations::__anonbc2140220111::ScissorRenderer
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp985 : m_vertices (context) in GraphicsPipeline()
1011 .setVertexInputSingleAttribute (m_vertices.getVertexFormat(), m_vertices.getVertexStride()) in GraphicsPipeline()
1017 .setPatchControlPoints (m_vertices.getNumVertices()) in GraphicsPipeline()
1054 const VkBuffer vertexBuffer = m_vertices.getVertexBuffer(); in recordCommands()
1058 vk.cmdDraw(cmdBuffer, m_vertices.getNumVertices(), 1u, 0u, 0u); in recordCommands()
1063 const VertexGrid m_vertices; member in vkt::synchronization::__anon7f0213210111::ShaderAccess::GraphicsPipeline
2270 , m_vertices (context) in Implementation()
2286 pIndirectCommand->vertexCount = m_vertices.getNumVertices(); in Implementation()
2301 pIndirectCommand->indexCount = m_vertices.getNumIndices(); in Implementation()
2327 .setVertexInputSingleAttribute (m_vertices.getVertexFormat(), m_vertices.getVertexStride()) in Implementation()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderViewportIndexTests.cpp694 , m_vertices (generateVertices(colors)) in Renderer()
700 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer()
709 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer()
762 const std::vector<PositionColorVertex> m_vertices; member in vkt::Draw::__anon132dc16a0111::Renderer
DvktDrawShaderLayerTests.cpp777 , m_vertices (vertices) in Renderer()
783 const VkDeviceSize vertexBufferSize = sizeInBytes(m_vertices); in Renderer()
791 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &m_vertices[0], static_cast<std::size_t>(v… in Renderer()
861 const std::vector<PositionColorVertex> m_vertices; member in vkt::Draw::__anon2217faef0111::Renderer