Home
last modified time | relevance | path

Searched refs:primCount (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DProvokingVertexHelper.mm47 static inline uint indexCountForPrimCount(const uint fixIndexBufferKey, const uint primCount)
54 return primCount;
56 return primCount * 2;
58 return primCount * 2;
60 return primCount * 3;
62 return primCount * 3;
217 uint primCount = primCountForIndexCount(indexBufferKey, (uint32_t)indexCount);
218 uint newIndexCount = indexCountForPrimCount(indexBufferKey, primCount);
227 auto threadsPerThreadgroup = MTLSizeMake(MIN(primCount, 64u), 1, 1);
234 encoder->setData(&primCount, 3);
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktPrimitivesGeneratedQueryTests.cpp155 … [](deUint64 vtxCount) { return vtxCount; }, [](deUint64 primCount) { return primCount; } }… in __anon7dc806730302()
156 …](deUint64 vtxCount) { return vtxCount / 2u; }, [](deUint64 primCount) { return primCount * 2u; … in __anon7dc806730602()
157 …](deUint64 vtxCount) { return vtxCount - 1u; }, [](deUint64 primCount) { return primCount + 1u; … in __anon7dc806730702()
158 …](deUint64 vtxCount) { return vtxCount / 3u; }, [](deUint64 primCount) { return primCount * 3u; … in __anon7dc806730902()
159 …](deUint64 vtxCount) { return vtxCount - 2u; }, [](deUint64 primCount) { return primCount + 2u; … in __anon7dc806730c02()
160 …](deUint64 vtxCount) { return vtxCount - 2u; }, [](deUint64 primCount) { return primCount + 2u; … in __anon7dc806730e02()
161 …](deUint64 vtxCount) { return vtxCount / 4u; }, [](deUint64 primCount) { return primCount * 4u; … in __anon7dc806730f02()
162 …](deUint64 vtxCount) { return vtxCount - 3u; }, [](deUint64 primCount) { return primCount + 3u; … in __anon7dc806731102()
163 …](deUint64 vtxCount) { return vtxCount / 6u; }, [](deUint64 primCount) { return primCount * 6u; … in __anon7dc806731302()
164 …int64 vtxCount) { return (vtxCount - 4u) / 2u; }, [](deUint64 primCount) { return primCount * 2u +… in __anon7dc806731502()
[all …]
DvktTransformFeedbackSimpleTests.cpp130 …deUint64 vertexCount) { return vertexCount; } ,[](deUint64 primCount) { return primCount; }, … in __anon8b26c44d0202()
131 …int64 vertexCount) { return vertexCount / 2u; } ,[](deUint64 primCount) { return primCount * 2u; … in __anon8b26c44d0402()
132 …int64 vertexCount) { return vertexCount - 1u; } ,[](deUint64 primCount) { return primCount + 1u; … in __anon8b26c44d0702()
133 …int64 vertexCount) { return vertexCount / 3u; } ,[](deUint64 primCount) { return primCount * 3u; … in __anon8b26c44d0802()
134 …int64 vertexCount) { return vertexCount - 2u; } ,[](deUint64 primCount) { return primCount + 2u; … in __anon8b26c44d0b02()
135 …int64 vertexCount) { return vertexCount - 2u; } ,[](deUint64 primCount) { return primCount + 2u; … in __anon8b26c44d0d02()
136 …int64 vertexCount) { return vertexCount / 4u; } ,[](deUint64 primCount) { return primCount * 4u; … in __anon8b26c44d0f02()
137 …int64 vertexCount) { return vertexCount - 3u; } ,[](deUint64 primCount) { return primCount + 3u; … in __anon8b26c44d1002()
138 …int64 vertexCount) { return vertexCount / 6u; } ,[](deUint64 primCount) { return primCount * 6u; … in __anon8b26c44d1202()
139 …vertexCount) { return (vertexCount - 4u) / 2u; } ,[](deUint64 primCount) { return primCount * 2u +… in __anon8b26c44d1402()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktPrimitivesGeneratedQueryTests.cpp155 … [](deUint64 vtxCount) { return vtxCount; }, [](deUint64 primCount) { return primCount; } }… in __anonee6f54330402()
156 …](deUint64 vtxCount) { return vtxCount / 2u; }, [](deUint64 primCount) { return primCount * 2u; … in __anonee6f54330602()
157 …](deUint64 vtxCount) { return vtxCount - 1u; }, [](deUint64 primCount) { return primCount + 1u; … in __anonee6f54330802()
158 …](deUint64 vtxCount) { return vtxCount / 3u; }, [](deUint64 primCount) { return primCount * 3u; … in __anonee6f54330902()
159 …](deUint64 vtxCount) { return vtxCount - 2u; }, [](deUint64 primCount) { return primCount + 2u; … in __anonee6f54330c02()
160 …](deUint64 vtxCount) { return vtxCount - 2u; }, [](deUint64 primCount) { return primCount + 2u; … in __anonee6f54330e02()
161 …](deUint64 vtxCount) { return vtxCount / 4u; }, [](deUint64 primCount) { return primCount * 4u; … in __anonee6f54330f02()
162 …](deUint64 vtxCount) { return vtxCount - 3u; }, [](deUint64 primCount) { return primCount + 3u; … in __anonee6f54331202()
163 …](deUint64 vtxCount) { return vtxCount / 6u; }, [](deUint64 primCount) { return primCount * 6u; … in __anonee6f54331402()
164 …int64 vtxCount) { return (vtxCount - 4u) / 2u; }, [](deUint64 primCount) { return primCount * 2u +… in __anonee6f54331602()
[all …]
DvktTransformFeedbackSimpleTests.cpp130 …deUint64 vertexCount) { return vertexCount; } ,[](deUint64 primCount) { return primCount; }, … in __anon393b5a0d0302()
131 …int64 vertexCount) { return vertexCount / 2u; } ,[](deUint64 primCount) { return primCount * 2u; … in __anon393b5a0d0502()
132 …int64 vertexCount) { return vertexCount - 1u; } ,[](deUint64 primCount) { return primCount + 1u; … in __anon393b5a0d0702()
133 …int64 vertexCount) { return vertexCount / 3u; } ,[](deUint64 primCount) { return primCount * 3u; … in __anon393b5a0d0902()
134 …int64 vertexCount) { return vertexCount - 2u; } ,[](deUint64 primCount) { return primCount + 2u; … in __anon393b5a0d0b02()
135 …int64 vertexCount) { return vertexCount - 2u; } ,[](deUint64 primCount) { return primCount + 2u; … in __anon393b5a0d0d02()
136 …int64 vertexCount) { return vertexCount / 4u; } ,[](deUint64 primCount) { return primCount * 4u; … in __anon393b5a0d0f02()
137 …int64 vertexCount) { return vertexCount - 3u; } ,[](deUint64 primCount) { return primCount + 3u; … in __anon393b5a0d1102()
138 …int64 vertexCount) { return vertexCount / 6u; } ,[](deUint64 primCount) { return primCount * 6u; … in __anon393b5a0d1302()
139 …vertexCount) { return (vertexCount - 4u) / 2u; } ,[](deUint64 primCount) { return primCount * 2u +… in __anon393b5a0d1502()
[all …]
/third_party/vk-gl-cts/modules/gles31/stress/
Des31sDrawTests.cpp66 deUint32 primCount; member
76 deUint32 primCount; member
239 …drawCommand.primCount = (m_op == INVALID_DATA_INSTANCED) ? (overBoundInstances) : (drawInstances… in iterate()
247 << "\n\tprimCount\t" << drawCommand.primCount in iterate()
261 …drawCommand.primCount = (m_op == INVALID_DATA_INSTANCED) ? (overBoundInstances) : (drawInstances… in iterate()
270 << "\n\tprimCount\t" << drawCommand.primCount in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp210 GLuint primCount; member
218 GLuint primCount; member
2022 indirectArrays.primCount = 1; in Run()
2039 indirectElements.primCount = 1; in Run()
2211 indirectArrays.primCount = 4; in Run()
2228 indirectElements.primCount = 4; in Run()
2508 indirectArrays.primCount = 1; in Run()
2525 indirectElements.primCount = 1; in Run()
2854 indirectArrays.primCount = 1; in Run()
2947 indirectArrays.primCount = 1; in Run()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiDrawTest.cpp106 : count(0), primCount(0), firstIndex(0), baseVertex(0), baseInstance(0) in DrawElementsIndirectCommand()
109 GLuint primCount, in DrawElementsIndirectCommand()
114 primCount(primCount), in DrawElementsIndirectCommand()
120 GLuint primCount; member
DLineLoopTest.cpp496 GLuint primCount; in runTest() member
553 cmdBuffer.primCount = 1; in runTest()
DTransformFeedbackTest.cpp1245 for (size_t &primCount : context.primitiveCounts) in TEST_P()
1247 primCount = rng.randomIntBetween(1, maxDrawSize); in TEST_P()
1277 for (const auto &primCount : context.primitiveCounts) in TEST_P() local
1279 totalPrimCount += primCount; in TEST_P()
1288 for (const auto &primCount : context.primitiveCounts) in TEST_P() local
1290 for (size_t prim = 0; prim < primCount; prim++) in TEST_P()
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrGLContext.hpp200 …ual void multiDrawArrays (deUint32 mode, const int* first, const int* count, int primCount);
201 …rawElements (deUint32 mode, const int* count, deUint32 type, const void** indices, int primCount);
202 …Uint32 mode, const int* count, deUint32 type, const void** indices, int primCount, const int* base…
DsglrContext.hpp188 …virtual void multiDrawArrays (deUint32 mode, const int* first, const int* count, int primCount)…
189 … (deUint32 mode, const int* count, deUint32 type, const void** indices, int primCount) = DE_NULL;
190 …Uint32 mode, const int* count, deUint32 type, const void** indices, int primCount, const int* base…
DsglrGLContext.cpp835 void GLContext::multiDrawArrays (deUint32 mode, const int* first, const int* count, int primCount) in multiDrawArrays() argument
837 m_wrapper->glMultiDrawArrays(mode, first, count, primCount); in multiDrawArrays()
840 …iDrawElements (deUint32 mode, const int* count, deUint32 type, const void** indices, int primCount) in multiDrawElements() argument
842 m_wrapper->glMultiDrawElements(mode, count, type, indices, primCount); in multiDrawElements()
845 …Uint32 mode, const int* count, deUint32 type, const void** indices, int primCount, const int* base… in multiDrawElementsBaseVertex() argument
847 m_wrapper->glMultiDrawElementsBaseVertex(mode, count, type, indices, primCount, baseVertex); in multiDrawElementsBaseVertex()
DsglrReferenceContext.hpp753 …virtual void multiDrawArrays (deUint32 mode, const int* first, const int* count, int primCount
754 …rawElements (deUint32 mode, const int* count, deUint32 type, const void** indices, int primCount);
755 …Uint32 mode, const int* count, deUint32 type, const void** indices, int primCount, const int* base…
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c35 uint32_t primCount; member
319 new_info.instance_count = indirect.primCount; in util_draw_vbo_without_prim_restart()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Drewrite_indices.metal222 constant uint &primCount [[ buffer(3) ]],
229 if(prim < primCount)
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_base_instance.txt194 uint primCount;
205 cmd->primCount,
313 uint primCount;
330 cmd->primCount,
DARB_draw_indirect.txt106 GLuint primCount;
115 DrawArraysInstanced(mode, cmd->first, cmd->count, cmd->primCount);
133 GLuint primCount;
145 cmd->firstIndex * size-of-type, cmd->primCount, cmd->baseVertex);
/third_party/openGLES/extensions/ARB/
DARB_draw_indirect.txt116 GLuint primCount;
125 DrawArraysInstanced(mode, cmd->first, cmd->count, cmd->primCount);
143 GLuint primCount;
155 cmd->firstIndex * size-of-type, cmd->primCount, cmd->baseVertex);
DARB_base_instance.txt204 uint primCount;
215 cmd->primCount,
323 uint primCount;
340 cmd->primCount,
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo_translate.c480 uint32_t primCount; member
487 uint32_t primCount; member
527 single.instance_count = cmd->primCount; in nvc0_push_vbo_indirect()
534 single.instance_count = cmd->primCount; in nvc0_push_vbo_indirect()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawTests.cpp90 deUint32 primCount; member
100 deUint32 primCount; member
894 command.primCount = m_gridSide * m_gridSide; in renderTo()
905 command.primCount = m_gridSide * m_gridSide; in renderTo()
1361 data.primCount = 1; in createDrawCommand()
1383 data.primCount = 1; in createDrawCommand()
2324 drawCommand.primCount = 1; in iterate()
2500 drawCommand.primCount = 1; in iterate()
2678 drawCommand.primCount = 1; in iterate()
2689 drawCommand.primCount = 1; in iterate()
/third_party/mesa3d/src/mesa/main/
Ddraw.c51 GLuint primCount; member
58 GLuint primCount; member
2443 cmd->primCount, in _mesa_DrawArraysIndirect()
2499 cmd->primCount, in _mesa_DrawElementsIndirect()
2578 info.instance_count = cmd->primCount; in _mesa_MultiDrawArraysIndirect()
2672 info.instance_count = cmd->primCount; in _mesa_MultiDrawElementsIndirect()
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_query_buffer_object.txt294 // Write query result to the primCount field of the indirect draw command
297 BUFFER_OFFSET(offsetof(DrawArraysIndirectCommand, primCount)));
/third_party/openGLES/extensions/AMD/
DAMD_query_buffer_object.txt294 // Write query result to the primCount field of the indirect draw command
297 BUFFER_OFFSET(offsetof(DrawArraysIndirectCommand, primCount)));

12