Home
last modified time | relevance | path

Searched refs:maxVertices (Results 1 - 25 of 30) sorted by relevance

12

/third_party/skia/src/gpu/ops/
H A DAALinearizingConvexPathRenderer.cpp219 int64_t maxVertices = DEFAULT_BUFFER_SIZE; variable
221 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride);
240 if (vertexCount + currentVertices > maxVertices) {
241 maxVertices = std::max(vertexCount + currentVertices, maxVertices * 2);
242 if (maxVertices * vertexStride > SK_MaxS32) {
247 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A 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()
H A 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()
H A DOutputGLSLBase.cpp1311 int maxVertices) in WriteGeometryShaderLayoutQualifiers()
1334 if (outputPrimitive != EptUndefined || maxVertices != -1) in WriteGeometryShaderLayoutQualifiers()
1343 if (maxVertices != -1) in WriteGeometryShaderLayoutQualifiers()
1349 out << "max_vertices = " << maxVertices; in WriteGeometryShaderLayoutQualifiers() local
1307 WriteGeometryShaderLayoutQualifiers(TInfoSinkBase &out, sh::TLayoutPrimitiveType inputPrimitive, int invocations, sh::TLayoutPrimitiveType outputPrimitive, int maxVertices) WriteGeometryShaderLayoutQualifiers() argument
H A DShaderLang.cpp855 int maxVertices = compiler->getGeometryShaderMaxVertices(); in GetGeometryShaderMaxVertices() local
856 ASSERT(maxVertices >= 0); in GetGeometryShaderMaxVertices()
857 return maxVertices; in GetGeometryShaderMaxVertices()
H A DOutputGLSLBase.h124 int maxVertices);
H A DTranslatorVulkan.cpp1247 int maxVertices = getGeometryShaderMaxVertices(); in translateImpl() local
1250 maxVertices = std::max(1, maxVertices); in translateImpl()
1254 getGeometryShaderOutputPrimitiveType(), maxVertices); in translateImpl()
H A 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()
5330 *maxVertices = intValue; in parseMaxVertices()
5460 parseMaxVertices(intValue, intValueLine, intValueString, &qualifier.maxVertices); in parseLayoutQualifier()
5314 parseMaxVertices(int intValue, const TSourceLoc &intValueLine, const std::string &intValueString, int *maxVertices) parseMaxVertices() argument
H A 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/
H A DGeometryShader_test.cpp54 int maxVertices) in GetGeometryShaderLayout()
67 if (maxVertices >= 0) in GetGeometryShaderLayout()
69 sstream << ", max_vertices = " << maxVertices; in GetGeometryShaderLayout() local
605 constexpr int maxVertices = 1; in TEST_F() local
607 GetGeometryShaderLayout("out", outPrimitives[i], -1, maxVertices); in TEST_F()
51 GetGeometryShaderLayout(const std::string &layoutType, const std::string &primitive, int invocations, int maxVertices) GetGeometryShaderLayout() argument
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_driver.h176 unsigned maxVertices; member
H A Dnv50_ir_print.cpp1010 INFO(" \"maxVertices\":\"%d\"\n", info_out->prop.gp.maxVertices); in nv50_ir_prog_info_out_print()
H A Dnv50_ir.cpp1255 info_out->prop.gp.maxVertices = 1; in nv50_ir_init_prog_info()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A 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/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A 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/
H A DGeometryShaderTest.cpp35 int maxVertices) in CreateEmptyGeometryShader()
52 if (maxVertices >= 0) in CreateEmptyGeometryShader()
54 ostream << "layout (max_vertices = " << maxVertices << ") out;\n"; in CreateEmptyGeometryShader() local
32 CreateEmptyGeometryShader(const std::string &inputPrimitive, const std::string &outputPrimitive, int invocations, int maxVertices) CreateEmptyGeometryShader() argument
/third_party/vk-gl-cts/modules/gles31/functional/
H A 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 m_context.getRenderContext().getFunctions().getIntegerv(GL_MAX_GEOMETRY_OUTPUT_VERTICES, &maxVertices); in init()
2513 m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_GEOMETRY_OUTPUT_VERTICES = " << maxVertices << tcu::TestLog::EndMessage; 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() local
3801 glw::GLint maxVertices
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
H A DvktPrimitivesGeneratedQueryTests.cpp1276 const VkDeviceSize maxVertices = m_parameters.multipleStreams() ? outputPrimSize * 2 : outputPrimSize; in initPrograms() local
1285 "layout(" << outputTopology << ", max_vertices = " << maxVertices << ") out;\n"; in initPrograms() local
2285 VkDeviceSize maxVertices = (transformFeedback && m_parameters.multipleStreams()) ? outputPrimSize * 2 : outputPrimSize; in initPrograms() local
2287 if (outputZero) maxVertices *= 2; in initPrograms()
2319 "layout(" << outputTopology << ", max_vertices = " << maxVertices << ") out;\n"; in initPrograms() local
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderPropertyTestsEXT.cpp1120 const auto maxVertices = (isPrimitives ? 1u : m_params.itemCount); in initPrograms() local
1122 const auto xCoord = (isPrimitives ? "0.0" : "(float(vertexID) + 0.5) / float(maxVertices) * 2.0 - 1.0"); in initPrograms()
1149 << "layout (max_vertices=" << maxVertices << ", max_primitives=" << maxPrimitives << ") out;\n" in initPrograms()
1171 << " const uint maxVertices = " << maxVertices << "u;\n" in initPrograms()
1173 << " const uint verticesPerInvocation = (maxVertices + localInvs - 1u) / localInvs;\n" in initPrograms()
1176 << " SetMeshOutputsEXT(maxVertices, maxPoints);\n" in initPrograms()
1180 << " if (vertexID >= maxVertices) {\n" in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderPropertyTestsEXT.cpp1120 const auto maxVertices = (isPrimitives ? 1u : m_params.itemCount); in initPrograms() local
1122 const auto xCoord = (isPrimitives ? "0.0" : "(float(vertexID) + 0.5) / float(maxVertices) * 2.0 - 1.0"); in initPrograms()
1149 << "layout (max_vertices=" << maxVertices << ", max_primitives=" << maxPrimitives << ") out;\n" in initPrograms()
1171 << " const uint maxVertices = " << maxVertices << "u;\n" in initPrograms()
1173 << " const uint verticesPerInvocation = (maxVertices + localInvs - 1u) / localInvs;\n" in initPrograms()
1176 << " SetMeshOutputsEXT(maxVertices, maxPoints);\n" in initPrograms()
1180 << " if (vertexID >= maxVertices) {\n" in initPrograms()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_program.c442 prog->gp.vert_count = CLAMP(info_out.prop.gp.maxVertices, 1, 1024); in nv50_program_translate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
H A DvktPrimitivesGeneratedQueryTests.cpp1111 const VkDeviceSize maxVertices = m_parameters.multipleStreams() ? outputPrimSize * 2 : outputPrimSize; in initPrograms() local
1120 "layout(" << outputTopology << ", max_vertices = " << maxVertices << ") out;\n"; in initPrograms() local
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp872 const int maxVertices = (params.testType == TEST_TYPE_DIFFERENT_CONTENT) ? (numLayers + 1) * numLayers :
893 src << "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n"
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp872 const int maxVertices = (params.testType == TEST_TYPE_DIFFERENT_CONTENT) ? (numLayers + 1) * numLayers :
893 src << "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n"
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_program.c415 gp->hdr[4] = CLAMP(info->prop.gp.maxVertices, 1, 1024); in nvc0_gp_gen_header()

Completed in 61 milliseconds

12