• Home
  • Raw
  • Download

Lines Matching refs:m_curTokenStr

403 	std::string					m_curTokenStr;  member in glu::sl::ShaderParser
542 m_curPtr += m_curTokenStr.length(); in advanceToken()
546 m_curTokenStr = ""; in advanceToken()
567 m_curTokenStr = "<EOF>"; in advanceToken()
634 m_curTokenStr = string(m_curPtr, end - m_curPtr); in advanceToken()
640 if (m_curTokenStr == s_named[ndx].str) in advanceToken()
670 m_curTokenStr = string(m_curPtr, p - m_curPtr); in advanceToken()
675 m_curTokenStr = string(m_curPtr, p - m_curPtr); in advanceToken()
696 m_curTokenStr = string(m_curPtr, (int)(p - m_curPtr)); in advanceToken()
717 m_curTokenStr = string(m_curPtr, (int)(p - m_curPtr)); in advanceToken()
749 m_curTokenStr = s_simple[ndx].str; in advanceToken()
756 m_curTokenStr = *m_curPtr; in advanceToken()
769 …parseError((string("unexpected token '") + m_curTokenStr + "', expecting '" + getTokenName(token) … in assumeToken()
897 parseError(std::string() + "invalid shader stage name, got " + m_curTokenStr); in getShaderStageLiteralFlag()
951 elems[scalarNdx].float32 = signMult * parseFloatLiteral(m_curTokenStr.c_str()); in parseValueElement()
964 elems[scalarNdx].int32 = signMult * parseIntLiteral(m_curTokenStr.c_str()); in parseValueElement()
972 parseError(string("unexpected token, expecting bool: " + m_curTokenStr)); in parseValueElement()
1011 parseError(string("unexpected token when parsing value data type: " + m_curTokenStr)); in parseValue()
1018 valueName = m_curTokenStr; in parseValue()
1020 valueName = parseStringLiteral(m_curTokenStr.c_str()); in parseValue()
1023 parseError(string("unexpected token when parsing value name: " + m_curTokenStr)); in parseValue()
1056 parseError(string("unexpected token in value element array: " + m_curTokenStr)); in parseValue()
1082 parseError(string("unexpected token when parsing a value block: " + m_curTokenStr)); in parseValueBlock()
1110 parseError(string("stage already set in the shader stage set: " + m_curTokenStr)); in parseShaderStageList()
1116 parseError(string("invalid shader stage set token: " + m_curTokenStr)); in parseShaderStageList()
1130 if (m_curTokenStr == "extension") in parseRequirement()
1141 anyExtensionStringList.push_back(parseStringLiteral(m_curTokenStr.c_str())); in parseRequirement()
1153 anyExtensionStringList.push_back(parseStringLiteral(m_curTokenStr.c_str())); in parseRequirement()
1157 parseError(string("invalid extension list token: " + m_curTokenStr)); in parseRequirement()
1169 else if (m_curTokenStr == "limit") in parseRequirement()
1177 limitEnum = getGLEnumFromName(parseStringLiteral(m_curTokenStr.c_str())); in parseRequirement()
1184 limitValue = parseIntLiteral(m_curTokenStr.c_str()); in parseRequirement()
1189 else if (m_curTokenStr == "full_glsl_es_100_support") in parseRequirement()
1195 else if (m_curTokenStr == "only_glsl_es_100_support") in parseRequirement()
1201 else if (m_curTokenStr == "exactly_one_draw_buffer") in parseRequirement()
1208 parseError(string("invalid requirement value: " + m_curTokenStr)); in parseRequirement()
1215 if (m_curTokenStr == "pass") in parseExpectResult()
1217 else if (m_curTokenStr == "compile_fail") in parseExpectResult()
1219 else if (m_curTokenStr == "link_fail") in parseExpectResult()
1221 else if (m_curTokenStr == "compile_or_link_fail") in parseExpectResult()
1223 else if (m_curTokenStr == "validation_fail") in parseExpectResult()
1225 else if (m_curTokenStr == "build_successful") in parseExpectResult()
1228 parseError(string("invalid expected result value: " + m_curTokenStr)); in parseExpectResult()
1245 versionNum = parseIntLiteral(m_curTokenStr.c_str()); in parseGLSLVersion()
1250 postfix = m_curTokenStr; in parseGLSLVersion()
1308 source = parseShaderSource(m_curTokenStr.c_str()); in parsePipelineProgram()
1323 parseError(string("invalid pipeline program value: " + m_curTokenStr)); in parsePipelineProgram()
1338 string caseName = m_curTokenStr; in parseShaderCase()
1369 description = parseStringLiteral(m_curTokenStr.c_str()); in parseShaderCase()
1402 source = parseShaderSource(m_curTokenStr.c_str()); in parseShaderCase()
1441 parseError(string("unexpected token while parsing shader case: " + m_curTokenStr)); in parseShaderCase()
1548 string name = m_curTokenStr; in parseShaderGroup()
1553 string description = parseStringLiteral(m_curTokenStr.c_str()); in parseShaderGroup()
1570 parseError(string("unexpected token while parsing shader group: " + m_curTokenStr)); in parseShaderGroup()
1587 importFileName = parseStringLiteral(m_curTokenStr.c_str()); in parseImport()
1611 m_curTokenStr = ""; in parse()
1629 parseError(string("invalid token encountered at main level: '") + m_curTokenStr + "'"); in parse()