Home
last modified time | relevance | path

Searched refs:shaderProg (Results 1 – 8 of 8) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fIndexedStateQueryTests.cpp102 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()
130 glDeleteProgram(shaderProg); in test()
Des3fBooleanStateQueryTests.cpp603 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()
Des3fShaderStateQueryTests.cpp935 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 …]
Des3fIntegerStateQueryTests.cpp1958 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/
Des2fShaderStateQueryTests.cpp773 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()
Des2fIntegerStateQueryTests.cpp1644 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/
DtcuTestLog.hpp437 inline TestLog& TestLog::operator<< (const ShaderProgram& shaderProg) { shaderProg.write(*this); re… in operator <<() argument
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3740 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getAttribLocation() local
3742 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getAttribLocation()
3748 for (size_t ndx = 0; ndx < shaderProg->m_program->m_attributeNames.size(); ++ndx) in getAttribLocation()
3749 if (shaderProg->m_program->m_attributeNames[ndx] == nameString) in getAttribLocation()
3940 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getUniformLocation() local
3941 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getUniformLocation()
3943 std::vector<sglr::UniformSlot>& uniforms = shaderProg->m_program->m_uniforms; in getUniformLocation()
4547 rc::ShaderProgramObjectContainer* shaderProg = DE_NULL; in useProgram() local
4552 shaderProg = m_programs.find(program); in useProgram()
4555 if (!shaderProg || shaderProg->m_deleteFlag) in useProgram()
[all …]