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()
1912 GLuint shaderProg = glCreateProgram(); in test() local
[all …]
Des3fIntegerStateQueryTests.cpp961 GLuint shaderProg = glCreateProgram(); in test() local
962 glAttachShader(shaderProg, shaderVert); in test()
963 glAttachShader(shaderProg, shaderFrag); in test()
965 glTransformFeedbackVaryings(shaderProg, 1, &transform_feedback_outputs, GL_INTERLEAVED_ATTRIBS); in test()
966 glLinkProgram(shaderProg); in test()
969 glGetProgramiv(shaderProg, GL_LINK_STATUS, &linkStatus); in test()
982 glUseProgram(shaderProg); in test()
992 glDeleteProgram(shaderProg); in test()
2019 GLuint shaderProg = glCreateProgram(); in test() local
2020 glAttachShader(shaderProg, shaderVert); in test()
[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.cpp1595 GLuint shaderProg = glCreateProgram(); in test() local
1596 glAttachShader(shaderProg, shaderVert); in test()
1597 glAttachShader(shaderProg, shaderFrag); in test()
1598 glLinkProgram(shaderProg); in test()
1601 glGetProgramiv(shaderProg, GL_LINK_STATUS, &linkStatus); in test()
1604 glUseProgram(shaderProg); in test()
1607 m_verifier->verifyInteger(m_testCtx, GL_CURRENT_PROGRAM, shaderProg); in test()
1612 glDeleteProgram(shaderProg); in test()
1615 m_verifier->verifyInteger(m_testCtx, GL_CURRENT_PROGRAM, shaderProg); in test()
/external/deqp/framework/common/
DtcuTestLog.hpp428 inline TestLog& TestLog::operator<< (const ShaderProgram& shaderProg) { shaderProg.write(*this); re… in operator <<() argument
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3761 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getAttribLocation() local
3763 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getAttribLocation()
3769 for (size_t ndx = 0; ndx < shaderProg->m_program->m_attributeNames.size(); ++ndx) in getAttribLocation()
3770 if (shaderProg->m_program->m_attributeNames[ndx] == nameString) in getAttribLocation()
3961 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getUniformLocation() local
3962 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getUniformLocation()
3964 std::vector<sglr::UniformSlot>& uniforms = shaderProg->m_program->m_uniforms; in getUniformLocation()
4567 rc::ShaderProgramObjectContainer* shaderProg = DE_NULL; in useProgram() local
4572 shaderProg = m_programs.find(program); in useProgram()
4575 if (!shaderProg || shaderProg->m_deleteFlag) in useProgram()
[all …]