Home
last modified time | relevance | path

Searched refs:firstVertex (Results 1 – 25 of 184) sorted by relevance

12345678

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DFirstIndexOffsetTests.cpp46 void TestVertexIndex(DrawMode mode, uint32_t firstVertex);
48 void TestBothIndices(DrawMode mode, uint32_t firstVertex, uint32_t firstInstance);
64 void FirstIndexOffsetTests::TestVertexIndex(DrawMode mode, uint32_t firstVertex) { in TestVertexIndex() argument
65 TestImpl(mode, CheckIndex::Vertex, firstVertex, 0); in TestVertexIndex()
73 uint32_t firstVertex, in TestBothIndices() argument
76 TestImpl(mode, CheckIndex::Vertex | CheckIndex::Instance, firstVertex, firstInstance); in TestBothIndices()
85 uint32_t firstVertex, in TestImpl() argument
160 std::vector<float> vertexData(firstVertex * kComponentsPerVertex); in TestImpl()
181 …teBufferFromData<uint32_t>(device, wgpu::BufferUsage::Indirect, {1, 1, firstVertex, firstInstance}… in TestImpl()
186 …ufferFromData<uint32_t>(device, wgpu::BufferUsage::Indirect, {1, 1, 0, firstVertex, firstInstance}… in TestImpl()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h111 uint32_t firstVertex,
113 void draw(uint32_t vertexCount, uint32_t firstVertex);
114 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
117 uint32_t firstVertex,
350 uint32_t firstVertex, in draw() argument
355 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, firstInstance); in draw()
358 ANGLE_INLINE void VulkanSecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument
362 CommandBuffer::draw(vertexCount, 1, firstVertex, 0); in draw()
367 uint32_t firstVertex) in drawInstanced() argument
371 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, 0); in drawInstanced()
[all …]
DSecondaryCommandBuffer.h245 uint32_t firstVertex; member
309 uint32_t firstVertex; member
317 uint32_t firstVertex; member
591 void draw(uint32_t vertexCount, uint32_t firstVertex);
614 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
617 uint32_t firstVertex,
1159 ANGLE_INLINE void SecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument
1163 paramStruct->firstVertex = firstVertex; in draw()
1262 uint32_t firstVertex) in drawInstanced() argument
1267 paramStruct->firstVertex = firstVertex; in drawInstanced()
[all …]
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/dynamic_state/
DVertexFetchViewportArray.mesh25 const uint firstVertex = uint(gl_WorkGroupID.x) + pc.vertexOffset;
28 const uint srcIdx = firstVertex + i;
33 …gl_MeshPrimitivesEXT[0].gl_ViewportIndex = int(round(vtxData.posColor[firstVertex].position.z * 3.…
DVertexFetchLines.mesh25 const uint firstVertex = uint(gl_WorkGroupID.x) + pc.vertexOffset;
28 const uint srcIdx = firstVertex + i;
DVertexFetch.mesh25 const uint firstVertex = uint(gl_WorkGroupID.x) + pc.vertexOffset;
28 const uint srcIdx = firstVertex + i;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DConvertIndirectLineLoop.comp50 // uint32_t firstVertex;
68 uint firstVertex = indirectBuf[indirectBufferOffsetDiv4 + 2];
76 dstData[dstDataOffsetDiv4 + i] = firstVertex + i;
80 dstData[dstDataOffsetDiv4 + vertexCount] = firstVertex;
/third_party/flutter/skia/src/gpu/ops/
DGrMeshDrawOp.cpp36 int firstVertex; in init() local
38 fVertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init()
49 fMesh->setVertexData(std::move(vertexBuffer), firstVertex); in init()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderEncoderBase.cpp84 uint32_t firstVertex, in APIDraw() argument
96 firstVertex)); in APIDraw()
104 draw->firstVertex = firstVertex; in APIDraw()
109 "encoding %s.Draw(%u, %u, %u, %u).", this, vertexCount, instanceCount, firstVertex, in APIDraw()
/third_party/skia/src/gpu/ops/
DGrMeshDrawOp.cpp85 int firstVertex; in init() local
87 fVertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init()
100 firstVertex); in init()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp286 virtual void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) = 0;
429 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
431 glDrawArrays(GL_TRIANGLES, firstVertex, vertexCount); in Draw()
437 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
446 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
/third_party/vk-gl-cts/doc/testspecs/GLES31/
Dfunctional.draw_indirect.txt28 + DrawArraysIndirect firstVertex
49 DrawArraysIndirect firstVertex cases draw random triangles using
50 glDrawElementIndirect with firstVertex > 0 and compare results to a
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp286 virtual void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) = 0;
429 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
431 glDrawArrays(GL_TRIANGLES, firstVertex, vertexCount); in Draw()
437 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
446 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h187 uint32_t firstVertex; member
195 uint32_t firstVertex; member
441 void draw(uint32_t vertexCount, uint32_t firstVertex);
447 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
852 ANGLE_INLINE void SecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument
856 paramStruct->firstVertex = firstVertex; in draw()
876 uint32_t firstVertex) in drawInstanced() argument
881 paramStruct->firstVertex = firstVertex; in drawInstanced()
DVertexArrayVk.cpp551 GLint firstVertex, in updateClientAttribs() argument
564 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateClientAttribs()
621 GLint firstVertex, in handleLineLoop() argument
664 size_t lastVertex = static_cast<size_t>(firstVertex + clampedVertexCount); in handleLineLoop()
666 mLineLoopBufferFirstIndex != firstVertex || mLineLoopBufferLastIndex != lastVertex) in handleLineLoop()
669 contextVk, clampedVertexCount, firstVertex, &mCurrentElementArrayBuffer, in handleLineLoop()
672 mLineLoopBufferFirstIndex = firstVertex; in handleLineLoop()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dgen_indices.metal124 uint firstVertex;
136 uint vertexIdx = options.firstVertex + 2 + idx;
138 output[3 * idx] = options.firstVertex;
202 output[idx] = options.firstVertex + idx % options.vertexCount;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.cpp125 GLint firstVertex, in syncStateForDraw() argument
163 firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in syncStateForDraw()
293 GLint firstVertex, in updateDynamicAttribs() argument
309 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateDynamicAttribs()
DVertexArray11.h37 GLint firstVertex,
71 GLint firstVertex,
DStateManager11.h47 bool onFirstVertexChange(GLint firstVertex);
75 firstVertex{0},
94 uint32_t firstVertex; member
255 GLint firstVertex,
422 GLint firstVertex,
432 GLint firstVertex);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.cpp125 GLint firstVertex, in syncStateForDraw() argument
161 firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in syncStateForDraw()
288 GLint firstVertex, in updateDynamicAttribs() argument
302 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateDynamicAttribs()
DVertexArray11.h37 GLint firstVertex,
69 GLint firstVertex,
DStateManager11.h47 bool onFirstVertexChange(GLint firstVertex);
72 firstVertex{0}
84 uint32_t firstVertex; member
237 GLint firstVertex,
400 GLint firstVertex,
410 GLint firstVertex);
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp48 uint32_t firstVertex, in Draw() argument
57 draw->firstVertex = firstVertex; in Draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp145 params.firstVertex = firstV; in DrawParams()
180 cmd.firstVertex = firstV; in addCommand()
747 de::Random rnd (SEED ^ m_data.params.firstVertex ^ m_data.params.vertexCount); in generateDrawData()
749 const deUint32 vectorSize = m_data.params.firstVertex + m_data.params.vertexCount; in generateDrawData()
755 for (deUint32 vertexIdx = m_data.params.firstVertex; vertexIdx < vectorSize; ++vertexIdx) in generateDrawData()
769 … m_data.params.vertexCount, m_data.params.instanceCount, m_data.params.firstVertex, m_data.params.… in draw()
855 …rtex>::const_iterator vertex = m_data.vertices.begin() + m_data.params.firstVertex; vertex != m_da… in iterate()
1053 de::Random rnd(SEED ^ m_data.commands[0].vertexCount ^ m_data.commands[0].firstVertex); in generateDrawData()
1060 const deUint32 index = it->firstVertex + it->vertexCount; in generateDrawData()
1070 …std::vector<PositionColorVertex>::iterator vertexStart = m_data.vertices.begin() + it->firstVertex; in generateDrawData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktBasicDrawTests.cpp145 params.firstVertex = firstV; in DrawParams()
180 cmd.firstVertex = firstV; in addCommand()
747 de::Random rnd (SEED ^ m_data.params.firstVertex ^ m_data.params.vertexCount); in generateDrawData()
749 const deUint32 vectorSize = m_data.params.firstVertex + m_data.params.vertexCount; in generateDrawData()
755 for (deUint32 vertexIdx = m_data.params.firstVertex; vertexIdx < vectorSize; ++vertexIdx) in generateDrawData()
769 … m_data.params.vertexCount, m_data.params.instanceCount, m_data.params.firstVertex, m_data.params.… in draw()
855 …rtex>::const_iterator vertex = m_data.vertices.begin() + m_data.params.firstVertex; vertex != m_da… in iterate()
1053 de::Random rnd(SEED ^ m_data.commands[0].vertexCount ^ m_data.commands[0].firstVertex); in generateDrawData()
1060 const deUint32 index = it->firstVertex + it->vertexCount; in generateDrawData()
1070 …std::vector<PositionColorVertex>::iterator vertexStart = m_data.vertices.begin() + it->firstVertex; in generateDrawData()
[all …]

12345678