/external/deqp/modules/gles31/functional/ |
es31fMultisampleTests.cpp | 195 glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::__anon17515::DefaultFBOMultisampleCase 211 , m_program (DE_NULL) 268 DE_ASSERT(!m_program); 270 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() 273 if (!m_program->isOk()) 276 m_attrPositionLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); 277 m_attrColorLoc = gl.getAttribLocation(m_program->getProgram(), "a_color"); 282 delete m_program; 298 delete m_program; 299 m_program = DE_NULL [all...] |
es31fTessellationGeometryInteractionTests.cpp | [all...] |
es31fProgramInterfaceQueryTests.cpp | [all...] |
es31fPrimitiveBoundingBoxTests.cpp | 559 de::MovePtr<glu::ShaderProgram> m_program; 655 m_program = de::MovePtr<glu::ShaderProgram>(new glu::ShaderProgram(m_context.getRenderContext(), sources)); 660 m_testCtx.getLog() << *m_program; 663 if (!m_program->isOk()) 702 m_program.clear(); 804 const glw::GLint posLocation = gl.getAttribLocation(m_program->getProgram(), "a_position"); 805 const glw::GLint colLocation = gl.getAttribLocation(m_program->getProgram(), "a_color"); 806 const glw::GLint posScaleLocation = gl.getUniformLocation(m_program->getProgram(), "u_posScale"); 852 gl.useProgram(m_program->getProgram()); 856 const glw::GLint bboxMinPos = gl.getUniformLocation(m_program->getProgram(), "u_primitiveBBoxMin") [all...] |
es31fShaderFramebufferFetchTests.cpp | 283 glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::__anon17573::FramebufferFetchTestCase 302 , m_program (DE_NULL) 321 DE_ASSERT(!m_program); 322 m_program = new glu::ShaderProgram(m_context.getRenderContext(), genShaderSources()); 324 m_testCtx.getLog() << *m_program; 326 if (!m_program->isOk()) 328 delete m_program; 329 m_program = DE_NULL; 333 m_gl.useProgram(m_program->getProgram()); 338 delete m_program; [all...] |
es31fSynchronizationTests.cpp | 161 glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::__anon17597::InterInvocationTestCase 178 , m_program (DE_NULL) 200 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genShaderSource())); 201 m_testCtx.getLog() << *m_program; 202 if (!m_program->isOk()) 282 delete m_program; 283 m_program = DE_NULL; 317 gl.useProgram(m_program->getProgram()); [all...] |
/external/deqp/modules/gles3/stress/ |
es3sSpecialFloatTests.cpp | 122 const glu::ShaderProgram* m_program; member in class:deqp::gles3::Stress::__anon17479::RenderCase 128 , m_program (DE_NULL) 164 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(genFragmentSource())); 165 m_testCtx.getLog() << *m_program; 167 if (!m_program->isOk()) 173 if (m_program) 175 delete m_program; 176 m_program = DE_NULL; 653 const GLint positionLoc = gl.getAttribLocation(m_program->getProgram(), "a_pos"); 654 const GLint attribLoc = gl.getAttribLocation(m_program->getProgram(), "a_attr") [all...] |
es3sDrawTests.cpp | 86 glu::ShaderProgram* m_program; member in class:deqp::gles3::Stress::__anon17476::DrawInvalidRangeCase 99 , m_program (DE_NULL) 127 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_vertexSource) << glu::FragmentSource(s_fragmentSource)); 128 if (!m_program->isOk()) 130 m_testCtx.getLog() << *m_program; 149 delete m_program; 150 m_program = DE_NULL; 156 const deInt32 positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); 192 gl.glUseProgram(m_program->getProgram());
|
/external/deqp/modules/glshared/ |
glsShaderRenderCase.cpp | 354 , m_program (DE_NULL) 366 , m_program (DE_NULL) 388 DE_ASSERT(!m_program); 389 m_program = new ShaderProgram(m_renderCtx, makeVtxFragSources(m_vertShaderSource, m_fragShaderSource)); 393 log << *m_program; // Always log shader program. local 395 if (!m_program->isOk()) 410 delete m_program; 411 m_program = DE_NULL; 426 DE_ASSERT(m_program); 427 deUint32 programID = m_program->getProgram() [all...] |
glsBufferTestUtil.hpp | 254 glu::ShaderProgram* m_program; member in class:deqp::gls::BufferTestUtil::VertexArrayVerifier 274 glu::ShaderProgram* m_program; member in class:deqp::gls::BufferTestUtil::IndexArrayVerifier
|
glsFragOpInteractionCase.cpp | 444 , m_program (DE_NULL) 473 DE_ASSERT(!m_program); 474 m_program = new gls::RandomShaderProgram(m_vertexShader, m_fragmentShader, (int)m_unifiedUniforms.size(), m_unifiedUniforms.empty() ? DE_NULL : &m_unifiedUniforms[0]); 482 m_refProgram = m_referenceCtx->context.createProgram(m_program); 483 m_glProgram = m_glCtx->createProgram(m_program); 505 delete m_program; 506 m_program = DE_NULL;
|
/external/deqp/modules/gles3/functional/ |
es3fShaderBuiltinVarTests.cpp | 710 glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::VertexIDCase 724 , m_program (DE_NULL) 762 DE_ASSERT(!m_program); 763 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources( 782 m_testCtx.getLog() << *m_program; 784 if (!m_program->isOk()) 786 delete m_program; 787 m_program = DE_NULL; 860 delete m_program; 861 m_program = DE_NULL [all...] |
es3fMultisampleTests.cpp | 241 glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::MultisampleCase 263 , m_program (DE_NULL) 283 delete m_program; 284 m_program = DE_NULL; 338 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); 390 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); 467 DE_ASSERT(!m_program); 469 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSource, fragShaderSource)); 470 if (!m_program->isOk()) 473 GLU_CHECK_CALL(m_attrPositionLoc = glGetAttribLocation(m_program->getProgram(), "a_position")) [all...] |
es3fTransformFeedbackTests.cpp | 874 glu::ShaderProgram* m_program; 886 , m_program (DE_NULL) 921 DE_ASSERT(!m_program); 922 m_program = createVertexCaptureProgram(m_context.getRenderContext(), m_progSpec, m_bufferMode, m_primitiveType); 924 log << *m_program; 925 if (!m_program->isOk()) 927 const bool linkFail = m_program->getShaderInfo(glu::SHADERTYPE_VERTEX).compileOk && 928 m_program->getShaderInfo(glu::SHADERTYPE_FRAGMENT).compileOk && 929 !m_program->getProgramInfo().linkOk; 948 logTransformFeedbackVaryings(log, gl, m_program->getProgram()) [all...] |
es3fFragmentOutputTests.cpp | 150 glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::FragmentOutputCase 159 , m_program (DE_NULL) 252 DE_ASSERT(!m_program); 253 m_program = createProgram(m_context.getRenderContext(), m_outputs); 255 log << *m_program; local 256 if (!m_program->isOk()) 316 delete m_program; 317 m_program = DE_NULL; 766 gl.useProgram(m_program->getProgram()); 791 int loc = gl.getAttribLocation(m_program->getProgram(), name.c_str()) [all...] |
/external/deqp/modules/gles3/performance/ |
es3pDepthTests.cpp | 106 const glu::ShaderProgram m_program; member in class:deqp::gles3::Performance::__anon17462::RenderData 114 : m_program (renderCtx, object.shader) 121 if (!m_program.isOk()) 122 log << m_program; local 126 gl.bindAttribLocation(m_program.getProgram(), 0, "a_position"); 579 TCU_CHECK(occluderData->m_program.isOk()); 580 TCU_CHECK(occludedData->m_program.isOk()); 590 logGeometry(resultTex.getAccess(), occluderData->m_program, occludedData->m_program); 703 gl.useProgram(data.m_program.getProgram()) [all...] |
/external/deqp/modules/egl/ |
teglGLES2SharingThreadedTests.cpp | 1486 SharedPtr<Program> m_program; member in class:deqp::egl::GLES2ThreadTest::CreateProgram 1516 SharedPtr<Program> m_program; member in class:deqp::egl::GLES2ThreadTest::DeleteProgram 1545 SharedPtr<Program> m_program; member in class:deqp::egl::GLES2ThreadTest::AttachShader 1588 SharedPtr<Program> m_program; member in class:deqp::egl::GLES2ThreadTest::DetachShader 1642 SharedPtr<Program> m_program; member in class:deqp::egl::GLES2ThreadTest::LinkProgram 1670 SharedPtr<Program> m_program; member in class:deqp::egl::GLES2ThreadTest::RenderBuffer 1740 SharedPtr<Program> m_program; member in class:deqp::egl::GLES2ThreadTest::RenderTexture [all...] |
teglRenderTests.cpp | 489 , m_program (gl, getProgramSourcesES2()) 494 m_positionLoc = m_gl.getAttribLocation(m_program.getProgram(), "a_position"); 495 m_colorLoc = m_gl.getAttribLocation(m_program.getProgram(), "a_color"); 504 m_gl.useProgram(m_program.getProgram()); 515 glu::ShaderProgram m_program; member in class:deqp::egl::__anon17059::GLES2Program 844 , m_program (program) 861 draw(m_gl, m_api, m_program, packetIter->drawOps[ndx]); 880 const Program& m_program; member in class:deqp::egl::RenderTestThread [all...] |
teglGLES2SharedRenderingPerfTests.cpp | 114 GLuint getProgram (void) const { return m_program; } 131 GLuint m_program; member in class:deqp::egl::__anon17037::TestContext 489 , m_program (0) 579 m_program = createProgram(m_gl, m_config); 581 m_program = parent->getProgram(); 583 m_coordLoc = m_gl.getAttribLocation(m_program, "a_coord"); 586 m_textureLoc = m_gl.getUniformLocation(m_program, "u_sampler"); 668 m_gl.useProgram(m_program); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fMultisampleTests.cpp | 206 glu::ShaderProgram* m_program; member in class:deqp::gles2::Functional::MultisampleCase 219 , m_program (DE_NULL) 249 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); 301 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); 344 DE_ASSERT(!m_program); 346 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSource, fragShaderSource)); 347 if (!m_program->isOk()) 350 GLU_CHECK_CALL(m_attrPositionLoc = glGetAttribLocation(m_program->getProgram(), "a_position")); 351 GLU_CHECK_CALL(m_attrColorLoc = glGetAttribLocation(m_program->getProgram(), "a_color")); 355 delete m_program; [all...] |
es2fShaderApiTests.cpp | 395 , m_program (0) 438 m_program = program; 445 glDeleteProgram(m_program); 451 GLuint m_program; member in class:deqp::gles2::Functional::SimpleProgramCase 490 glDeleteProgram(m_program); 521 TCU_CHECK_MSG(checkLinkStatus(m_program), "Fail, expected LINK_STATUS to be TRUE.");
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineReferenceRenderer.cpp | 174 , m_program (program) 281 rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 2, vertexAttribs, primitives); 313 rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 2, vertexAttribs, primitives);
|
/external/deqp/external/vulkancts/modules/vulkan/ |
vktDrawUtil.hpp | 166 const VulkanProgram& m_program; member in class:vkt::drawutil::VulkanDrawContext
|
vktDrawUtil.cpp | 371 , m_program (vulkanProgram) 706 DE_ASSERT(m_program.shaders.size() <= MAX_NUM_SHADER_MODULES); 707 for (deUint32 shaderNdx = 0; shaderNdx < m_program.shaders.size(); ++shaderNdx) 709 m_shaderModules[shaderNdx] = createShaderModule(vk, device, *m_program.shaders[shaderNdx].binary, (VkShaderModuleCreateFlags)0); 716 m_program.shaders[shaderNdx].stage, // VkShaderStageFlagBits stage; 723 stageFlags |= m_program.shaders[shaderNdx].stage; [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | [all...] |