Lines Matching refs:std
118 static std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType)
122 std::map<std::string, std::string> args;
138 std::string inputTypeToGLString (rr::GeometryShaderInputType inputType)
153 std::string outputTypeToGLString (rr::GeometryShaderOutputType outputType)
166 std::string primitiveTypeToString (GLenum primitive)
192 std::vector<int> pattern;
217 std::string genGeometrySource (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType) const;
291 std::string VertexExpanderShader::genGeometrySource (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType) const
293 std::ostringstream str;
315 std::string genGeometrySource (const glu::ContextType& contextType, int emitCountA, int endCountA, int emitCountB, int endCountB, rr::GeometryShaderOutputType outputType) const;
392 std::string VertexEmitterShader::genGeometrySource (const glu::ContextType& contextType, int emitCountA, int endCountA, int emitCountB, int endCountB, rr::GeometryShaderOutputType outputType) const
394 std::ostringstream str;
622 std::ostringstream vertexSource;
623 std::ostringstream fragmentSource;
624 std::ostringstream geometrySource;
800 std::string genGeometrySource (const glu::ContextType& contextType, const OutputCountPatternSpec& spec) const;
865 std::string OutputCountShader::genGeometrySource (const glu::ContextType& contextType, const OutputCountPatternSpec& spec) const
867 std::ostringstream str;
912 return *std::max_element(spec.pattern.begin(), spec.pattern.end());
936 std::string genGeometrySource (const glu::ContextType& contextType, VariableTest test) const;
937 std::string genVertexSource (const glu::ContextType& contextType, VariableTest test) const;
938 std::string genFragmentSource (const glu::ContextType& contextType, VariableTest test) const;
1056 std::string BuiltinVariableShader::genGeometrySource (const glu::ContextType& contextType, VariableTest test) const
1058 std::ostringstream buf;
1138 std::string BuiltinVariableShader::genVertexSource (const glu::ContextType& contextType, VariableTest test) const
1140 std::ostringstream buf;
1170 std::string BuiltinVariableShader::genFragmentSource (const glu::ContextType& contextType, VariableTest test) const
1172 std::ostringstream buf;
1229 static std::string genGeometrySource (const glu::ContextType& contextType, VaryingSource test, int maxEmitCount, bool instanced);
1230 static std::string genVertexSource (const glu::ContextType& contextType, VaryingSource test);
1367 std::string VaryingOutputCountShader::genGeometrySource (const glu::ContextType& contextType, VaryingSource test, int maxEmitCount, bool instanced)
1369 std::ostringstream buf;
1457 std::string VaryingOutputCountShader::genVertexSource (const glu::ContextType& contextType, VaryingSource test)
1459 std::ostringstream buf;
1507 static std::string genGeometrySource (const glu::ContextType& contextType, int numInvocations, OutputCase testCase);
1602 std::string InvocationCountShader::genGeometrySource (const glu::ContextType& contextType, int numInvocations, OutputCase testCase)
1605 std::ostringstream buf;
1690 static std::string genVertexSource (const glu::ContextType& contextType);
1691 static std::string genFragmentSource (const glu::ContextType& contextType);
1692 static std::string genGeometrySource (const glu::ContextType& contextType, int numInvocations);
1749 std::string InstancedExpansionShader::genVertexSource (const glu::ContextType& contextType)
1751 std::ostringstream buf;
1764 std::string InstancedExpansionShader::genFragmentSource (const glu::ContextType& contextType)
1766 std::ostringstream buf;
1778 std::string InstancedExpansionShader::genGeometrySource (const glu::ContextType& contextType, int numInvocations)
1780 std::ostringstream buf;
1850 std::vector<tcu::Vec4> m_vertexPosData;
1851 std::vector<tcu::Vec4> m_vertexAttrData;
1852 std::vector<deUint16> m_indices;
1934 throw tcu::NotSupportedError(std::string("Render target size must be at least ") + de::toString(m_viewportSize.x()) + "x" + de::toString(m_viewportSize.y()));
2502 const int testVertices = *std::max_element(m_spec.pattern.begin(), m_spec.pattern.end());
2719 std::string genFragmentSource (const glu::ContextType& contextType) const;
2720 std::string genGeometrySource (const glu::ContextType& contextType) const;
2721 std::string genSamplerFragmentSource (const glu::ContextType& contextType) const;
3104 std::string LayeredRenderCase::genFragmentSource (const glu::ContextType& contextType) const
3123 std::string LayeredRenderCase::genGeometrySource (const glu::ContextType& contextType) const
3134 std::ostringstream buf;
3342 std::string LayeredRenderCase::genSamplerFragmentSource (const glu::ContextType& contextType) const
3344 std::ostringstream buf;
3985 std::vector<ProgramCase> m_cases;
4004 const std::string vertexSource = std::string(glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType()))) + "\n"
4009 const std::string fragmentSource = std::string(glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType()))) + "\n"
4027 const std::string geometrySource = m_cases[ndx].header + std::string(s_geometryBody);
4053 const std::string geometrySource = std::string(glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType()))) + "\n"
4054 + std::string(supportsES32 ? "" : "#extension GL_EXT_geometry_shader : require\n")
4057 + std::string(s_geometryBody);
4298 std::string expectedValue;
4575 GeometryProgramLimitCase (Context& context, const char* name, const char* description, glw::GLenum apiName, const std::string& glslName, int limit);
4582 const std::string m_glslName;
4586 GeometryProgramLimitCase::GeometryProgramLimitCase (Context& context, const char* name, const char* description, glw::GLenum apiName, const std::string& glslName, int limit)
4653 const std::string geometrySource = "${GLSL_VERSION_DECL}\n"
4866 std::ostringstream geometrySource;
5907 const std::vector<float> initialBufferContents (feedbackCount, -1.0f);
5995 std::vector<float> feedback;
6237 const std::string name = "vertex_count_" + de::toString(vtxCount);
6238 const std::string desc = "Vertex count is " + de::toString(vtxCount);
6294 std::string name = std::string(emitTests[ndx].name) + "_emit_" + de::toString(emitTests[ndx].emitCountA) + "_end_" + de::toString(emitTests[ndx].endCountA);
6295 std::string desc = std::string(emitTests[ndx].name) + " output, emit " + de::toString(emitTests[ndx].emitCountA) + " vertices, call EndPrimitive " + de::toString(emitTests[ndx].endCountA) + " times";
6350 const std::string name = std::string(tests[testNdx].testPrefix) + layerTargets[targetNdx].name;
6351 const std::string desc = std::string(tests[testNdx].descPrefix) + layerTargets[targetNdx].desc;
6377 (std::string("geometry_") + invocationCases[ndx].name + "_invocations").c_str(),
6378 (std::string("Geometry shader with ") + invocationCases[ndx].name + " invocation(s)").c_str(),
6386 (std::string("geometry_output_different_") + invocationCases[ndx].name + "_invocations").c_str(),
6394 const std::string name = std::string("invocation_per_layer_") + layerTargets[targetNdx].name;
6395 const std::string desc = std::string("Render to multiple layers with multiple invocations, one invocation per layer, target ") + layerTargets[targetNdx].desc;
6403 const std::string name = std::string("multiple_layers_per_invocation_") + layerTargets[targetNdx].name;
6404 const std::string desc = std::string("Render to multiple layers with multiple invocations, multiple layers per invocation, target ") + layerTargets[targetNdx].desc;
6418 const std::string name = std::string("draw_") + de::toString(numDrawInstances[instanceNdx]) + "_instances_geometry_" + de::toString(numDrawInvocations[invocationNdx]) + "_invocations";
6419 const std::string desc = std::string("Draw ") + de::toString(numDrawInstances[instanceNdx]) + " instances, with " + de::toString(numDrawInvocations[invocationNdx]) + " geometry shader invocations.";
6477 const std::string name = std::string("type_") + inputTypeToGLString(sglr::rr_util::mapGLGeometryShaderInputType(inputType)) + "_primitive_" + primitiveTypeToString(primitiveType);
6478 const std::string desc = std::string("Shader input type ") + inputTypeToGLString(sglr::rr_util::mapGLGeometryShaderInputType(inputType)) + ", draw primitive type " + primitiveTypeToString(primitiveType);