Lines Matching full:varname
91 static std::string makeCaseName (const std::string& varName) in makeCaseName() argument
93 DE_ASSERT(varName.length() > 3); in makeCaseName()
94 DE_ASSERT(varName.substr(0,3) == "gl_"); in makeCaseName()
97 name << de::toLower(char(varName[3])); in makeCaseName()
99 for (size_t ndx = 4; ndx < varName.length(); ndx++) in makeCaseName()
101 const char c = char(varName[ndx]); in makeCaseName()
129 …ShaderBuiltinConstantCase (Context& context, const char* varName, GetConstantValueFunc getValue, c…
144 …Case<DataType>::ShaderBuiltinConstantCase (Context& context, const char* varName, GetConstantValue… in ShaderBuiltinConstantCase() argument
145 : TestCase (context, makeCaseName(varName).c_str(), varName) in ShaderBuiltinConstantCase()
146 , m_varName (varName) in ShaderBuiltinConstantCase()
199 const std::string& varName, in createGetConstantExecutor() argument
209 shaderSpec.source = string("result = ") + varName + ";\n"; in createGetConstantExecutor()
220 static void logVarValue (tcu::TestLog& log, const std::string& varName, DataType value) in logVarValue() argument
222 log << TestLog::Message << varName << " = " << value << TestLog::EndMessage; in logVarValue()
226 void logVarValue<int> (tcu::TestLog& log, const std::string& varName, int value) in logVarValue() argument
228 log << TestLog::Integer(varName, varName, "", QP_KEY_TAG_NONE, value); in logVarValue()
315 const char* varName; in init() member
360 const char* varName; in init() member
372 …coreGroup->addChild(new ShaderBuiltinConstantCase<int>(m_context, intConstants[ndx].varName, intCo… in init()
375 …new ShaderBuiltinConstantCase<tcu::IVec3>(m_context, ivec3Constants[ndx].varName, ivec3Constants[n… in init()
389 const char* varName; in init() member
408 …geomGroup->addChild(new ShaderBuiltinConstantCase<int>(m_context, intConstants[ndx].varName, intCo… in init()
415 const char* varName; in init() member
447 …tessGroup->addChild(new ShaderBuiltinConstantCase<int>(m_context, intConstants[ndx].varName, intCo… in init()