/external/deqp/modules/gles3/functional/ |
D | es3fIndexedStateQueryTests.cpp | 102 GLuint shaderProg = glCreateProgram(); in test() local 103 glAttachShader(shaderProg, shaderVert); in test() 104 glAttachShader(shaderProg, shaderFrag); in test() 112 glTransformFeedbackVaryings(shaderProg, 2, transformFeedbackOutputs, GL_INTERLEAVED_ATTRIBS); in test() 113 glLinkProgram(shaderProg); in test() 131 glDeleteProgram(shaderProg); in test()
|
D | es3fBooleanStateQueryTests.cpp | 603 GLuint shaderProg = glCreateProgram(); in test() local 604 glAttachShader(shaderProg, shaderVert); in test() 605 glAttachShader(shaderProg, shaderFrag); in test() 607 glTransformFeedbackVaryings(shaderProg, 1, &transform_feedback_outputs, GL_INTERLEAVED_ATTRIBS); in test() 608 glLinkProgram(shaderProg); in test() 611 glGetProgramiv(shaderProg, GL_LINK_STATUS, &linkStatus); in test() 624 glUseProgram(shaderProg); in test() 634 glDeleteProgram(shaderProg); in test()
|
D | es3fShaderStateQueryTests.cpp | 935 GLuint shaderProg = glCreateProgram(); in test() local 936 glAttachShader(shaderProg, shaderVert); in test() 937 glAttachShader(shaderProg, shaderFrag); in test() 938 glLinkProgram(shaderProg); in test() 941 verifyProgramParam (m_testCtx, *this, shaderProg, GL_LINK_STATUS, GL_TRUE); in test() 945 verifyProgramParam (m_testCtx, *this, shaderProg, GL_DELETE_STATUS, GL_FALSE); in test() 948 glUseProgram(shaderProg); in test() 952 glDeleteProgram(shaderProg); in test() 957 verifyProgramParam (m_testCtx, *this, shaderProg, GL_DELETE_STATUS, GL_TRUE); in test() 1976 GLuint shaderProg = glCreateProgram(); in test() local [all …]
|
D | es3fIntegerStateQueryTests.cpp | 1958 GLuint shaderProg; in test() local 2004 shaderProg = gl.glCreateProgram(); in test() 2005 gl.glAttachShader(shaderProg, shaderVert); in test() 2006 gl.glAttachShader(shaderProg, shaderFrag); in test() 2007 …gl.glTransformFeedbackVaryings(shaderProg, 1, &transform_feedback_outputs, GL_INTERLEAVED_ATTRIBS); in test() 2008 gl.glLinkProgram(shaderProg); in test() 2011 gl.glGetProgramiv(shaderProg, GL_LINK_STATUS, &linkStatus); in test() 2025 gl.glUseProgram(shaderProg); in test() 2038 gl.glDeleteProgram(shaderProg); in test() 2069 GLuint shaderProg; in test() local [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 773 GLuint shaderProg = glCreateProgram(); in test() local 774 glAttachShader(shaderProg, shaderVert); in test() 775 glAttachShader(shaderProg, shaderFrag); in test() 776 glLinkProgram(shaderProg); in test() 779 verifyProgramParam (m_testCtx, *this, shaderProg, GL_LINK_STATUS, GL_TRUE); in test() 783 verifyProgramParam (m_testCtx, *this, shaderProg, GL_DELETE_STATUS, GL_FALSE); in test() 786 glUseProgram(shaderProg); in test() 790 glDeleteProgram(shaderProg); in test() 795 verifyProgramParam (m_testCtx, *this, shaderProg, GL_DELETE_STATUS, GL_TRUE); in test()
|
D | es2fIntegerStateQueryTests.cpp | 1644 GLuint shaderProg; in test() local 1680 shaderProg = gl.glCreateProgram(); in test() 1681 gl.glAttachShader(shaderProg, shaderVert); in test() 1682 gl.glAttachShader(shaderProg, shaderFrag); in test() 1683 gl.glLinkProgram(shaderProg); in test() 1686 gl.glGetProgramiv(shaderProg, GL_LINK_STATUS, &linkStatus); in test() 1690 gl.glUseProgram(shaderProg); in test() 1693 verifyStateInteger(result, gl, GL_CURRENT_PROGRAM, shaderProg, m_type); in test() 1700 gl.glDeleteProgram(shaderProg); in test() 1703 verifyStateInteger(result, gl, GL_CURRENT_PROGRAM, shaderProg, m_type); in test()
|
/external/deqp/framework/common/ |
D | tcuTestLog.hpp | 443 inline TestLog& TestLog::operator<< (const ShaderProgram& shaderProg) { shaderProg.write(*this); re… in operator <<() argument
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3758 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getAttribLocation() local 3760 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getAttribLocation() 3766 for (size_t ndx = 0; ndx < shaderProg->m_program->m_attributeNames.size(); ++ndx) in getAttribLocation() 3767 if (shaderProg->m_program->m_attributeNames[ndx] == nameString) in getAttribLocation() 3958 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getUniformLocation() local 3959 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getUniformLocation() 3961 std::vector<sglr::UniformSlot>& uniforms = shaderProg->m_program->m_uniforms; in getUniformLocation() 4565 rc::ShaderProgramObjectContainer* shaderProg = DE_NULL; in useProgram() local 4570 shaderProg = m_programs.find(program); in useProgram() 4573 if (!shaderProg || shaderProg->m_deleteFlag) in useProgram() [all …]
|