/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineInputAssemblyTests.cpp | 73 int primitiveCount, 85 int primitiveCount, 109 int primitiveCount, 130 int primitiveCount, 137 void createListPrimitives (int primitiveCount, 227 int primitiveCount, in InputAssemblyTest() argument 233 , m_primitiveCount (primitiveCount) in InputAssemblyTest() 378 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkI… in createBufferData() argument 380 DE_ASSERT(primitiveCount > 0); in createBufferData() 399 primitiveSizeX = (2.0f - 2.0f * border) / float(primitiveCount / 2 + primitiveCount % 2 - 1); in createBufferData() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | IndexDataManager.h | 30 TranslatedIndexData(unsigned int primitiveCount) : primitiveCount(primitiveCount) {} in TranslatedIndexData() 35 unsigned int primitiveCount; member
|
D | IndexDataManager.cpp | 230 …enum mode, GLsizei count, const std::vector<GLsizei>& restartIndices, unsigned int* primitiveCount) in recomputePrimitiveCount() argument 233 *primitiveCount = 0; in recomputePrimitiveCount() 247 *primitiveCount += nbIndices / vertexPerPrimitive; in recomputePrimitiveCount() 261 *primitiveCount += (nbIndices >= vertexPerPrimitive) ? (nbIndices + countOffset) : 0; in recomputePrimitiveCount() 265 *primitiveCount = static_cast<unsigned int>(count - restartIndices.size()); in recomputePrimitiveCount() 301 …xPerPrimitive = recomputePrimitiveCount(mode, count, *restartIndices, &translated->primitiveCount); in prepareIndexData() 309 int convertCount = translated->primitiveCount * vertexPerPrimitive; in prepareIndexData()
|
D | Device.cpp | 252 …ice::drawIndexedPrimitive(sw::DrawType type, unsigned int indexOffset, unsigned int primitiveCount) in drawIndexedPrimitive() argument 254 if(!bindResources() || !primitiveCount) in drawIndexedPrimitive() 259 draw(type, indexOffset, primitiveCount); in drawIndexedPrimitive() 262 void Device::drawPrimitive(sw::DrawType type, unsigned int primitiveCount) in drawPrimitive() argument 264 if(!bindResources() || !primitiveCount) in drawPrimitive() 271 draw(type, 0, primitiveCount); in drawPrimitive()
|
D | utilities.cpp | 2248 …sizei elementCount, GLenum elementType, sw::DrawType &drawType, int &primitiveCount, int &vertices… in ConvertPrimitiveType() argument 2254 primitiveCount = elementCount; in ConvertPrimitiveType() 2259 primitiveCount = elementCount / 2; in ConvertPrimitiveType() 2264 primitiveCount = elementCount; in ConvertPrimitiveType() 2269 primitiveCount = elementCount - 1; in ConvertPrimitiveType() 2274 primitiveCount = elementCount / 3; in ConvertPrimitiveType() 2279 primitiveCount = elementCount - 2; in ConvertPrimitiveType() 2284 primitiveCount = elementCount - 2; in ConvertPrimitiveType()
|
D | Device.hpp | 61 …oid drawIndexedPrimitive(sw::DrawType type, unsigned int indexOffset, unsigned int primitiveCount);
|
D | utilities.h | 109 …ementCount, GLenum elementType, sw::DrawType &swPrimitiveType, int &primitiveCount, int &vertices…
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fDrawElementsBaseVertexTests.cpp | 64 static size_t getElementCount (gls::DrawTestSpec::Primitive primitive, size_t primitiveCount) in getElementCount() argument 68 case gls::DrawTestSpec::PRIMITIVE_POINTS: return primitiveCount; in getElementCount() 69 case gls::DrawTestSpec::PRIMITIVE_TRIANGLES: return primitiveCount * 3; in getElementCount() 70 case gls::DrawTestSpec::PRIMITIVE_TRIANGLE_FAN: return primitiveCount + 2; in getElementCount() 71 case gls::DrawTestSpec::PRIMITIVE_TRIANGLE_STRIP: return primitiveCount + 2; in getElementCount() 72 case gls::DrawTestSpec::PRIMITIVE_LINES: return primitiveCount * 2; in getElementCount() 73 case gls::DrawTestSpec::PRIMITIVE_LINE_STRIP: return primitiveCount + 1; in getElementCount() 74 …se gls::DrawTestSpec::PRIMITIVE_LINE_LOOP: return (primitiveCount==1) ? (2) : (primitiveCount); in getElementCount() 75 case gls::DrawTestSpec::PRIMITIVE_LINES_ADJACENCY: return primitiveCount * 4; in getElementCount() 76 case gls::DrawTestSpec::PRIMITIVE_LINE_STRIP_ADJACENCY: return primitiveCount + 3; in getElementCount() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDrawTests.cpp | 58 spec.primitiveCount = 1; in addTestIterations() 61 spec.primitiveCount = 5; in addTestIterations() 64 spec.primitiveCount = 25; in addTestIterations() 75 spec.primitiveCount = 5; in genBasicSpec() 148 spec.primitiveCount = 0; in init() 183 spec.primitiveCount = 0; in init() 229 spec.primitiveCount = 5; in init() 599 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Context.cpp | 64 uint32_t primitiveCount = ComputePrimitiveCount(topology, vertexCount); in ProcessPrimitiveRestart() local 65 if(primitiveCount > 0) in ProcessPrimitiveRestart() 67 indexBuffers->push_back({ primitiveCount, indexBufferStart }); in ProcessPrimitiveRestart() 85 uint32_t primitiveCount = ComputePrimitiveCount(topology, vertexCount); in ProcessPrimitiveRestart() local 86 if(primitiveCount > 0) in ProcessPrimitiveRestart() 88 indexBuffers->push_back({ primitiveCount, indexBufferStart }); in ProcessPrimitiveRestart()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDrawTests.cpp | 60 spec.primitiveCount = 1; in addTestIterations() 63 spec.primitiveCount = 5; in addTestIterations() 66 spec.primitiveCount = 25; in addTestIterations() 106 spec.primitiveCount = 5; in genBasicSpec() 184 spec.primitiveCount = 5; in init() 219 spec.primitiveCount = 5; in init() 265 spec.primitiveCount = 5; in init() 325 spec.primitiveCount = 5; in init() 1034 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw.c | 1109 count = range->primitiveCount; in check_draw_params() 1112 count = range->primitiveCount * 2; in check_draw_params() 1115 count = range->primitiveCount + 1; in check_draw_params() 1118 count = range->primitiveCount * 3; in check_draw_params() 1121 count = range->primitiveCount + 2; in check_draw_params() 1124 count = range->primitiveCount + 2; in check_draw_params()
|
D | svga_pipe_draw.c | 106 range.primitiveCount = 0; in retry_draw_auto() 155 range.primitiveCount = 0; /* specified in indirect buffer */ in retry_draw_indirect()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsScissorTests.hpp | 83 int primitiveCount);
|
D | glsDrawTest.cpp | 235 static size_t getElementCount (DrawTestSpec::Primitive primitive, size_t primitiveCount) in getElementCount() argument 239 case DrawTestSpec::PRIMITIVE_POINTS: return primitiveCount; in getElementCount() 240 case DrawTestSpec::PRIMITIVE_TRIANGLES: return primitiveCount * 3; in getElementCount() 241 case DrawTestSpec::PRIMITIVE_TRIANGLE_FAN: return primitiveCount + 2; in getElementCount() 242 case DrawTestSpec::PRIMITIVE_TRIANGLE_STRIP: return primitiveCount + 2; in getElementCount() 243 case DrawTestSpec::PRIMITIVE_LINES: return primitiveCount * 2; in getElementCount() 244 case DrawTestSpec::PRIMITIVE_LINE_STRIP: return primitiveCount + 1; in getElementCount() 245 case DrawTestSpec::PRIMITIVE_LINE_LOOP: return (primitiveCount==1) ? (2) : (primitiveCount); in getElementCount() 246 case DrawTestSpec::PRIMITIVE_LINES_ADJACENCY: return primitiveCount * 4; in getElementCount() 247 case DrawTestSpec::PRIMITIVE_LINE_STRIP_ADJACENCY: return primitiveCount + 3; in getElementCount() [all …]
|
D | glsScissorTests.cpp | 312 int primitiveCount); 332 int primitiveCount) in ScissorPrimitiveCase() argument 336 , m_primitiveCount (primitiveCount) in ScissorPrimitiveCase() 890 int primitiveCount) in createPrimitiveTest() argument 892 …cissorPrimitiveCase(testCtx, renderCtx, name, desc, scissorArea, renderArea, type, primitiveCount); in createPrimitiveTest()
|
D | glsDrawTest.hpp | 225 int primitiveCount; //!< number of primitives to draw (per instance) member
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_cmd.h | 727 uint32 primitiveCount; member 798 uint32 primitiveCount; // How many primitives to render member 824 uint32 primitiveCount; // How many primitives to render member
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Renderer.hpp | 247 primitiveCount = 0; in init() 254 AtomicInt primitiveCount; member
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrPrimitiveAssembler.hpp | 472 const size_t primitiveCount = getPrimitiveCount(numVertices); in exec() local 479 for (i = 1; i + 1 < primitiveCount; ++i) in exec()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrDrawVerticesOp.cpp | 664 uint32_t primitiveCount = random->nextRangeU(1, 100); in GR_DRAW_OP_TEST_DEFINE() local 676 uint32_t vertexCount = seed_vertices(type) + (primitiveCount - 1) * primitive_vertices(type); in GR_DRAW_OP_TEST_DEFINE() 684 for (uint32_t i = 1; i < primitiveCount; i++) { in GR_DRAW_OP_TEST_DEFINE()
|
/third_party/skia/src/gpu/ops/ |
D | DrawVerticesOp.cpp | 689 uint32_t primitiveCount = random->nextRangeU(1, 100); in GR_DRAW_OP_TEST_DEFINE() local 701 uint32_t vertexCount = seed_vertices(type) + (primitiveCount - 1) * primitive_vertices(type); in GR_DRAW_OP_TEST_DEFINE() 709 for (uint32_t i = 1; i < primitiveCount; i++) { in GR_DRAW_OP_TEST_DEFINE()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicGeometryShaderTests.cpp | 165 const int primitiveCount, 174 const int primitiveCount, in GeometryOutputCountTestInstance() argument 177 , m_primitiveCount (primitiveCount) in GeometryOutputCountTestInstance()
|
/third_party/vk-gl-cts/modules/gles2/stress/ |
D | es2sDrawTests.cpp | 48 spec.primitiveCount = 5; in genBasicSpec() 313 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_acceleration_structure.c | 192 for (uint32_t p = 0; p < range->primitiveCount; ++p, ctx->curr_ptr += 64) { in build_triangles() 305 for (uint32_t p = 0; p < range->primitiveCount; ++p, ctx->curr_ptr += 128) { in build_instances() 369 for (uint32_t p = 0; p < range->primitiveCount; ++p, ctx->curr_ptr += 64) { in build_aabbs() 396 count += ranges[i].primitiveCount; in leaf_node_count() 570 instance_count += ranges[i].primitiveCount; in build_bvh() 1841 bvh_states[i].instance_count += ppBuildRangeInfos[i][j].primitiveCount; in radv_CmdBuildAccelerationStructuresKHR() 1851 radv_unaligned_dispatch(cmd_buffer, ppBuildRangeInfos[i][j].primitiveCount, 1, 1); in radv_CmdBuildAccelerationStructuresKHR() 1852 prim_consts.dst_offset += prim_size * ppBuildRangeInfos[i][j].primitiveCount; in radv_CmdBuildAccelerationStructuresKHR() 1853 prim_consts.dst_scratch_offset += 4 * ppBuildRangeInfos[i][j].primitiveCount; in radv_CmdBuildAccelerationStructuresKHR()
|