Lines Matching refs:m_curToken
207 Token m_curToken; member in deqp::gls::sl::ShaderParser
217 , m_curToken (TOKEN_LAST) in ShaderParser()
352 m_curToken = TOKEN_INVALID; in advanceToken()
373 m_curToken = TOKEN_EOF; in advanceToken()
441 m_curToken = TOKEN_IDENTIFIER; in advanceToken()
447 m_curToken = s_named[ndx].token; in advanceToken()
474 m_curToken = TOKEN_FLOAT_LITERAL; in advanceToken()
479 m_curToken = TOKEN_INT_LITERAL; in advanceToken()
500 m_curToken = TOKEN_SHADER_SOURCE; in advanceToken()
521 m_curToken = TOKEN_STRING; in advanceToken()
553 m_curToken = s_simple[ndx].token; in advanceToken()
560 m_curToken = TOKEN_INVALID; in advanceToken()
573 if (m_curToken != token) in assumeToken()
575 DE_TEST_ASSERT(m_curToken == token); in assumeToken()
693 switch (m_curToken) in getShaderStageLiteralFlag()
739 DE_ASSERT(mapDataTypeToken(m_curToken) == expectedDataType); in parseValueElement()
749 if (m_curToken == TOKEN_MINUS) in parseValueElement()
762 if (m_curToken == TOKEN_MINUS) in parseValueElement()
775 elems[scalarNdx].bool32 = (m_curToken == TOKEN_TRUE); in parseValueElement()
776 if (m_curToken != TOKEN_TRUE && m_curToken != TOKEN_FALSE) in parseValueElement()
801 if (m_curToken == TOKEN_UNIFORM) in parseValue()
803 else if (m_curToken == TOKEN_INPUT) in parseValue()
805 else if (m_curToken == TOKEN_OUTPUT) in parseValue()
812 result.dataType = mapDataTypeToken(m_curToken); in parseValue()
818 if (m_curToken == TOKEN_IDENTIFIER || m_curToken == TOKEN_STRING) in parseValue()
820 if (m_curToken == TOKEN_IDENTIFIER) in parseValue()
833 if (m_curToken == TOKEN_LEFT_BRACKET) // value list in parseValue()
843 if (m_curToken == TOKEN_RIGHT_BRACKET) in parseValue()
845 else if (m_curToken == TOKEN_VERTICAL_BAR) in parseValue()
875 if (m_curToken == TOKEN_UNIFORM || m_curToken == TOKEN_INPUT || m_curToken == TOKEN_OUTPUT) in parseValueBlock()
877 else if (m_curToken == TOKEN_RIGHT_BRACE) in parseValueBlock()
912 if (m_curToken == TOKEN_RIGHT_BRACE) in parseShaderStageList()
914 else if (m_curToken == TOKEN_COMMA) in parseShaderStageList()
957 if (m_curToken == TOKEN_RIGHT_BRACE) in parseRequirement()
959 else if (m_curToken == TOKEN_VERTICAL_BAR) in parseRequirement()
972 if (m_curToken == TOKEN_IN) in parseRequirement()
1041 if (m_curToken == TOKEN_IDENTIFIER) in parseGLSLVersion()
1076 if (m_curToken == TOKEN_END) in parsePipelineProgram()
1078 else if (m_curToken == TOKEN_ACTIVE_STAGES) in parsePipelineProgram()
1083 else if (m_curToken == TOKEN_REQUIRE) in parsePipelineProgram()
1089 else if (m_curToken == TOKEN_VERTEX || in parsePipelineProgram()
1090 m_curToken == TOKEN_FRAGMENT || in parsePipelineProgram()
1091 m_curToken == TOKEN_TESSELLATION_CONTROL || in parsePipelineProgram()
1092 m_curToken == TOKEN_TESSELLATION_EVALUATION || in parsePipelineProgram()
1093 m_curToken == TOKEN_GEOMETRY) in parsePipelineProgram()
1095 const Token token = m_curToken; in parsePipelineProgram()
1158 if (m_curToken == TOKEN_END) in parseShaderCase()
1160 else if (m_curToken == TOKEN_DESC) in parseShaderCase()
1167 else if (m_curToken == TOKEN_EXPECT) in parseShaderCase()
1172 else if (m_curToken == TOKEN_VALUES) in parseShaderCase()
1178 else if (m_curToken == TOKEN_BOTH || in parseShaderCase()
1179 m_curToken == TOKEN_VERTEX || in parseShaderCase()
1180 m_curToken == TOKEN_FRAGMENT || in parseShaderCase()
1181 m_curToken == TOKEN_TESSELLATION_CONTROL || in parseShaderCase()
1182 m_curToken == TOKEN_TESSELLATION_EVALUATION || in parseShaderCase()
1183 m_curToken == TOKEN_GEOMETRY) in parseShaderCase()
1185 const Token token = m_curToken; in parseShaderCase()
1212 else if (m_curToken == TOKEN_VERSION) in parseShaderCase()
1217 else if (m_curToken == TOKEN_REQUIRE) in parseShaderCase()
1223 else if (m_curToken == TOKEN_PIPELINE_PROGRAM) in parseShaderCase()
1326 if (m_curToken == TOKEN_END) in parseShaderGroup()
1328 else if (m_curToken == TOKEN_GROUP) in parseShaderGroup()
1330 else if (m_curToken == TOKEN_CASE) in parseShaderGroup()
1332 else if (m_curToken == TOKEN_IMPORT) in parseShaderGroup()
1369 m_curToken = TOKEN_INVALID; in parse()
1379 if (m_curToken == TOKEN_CASE) in parse()
1381 else if (m_curToken == TOKEN_GROUP) in parse()
1383 else if (m_curToken == TOKEN_IMPORT) in parse()
1385 else if (m_curToken == TOKEN_EOF) in parse()