/aosp_15_r20/external/angle/src/libANGLE/renderer/vulkan/ |
H A D | VulkanSecondaryCommandBuffer.h | 126 uint32_t firstVertex, 128 void draw(uint32_t vertexCount, uint32_t firstVertex); 129 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex); 132 uint32_t firstVertex, 407 uint32_t firstVertex, in draw() argument 412 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, firstInstance); in draw() 415 ANGLE_INLINE void VulkanSecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument 419 CommandBuffer::draw(vertexCount, 1, firstVertex, 0); in draw() 424 uint32_t firstVertex) in drawInstanced() argument 428 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, 0); in drawInstanced() [all …]
|
H A D | SecondaryCommandBuffer.h | 348 uint32_t firstVertex; member 432 uint32_t firstVertex; member 443 uint32_t firstVertex; member 954 void draw(uint32_t vertexCount, uint32_t firstVertex); 977 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex); 980 uint32_t firstVertex, 1628 ANGLE_INLINE void SecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument 1632 paramStruct->firstVertex = firstVertex; in draw() 1731 uint32_t firstVertex) in drawInstanced() argument 1736 paramStruct->firstVertex = firstVertex; in drawInstanced() [all …]
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/wgpu/ |
H A D | ContextWgpu.cpp | 286 uint32_t firstVertex = 0; in drawElements() local 287 ANGLE_TRY(setupDraw(context, mode, 0, count, 1, type, indices, 0, &firstVertex)); in drawElements() 288 mCommandBuffer.drawIndexed(static_cast<uint32_t>(count), 1, firstVertex, 0, 0); in drawElements() 310 uint32_t firstVertex = 0; in drawElementsBaseVertex() local 311 ANGLE_TRY(setupDraw(context, mode, 0, count, 1, type, indices, baseVertex, &firstVertex)); in drawElementsBaseVertex() 312 mCommandBuffer.drawIndexed(static_cast<uint32_t>(count), 1, firstVertex, in drawElementsBaseVertex() 335 uint32_t firstVertex = 0; in drawElementsInstanced() local 336 ANGLE_TRY(setupDraw(context, mode, 0, count, instances, type, indices, 0, &firstVertex)); in drawElementsInstanced() 338 firstVertex, 0, 0); in drawElementsInstanced() 361 uint32_t firstVertex = 0; in drawElementsInstancedBaseVertex() local [all …]
|
H A D | wgpu_command_buffer.cpp | 45 uint32_t firstVertex, in draw() argument 51 drawCommand->firstVertex = firstVertex; in draw() 177 drawCommand.firstVertex, drawCommand.firstInstance); in recordCommands()
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/metal/shaders/ |
H A D | mtl_internal_shaders_autogen.metal | 832 uint firstVertex; 844 uint vertexIdx = options.firstVertex + 2 + idx; 850 output[3 * idx + 2] = options.firstVertex; 912 output[idx] = options.firstVertex + idx % options.vertexCount; 3494 const uint firstVertex, 3508 …onOutIndex)] = onIndex + firstVertex; } if(outIndexBufferIsUint32) { outIndexBufferUint32[(onOutIn… 3517 …utIndex)] = tmpIndex1 + firstVertex; } if(outIndexBufferIsUint32) { outIndexBufferUint32[(onOutInd… 3518 …utIndex)] = tmpIndex0 + firstVertex; } if(outIndexBufferIsUint32) { outIndexBufferUint32[(onOutInd… 3522 …utIndex)] = tmpIndex0 + firstVertex; } if(outIndexBufferIsUint32) { outIndexBufferUint32[(onOutInd… 3523 …utIndex)] = tmpIndex1 + firstVertex; } if(outIndexBufferIsUint32) { outIndexBufferUint32[(onOutInd… [all …]
|
H A D | gen_indices.metal | 124 uint firstVertex; 136 uint vertexIdx = options.firstVertex + 2 + idx; 142 output[3 * idx + 2] = options.firstVertex; 204 output[idx] = options.firstVertex + idx % options.vertexCount;
|
H A D | rewrite_indices.metal | 263 const uint firstVertex, 276 outIndexBufferUint16[(_idx)] = _val + firstVertex; \ 280 outIndexBufferUint32[(_idx)] = _val + firstVertex; \ 422 constant uint &firstVertex [[ buffer(4) ]], 461 …generatePrimitive(outIndexBufferUint16, outIndexBufferUint32, firstVertex, indexCount, baseIndex, …
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/vulkan/shaders/src/ |
H A D | ConvertIndirectLineLoop.comp | 50 // uint32_t firstVertex; 68 uint firstVertex = indirectBuf[indirectBufferOffsetDiv4 + 2]; 76 dstData[dstDataOffsetDiv4 + i] = firstVertex + i; 80 dstData[dstDataOffsetDiv4 + vertexCount] = firstVertex;
|
/aosp_15_r20/external/deqp/external/vulkancts/data/vulkan/dynamic_state/ |
H A D | VertexFetchViewportArray.mesh | 25 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.…
|
H A D | VertexFetch.mesh | 25 const uint firstVertex = uint(gl_WorkGroupID.x) + pc.vertexOffset; 28 const uint srcIdx = firstVertex + i;
|
H A D | VertexFetchLines.mesh | 25 const uint firstVertex = uint(gl_WorkGroupID.x) + pc.vertexOffset; 28 const uint srcIdx = firstVertex + i;
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/draw/ |
H A D | vktBasicDrawTests.cpp | 165 params.firstVertex = firstV; in DrawParams() 203 cmd.firstVertex = firstV; in addCommand() 838 de::Random rnd(SEED ^ m_data.params.firstVertex ^ m_data.params.vertexCount); in generateDrawData() 840 const uint32_t vectorSize = m_data.params.firstVertex + m_data.params.vertexCount; in generateDrawData() 847 for (uint32_t vertexIdx = m_data.params.firstVertex; vertexIdx < vectorSize; ++vertexIdx) in generateDrawData() 860 …dDraw(cmdBuffer, m_data.params.vertexCount, m_data.params.instanceCount, m_data.params.firstVertex, in draw() 964 …<PositionColorVertex>::const_iterator vertex = m_data.vertices.begin() + m_data.params.firstVertex; in iterate() 1172 de::Random rnd(SEED ^ m_data.commands[0].vertexCount ^ m_data.commands[0].firstVertex); in generateDrawData() 1180 const uint32_t index = it->firstVertex + it->vertexCount; in generateDrawData() 1192 …std::vector<PositionColorVertex>::iterator vertexStart = m_data.vertices.begin() + it->firstVertex; in generateDrawData() [all …]
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
H A D | StateManager11.h | 47 bool onFirstVertexChange(GLint firstVertex); 77 firstVertex{0}, 93 uint32_t firstVertex; member 253 GLint firstVertex, 442 GLint firstVertex, 452 GLint firstVertex);
|
H A D | VertexArray11.cpp | 138 GLint firstVertex, in syncStateForDraw() argument 175 firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in syncStateForDraw() 305 GLint firstVertex, in updateDynamicAttribs() argument 321 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateDynamicAttribs()
|
H A D | VertexArray11.h | 37 GLint firstVertex, 71 GLint firstVertex,
|
/aosp_15_r20/external/skia/src/gpu/ganesh/ops/ |
H A D | GrMeshDrawOp.cpp | 101 int firstVertex; in init() local 103 fVertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init() 116 firstVertex); in init()
|
H A D | TriangulatingPathRenderer.cpp | 402 int firstVertex; in createAAMesh() local 403 GrEagerDynamicVertexAllocator allocator(target, &vertexBuffer, &firstVertex); in createAAMesh() 408 fMesh = CreateMesh(target, std::move(vertexBuffer), firstVertex, vertexCount); in createAAMesh() 543 int firstVertex, in CreateMesh() argument 546 mesh->set(std::move(vb), count, firstVertex); in CreateMesh()
|
H A D | DrawMeshOp.cpp | 1122 int firstVertex; in onPrepareDraws() local 1123 std::tie(vertexBuffer, firstVertex) = fMeshes[0].gpuVB(); in onPrepareDraws() 1129 &firstVertex); in onPrepareDraws() 1141 SkASSERT(firstVertex % fSpecification->stride() == 0); in onPrepareDraws() 1142 firstVertex /= fSpecification->stride(); in onPrepareDraws() 1185 firstVertex); in onPrepareDraws() 1187 fMesh->set(std::move(vertexBuffer), fVertexCount, firstVertex); in onPrepareDraws()
|
/aosp_15_r20/external/deqp/external/vulkancts/framework/vulkan/generated/vulkan/ |
H A D | vkTypeUtil.inl | 352 …ndirectCommand (uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t first… argument 357 res.firstVertex = firstVertex; 382 inline VkMultiDrawInfoEXT makeMultiDrawInfoEXT (uint32_t firstVertex, uint32_t vertexCount) argument 385 res.firstVertex = firstVertex; 699 …geInfoKHR (uint32_t primitiveCount, uint32_t primitiveOffset, uint32_t firstVertex, uint32_t trans… argument 704 res.firstVertex = firstVertex;
|
/aosp_15_r20/external/deqp/doc/testspecs/GLES31/ |
H A D | functional.draw_indirect.txt | 28 + DrawArraysIndirect firstVertex 49 DrawArraysIndirect firstVertex cases draw random triangles using 50 glDrawElementIndirect with firstVertex > 0 and compare results to a
|
/aosp_15_r20/external/mesa3d/src/intel/shaders/ |
H A D | generate.cl | 164 data.firstVertex, 195 data.firstVertex, 199 data.firstVertex,
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
H A D | vktConditionalTransformFeedbackTests.cpp | 383 const uint32_t firstVertex = 6u * index; in recordDraw() local 386 multiDrawInfo.firstVertex = firstVertex; in recordDraw() 389 multiDrawIndexedInfo.firstIndex = firstVertex; in recordDraw() 399 m_vk.cmdDraw(cmdBuffer, 6, 1, firstVertex, 0); in recordDraw()
|
/aosp_15_r20/external/mesa3d/src/intel/vulkan/ |
H A D | genX_cmd_draw.c | 988 uint32_t firstVertex, in genX() 1014 firstVertex, firstInstance, 0, in genX() 1033 prim.StartVertexLocation = firstVertex; in genX() 1040 prim.ExtendedParameter0 = firstVertex; in genX() 1082 draw->firstVertex, in genX() 1098 prim.StartVertexLocation = draw->firstVertex; in genX() 1139 prim.StartVertexLocation = draw->firstVertex; in genX() 1144 prim.ExtendedParameter0 = draw->firstVertex; in genX() 1483 const uint32_t firstVertex = 0; in genX() local 1504 emit_base_vertex_instance(cmd_buffer, firstVertex, firstInstance); in genX() [all …]
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateVPTests.cpp | 369 const uint32_t firstVertex = i * vertsPerViewport; in iterate() local 370 m_vk.cmdDraw(*m_cmdBuffer, vertsPerViewport, 1, firstVertex, 0); in iterate() 383 const uint32_t firstVertex = i * vertsPerViewport; in iterate() local 384 pushVertexOffset(firstVertex, *m_pipelineLayout); in iterate()
|
/aosp_15_r20/external/angle/src/tests/gl_tests/ |
H A D | AttributeLayoutTest.cpp | 318 virtual void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) = 0; 461 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument 463 glDrawArrays(GL_TRIANGLES, firstVertex, vertexCount); in Draw() 469 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument 478 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
|