Lines Matching refs:m_curToken
402 Token m_curToken; member in glu::sl::ShaderParser
412 , m_curToken (TOKEN_LAST) in ShaderParser()
545 m_curToken = TOKEN_INVALID; in advanceToken()
566 m_curToken = TOKEN_EOF; in advanceToken()
636 m_curToken = TOKEN_IDENTIFIER; in advanceToken()
642 m_curToken = s_named[ndx].token; in advanceToken()
669 m_curToken = TOKEN_FLOAT_LITERAL; in advanceToken()
674 m_curToken = TOKEN_INT_LITERAL; in advanceToken()
695 m_curToken = TOKEN_SHADER_SOURCE; in advanceToken()
716 m_curToken = TOKEN_STRING; in advanceToken()
748 m_curToken = s_simple[ndx].token; in advanceToken()
755 m_curToken = TOKEN_INVALID; in advanceToken()
768 if (m_curToken != token) in assumeToken()
770 DE_TEST_ASSERT(m_curToken == token); in assumeToken()
888 switch (m_curToken) in getShaderStageLiteralFlag()
934 DE_ASSERT(mapDataTypeToken(m_curToken) == expectedDataType); in parseValueElement()
944 if (m_curToken == TOKEN_MINUS) in parseValueElement()
957 if (m_curToken == TOKEN_MINUS) in parseValueElement()
970 elems[scalarNdx].bool32 = (m_curToken == TOKEN_TRUE); in parseValueElement()
971 if (m_curToken != TOKEN_TRUE && m_curToken != TOKEN_FALSE) in parseValueElement()
998 if (m_curToken == TOKEN_UNIFORM) in parseValue()
1000 else if (m_curToken == TOKEN_INPUT) in parseValue()
1002 else if (m_curToken == TOKEN_OUTPUT) in parseValue()
1009 basicType = mapDataTypeToken(m_curToken); in parseValue()
1015 if (m_curToken == TOKEN_IDENTIFIER || m_curToken == TOKEN_STRING) in parseValue()
1017 if (m_curToken == TOKEN_IDENTIFIER) in parseValue()
1037 if (m_curToken == TOKEN_LEFT_BRACKET) // value list in parseValue()
1048 if (m_curToken == TOKEN_RIGHT_BRACKET) in parseValue()
1050 else if (m_curToken == TOKEN_VERTICAL_BAR) in parseValue()
1077 if (m_curToken == TOKEN_UNIFORM || m_curToken == TOKEN_INPUT || m_curToken == TOKEN_OUTPUT) in parseValueBlock()
1079 else if (m_curToken == TOKEN_RIGHT_BRACE) in parseValueBlock()
1101 if (m_curToken == TOKEN_RIGHT_BRACE) in parseShaderStageList()
1103 else if (m_curToken == TOKEN_COMMA) in parseShaderStageList()
1146 if (m_curToken == TOKEN_RIGHT_BRACE) in parseRequirement()
1148 else if (m_curToken == TOKEN_VERTICAL_BAR) in parseRequirement()
1161 if (m_curToken == TOKEN_IN) in parseRequirement()
1235 format = mapDataTypeToken(m_curToken); in parseFormat()
1248 if (m_curToken == TOKEN_IDENTIFIER) in parseGLSLVersion()
1281 if (m_curToken == TOKEN_END) in parsePipelineProgram()
1283 else if (m_curToken == TOKEN_ACTIVE_STAGES) in parsePipelineProgram()
1288 else if (m_curToken == TOKEN_REQUIRE) in parsePipelineProgram()
1297 else if (m_curToken == TOKEN_VERTEX || in parsePipelineProgram()
1298 m_curToken == TOKEN_FRAGMENT || in parsePipelineProgram()
1299 m_curToken == TOKEN_TESSELLATION_CONTROL || in parsePipelineProgram()
1300 m_curToken == TOKEN_TESSELLATION_EVALUATION || in parsePipelineProgram()
1301 m_curToken == TOKEN_GEOMETRY) in parsePipelineProgram()
1303 const Token token = m_curToken; in parsePipelineProgram()
1363 if (m_curToken == TOKEN_END) in parseShaderCase()
1365 else if (m_curToken == TOKEN_DESC) in parseShaderCase()
1372 else if (m_curToken == TOKEN_EXPECT) in parseShaderCase()
1377 else if (m_curToken == TOKEN_OUTPUT_COLOR) in parseShaderCase()
1383 else if (m_curToken == TOKEN_VALUES) in parseShaderCase()
1390 else if (m_curToken == TOKEN_BOTH || in parseShaderCase()
1391 m_curToken == TOKEN_VERTEX || in parseShaderCase()
1392 m_curToken == TOKEN_FRAGMENT || in parseShaderCase()
1393 m_curToken == TOKEN_TESSELLATION_CONTROL || in parseShaderCase()
1394 m_curToken == TOKEN_TESSELLATION_EVALUATION || in parseShaderCase()
1395 m_curToken == TOKEN_GEOMETRY) in parseShaderCase()
1397 const Token token = m_curToken; in parseShaderCase()
1424 else if (m_curToken == TOKEN_VERSION) in parseShaderCase()
1429 else if (m_curToken == TOKEN_REQUIRE) in parseShaderCase()
1433 else if (m_curToken == TOKEN_PIPELINE_PROGRAM) in parseShaderCase()
1561 if (m_curToken == TOKEN_END) in parseShaderGroup()
1563 else if (m_curToken == TOKEN_GROUP) in parseShaderGroup()
1565 else if (m_curToken == TOKEN_CASE) in parseShaderGroup()
1567 else if (m_curToken == TOKEN_IMPORT) in parseShaderGroup()
1610 m_curToken = TOKEN_INVALID; in parse()
1620 if (m_curToken == TOKEN_CASE) in parse()
1622 else if (m_curToken == TOKEN_GROUP) in parse()
1624 else if (m_curToken == TOKEN_IMPORT) in parse()
1626 else if (m_curToken == TOKEN_EOF) in parse()