Searched refs:numActiveVariables (Results 1 - 2 of 2) sorted by relevance
/external/deqp/framework/opengl/ |
H A D | gluProgramInterfaceQuery.cpp | 63 const int numActiveVariables = getProgramResourceInt(gl, program, programInterface, index, GL_NUM_ACTIVE_VARIABLES); local 65 activeVariables.resize(numActiveVariables); 66 if (numActiveVariables > 0)
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fProgramInterfaceQueryTests.cpp | 2157 glw::GLint numActiveVariables = -2; 2160 gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &numActiveVariablesProp, 1, &written, &numActiveVariables); 2163 if (numActiveVariables <= 0) 2165 m_testCtx.getLog() << tcu::TestLog::Message << "Error, got unexpected NUM_ACTIVE_VARIABLES: " << numActiveVariables << tcu::TestLog::EndMessage; 2177 m_testCtx.getLog() << tcu::TestLog::Message << "GL_NUM_ACTIVE_VARIABLES = " << numActiveVariables << tcu::TestLog::EndMessage; 2180 activeVariables.resize(numActiveVariables + 1, -2); 2182 gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &activeVariablesProp, numActiveVariables, &written, &activeVariables[0]); 2185 if (written != numActiveVariables) 2187 m_testCtx.getLog() << tcu::TestLog::Message << "Error, unexpected number of ACTIVE_VARIABLES, NUM_ACTIVE_VARIABLES = " << numActiveVariables << ", query returned " << written << " values" << tcu::TestLog::EndMessage;
|
Completed in 59 milliseconds