Home
last modified time | relevance | path

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

/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/api/
DvktApiBufferViewAccessTests.cpp98 std::vector<tcu::Vec4> m_vertices; member in vkt::api::__anon54bd25560111::BufferViewTestInstance
127 m_vertices.push_back(a); in createQuad()
128 m_vertices.push_back(c); in createQuad()
129 m_vertices.push_back(b); in createQuad()
132 m_vertices.push_back(c); in createQuad()
133 m_vertices.push_back(a); in createQuad()
134 m_vertices.push_back(d); in createQuad()
597 const VkDeviceSize vertexDataSize = m_vertices.size() * sizeof(tcu::Vec4); in BufferViewTestInstance()
616 deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), (size_t)vertexDataSize); in BufferViewTestInstance()
706 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in BufferViewTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp155 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anonae0154f10111::PushConstantGraphicsTestInstance
917 m_vertices = createQuad(1.0f); in PushConstantGraphicsTestInstance()
924 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in PushConstantGraphicsTestInstance()
937 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in PushConstantGraphicsTestInstance()
1031 const VkDeviceSize triangleOffset = (m_vertices.size() / TRIANGLE_COUNT) * sizeof(Vertex4RGBA); in PushConstantGraphicsTestInstance()
1045 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / TRIANGLE_COUNT), 1, 0, 0); in PushConstantGraphicsTestInstance()
1108 m_vertices = createQuad(0.5f); in verifyImage()
1115 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in verifyImage()
1117 m_vertices[vertexNdx].color.xyzw() = tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f); in verifyImage()
1126 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 1.0f, 0.0f); in verifyImage()
[all …]
DvktPipelineMultisampleTests.cpp275 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon741043340111::RasterizationSamplesInstance
298 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon741043340111::MinSampleShadingInstance
322 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon741043340111::SampleMaskInstance
345 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon741043340111::AlphaToOneInstance
368 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon741043340111::AlphaToCoverageInstance
835 , m_vertices (vertices) in RasterizationSamplesInstance()
885 refRenderer.draw(renderState, mapVkPrimitiveTopology(m_primitiveTopology), m_vertices); in verifyImage()
907 , m_vertices (vertices) in MinSampleShadingInstance()
927 …renderer (m_context, m_colorFormat, m_renderSize, m_primitiveTopology, m_vertices, m_multisampleSt… in iterate()
936 …renderer (m_context, m_colorFormat, m_renderSize, m_primitiveTopology, m_vertices, multisamplePara… in iterate()
[all …]
DvktPipelineBlendTests.cpp145 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon00b3faec0111::BlendTestInstance
664 m_vertices = createOverlappingQuads(); in BlendTestInstance()
674 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in BlendTestInstance()
675m_vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.l… in BlendTestInstance()
679 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in BlendTestInstance()
762 const VkDeviceSize quadOffset = (m_vertices.size() / BlendTest::QUAD_COUNT) * sizeof(Vertex4RGBA); in BlendTestInstance()
770 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / BlendTest::QUAD_COUNT), 1, 0, 0); in BlendTestInstance()
939 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
940 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
DvktPipelineDepthTests.cpp159 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon9666b2dc0111::DepthTestInstance
681 m_vertices = createOverlappingQuads(); in DepthTestInstance()
690 m_vertices[quadNdx * 6 + vertexNdx].position.z() = DepthTest::quadDepths[quadNdx]; in DepthTestInstance()
693 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in DepthTestInstance()
785 …const VkDeviceSize quadOffset = (m_vertices.size() / DepthTest::QUAD_COUNT) * sizeof(Vertex4RGBA… in DepthTestInstance()
793 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / DepthTest::QUAD_COUNT), 1, 0, 0); in DepthTestInstance()
863 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
864 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
DvktPipelineStencilTests.cpp163 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon74abf3190111::StencilTestInstance
759 m_vertices = createOverlappingQuads(); in StencilTestInstance()
768 m_vertices[quadNdx * 6 + vertexNdx].position.z() = StencilTest::s_quadDepths[quadNdx]; in StencilTestInstance()
771 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in StencilTestInstance()
873 …const VkDeviceSize quadOffset = (m_vertices.size() / StencilTest::QUAD_COUNT) * sizeof(Vertex4RG… in StencilTestInstance()
881 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / StencilTest::QUAD_COUNT), 1, 0, 0); in StencilTestInstance()
963 std::vector<Vertex4RGBA> cwVertices(m_vertices); in verifyImage()
DvktPipelineInputAssemblyTests.cpp155 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon880779f70111::InputAssemblyInstance
917 , m_vertices (vertexBufferData) in InputAssemblyInstance()
1305 m_vertices.size() * sizeof(Vertex4RGBA), // VkDeviceSize size; in InputAssemblyInstance()
1333 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in InputAssemblyInstance()
1513 nonIndexedVertices.push_back(m_vertices[indicesRange[i]]); in verifyImage()
1524 nonIndexedVertices.push_back(m_vertices[m_indices[i]]); in verifyImage()
DvktPipelineImageSamplingInstance.cpp352 , m_vertices (vertices) in ImageSamplingInstance()
820 const VkDeviceSize vertexBufferSize = (VkDeviceSize)(m_vertices.size() * sizeof(Vertex4Tex4)); in ImageSamplingInstance()
841 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &m_vertices[0], (size_t)vertexBufferSize); in ImageSamplingInstance()
922 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in ImageSamplingInstance()
991 refRenderer->draw(renderState, rr::PRIMITIVETYPE_TRIANGLES, m_vertices); in verifyImage()
DvktPipelineImageSamplingInstance.hpp97 std::vector<Vertex4Tex4> m_vertices; member in vkt::pipeline::ImageSamplingInstance
DvktPipelineCacheTests.cpp702 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon54d662db0111::GraphicsCacheTestInstance
829 m_vertices = createOverlappingQuads(); in GraphicsCacheTestInstance()
831 …deMemcpy(m_vertexBufferMemory->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4… in GraphicsCacheTestInstance()
1089 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in prepareRenderPass()
DvktPipelineTimestampTests.cpp990 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon78d3ee3b0111::BasicGraphicsTestInstance
1033 m_vertices = createOverlappingQuads(); in buildVertexBuffer()
1035 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in buildVertexBuffer()
1309 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in configCommandBuffer()
/external/deqp/external/vulkancts/modules/vulkan/
DvktRenderPassTests.cpp1337 : m_vertices(6) in RenderQuad()
1339 m_vertices[0] = posA; in RenderQuad()
1340 m_vertices[1] = Vec4(posA[0], posB[1], posA[2], posA[3]); in RenderQuad()
1341 m_vertices[2] = posB; in RenderQuad()
1343 m_vertices[3] = posB; in RenderQuad()
1344 m_vertices[4] = Vec4(posB[0], posA[1], posB[2], posA[3]); in RenderQuad()
1345 m_vertices[5] = posA; in RenderQuad()
1350 return m_vertices[0]; in getCornerA()
1355 return m_vertices[2]; in getCornerB()
1360 return &m_vertices[0]; in getVertexPointer()
[all …]