Home
last modified time | relevance | path

Searched refs:maxVertices (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/src/gpu/ops/
DAALinearizingConvexPathRenderer.cpp219 int64_t maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws() local
221 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); in onPrepareDraws()
240 if (vertexCount + currentVertices > maxVertices) { in onPrepareDraws()
241 maxVertices = std::max(vertexCount + currentVertices, maxVertices * 2); in onPrepareDraws()
242 if (maxVertices * vertexStride > SK_MaxS32) { in onPrepareDraws()
247 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DQualifierTypes.cpp791 if (rightQualifier.maxVertices != -1) in JoinLayoutQualifiers()
793 if (joinedQualifier.maxVertices != -1 && in JoinLayoutQualifiers()
794 joinedQualifier.maxVertices != rightQualifier.maxVertices) in JoinLayoutQualifiers()
800 joinedQualifier.maxVertices = rightQualifier.maxVertices; in JoinLayoutQualifiers()
DBaseTypes.h1320 invocations == 0 && maxVertices == -1 && vertices == 0 && in isEmpty()
1331 (primitiveType != EptUndefined) || (invocations != 0) || (maxVertices != -1); in isCombinationValid()
1378 int maxVertices; member
1409 maxVertices(-1), in TLayoutQualifier()
DShaderLang.cpp855 int maxVertices = compiler->getGeometryShaderMaxVertices(); in GetGeometryShaderMaxVertices() local
856 ASSERT(maxVertices >= 0); in GetGeometryShaderMaxVertices()
857 return maxVertices; in GetGeometryShaderMaxVertices()
DOutputGLSLBase.cpp1311 int maxVertices) in WriteGeometryShaderLayoutQualifiers() argument
1334 if (outputPrimitive != EptUndefined || maxVertices != -1) in WriteGeometryShaderLayoutQualifiers()
1343 if (maxVertices != -1) in WriteGeometryShaderLayoutQualifiers()
1349 out << "max_vertices = " << maxVertices; in WriteGeometryShaderLayoutQualifiers()
DTranslatorVulkan.cpp1247 int maxVertices = getGeometryShaderMaxVertices(); in translateImpl() local
1250 maxVertices = std::max(1, maxVertices); in translateImpl()
1254 getGeometryShaderOutputPrimitiveType(), maxVertices); in translateImpl()
DOutputGLSLBase.h124 int maxVertices);
DParseContext.cpp3384 if (layoutQualifier.maxVertices != -1) in parseGeometryShaderInputLayoutQualifier()
3468 if (layoutQualifier.maxVertices > -1) in parseGeometryShaderOutputLayoutQualifier()
3472 mGeometryShaderMaxVertices = layoutQualifier.maxVertices; in parseGeometryShaderOutputLayoutQualifier()
3474 else if (mGeometryShaderMaxVertices != layoutQualifier.maxVertices) in parseGeometryShaderOutputLayoutQualifier()
5317 int *maxVertices) in parseMaxVertices() argument
5330 *maxVertices = intValue; in parseMaxVertices()
5460 parseMaxVertices(intValue, intValueLine, intValueString, &qualifier.maxVertices); in parseLayoutQualifier()
DBuildSPIRV.cpp2202 const int maxVertices = std::max(1, mCompiler->getGeometryShaderMaxVertices()); in writeExecutionModes() local
2207 {spirv::LiteralInteger(maxVertices)}); in writeExecutionModes()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DGeometryShader_test.cpp54 int maxVertices) in GetGeometryShaderLayout() argument
67 if (maxVertices >= 0) in GetGeometryShaderLayout()
69 sstream << ", max_vertices = " << maxVertices; in GetGeometryShaderLayout()
605 constexpr int maxVertices = 1; in TEST_F() local
607 GetGeometryShaderLayout("out", outPrimitives[i], -1, maxVertices); in TEST_F()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_driver.h176 unsigned maxVertices; member
Dnv50_ir_print.cpp1010 INFO(" \"maxVertices\":\"%d\"\n", info_out->prop.gp.maxVertices); in nv50_ir_prog_info_out_print()
Dnv50_ir.cpp1255 info_out->prop.gp.maxVertices = 1; in nv50_ir_init_prog_info()
Dnv50_ir_from_tgsi.cpp1176 info_out->prop.gp.maxVertices = prop->u[0].Data; in scanProperty()
3606 if (info_out->prop.gp.maxVertices == 0) in handleInstruction()
Dnv50_ir_from_nir.cpp1336 info_out->prop.gp.maxVertices = nir->info.gs.vertices_out; in parseNIR()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.cpp174 const deInt32 maxVertices = 3u * numLayers; in initPrograms() local
181 << "layout(triangle_strip, max_vertices = " << static_cast<deInt32>(maxVertices) << ") out;\n" in initPrograms()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DGeometryShaderTest.cpp35 int maxVertices) in CreateEmptyGeometryShader() argument
52 if (maxVertices >= 0) in CreateEmptyGeometryShader()
54 ostream << "layout (max_vertices = " << maxVertices << ") out;\n"; in CreateEmptyGeometryShader()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fGeometryShaderTests.cpp1604 const int maxVertices = (int)getNumVertices(numInvocations, testCase); in genGeometrySource() local
1610 "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n" in genGeometrySource()
2503 glw::GLint maxVertices = 0; in init() local
2510 …ntext.getRenderContext().getFunctions().getIntegerv(GL_MAX_GEOMETRY_OUTPUT_VERTICES, &maxVertices); in init()
2513 …() << tcu::TestLog::Message << "GL_MAX_GEOMETRY_OUTPUT_VERTICES = " << maxVertices << tcu::TestLog… in init()
2521 m_spec.pattern[0] = de::min(maxVertices, maxComponents / componentsPerVertex); in init()
2532 if (testVertices > maxVertices) in init()
3129 …const int maxVertices = (m_test == TEST_DIFFERENT_LAYERS) ? ((2 + m_numLayers-1) * m_numLayers)… in genGeometrySource() local
3144 buf << "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n" in genGeometrySource()
3801 glw::GLint maxVertices = 0; in init() local
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c442 prog->gp.vert_count = CLAMP(info_out.prop.gp.maxVertices, 1, 1024); in nv50_program_translate()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.c415 gp->hdr[4] = CLAMP(info->prop.gp.maxVertices, 1, 1024); in nvc0_gp_gen_header()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp872 …const int maxVertices = (params.testType == TEST_TYPE_DIFFERENT_CONTENT) ? (numLayers + 1) * nu… in initPrograms() local
893 src << "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n" in initPrograms()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgram.cpp3365 Optional<GLint> maxVertices = geometryShader->getGeometryShaderMaxVertices(); in linkValidateShaders() local
3366 if (!maxVertices.valid()) in linkValidateShaders()
3374 mState.mExecutable->mGeometryShaderMaxVertices = maxVertices.value(); in linkValidateShaders()
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp672 …unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.g… in getIoArrayImplicitSize() local
679 expectedSize = maxVertices; in getIoArrayImplicitSize()
698 expectedSize = maxVertices; in getIoArrayImplicitSize()