/external/deqp/modules/gles31/functional/ |
D | es31fSSBOArrayLengthTests.cpp | 68 glu::ShaderProgram* m_shader; member in deqp::gles31::Functional::__anon95dd22970111::SSBOArrayLengthCase 79 , m_shader (DE_NULL) in SSBOArrayLengthCase() 96 …m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Comp… in init() 97 m_testCtx.getLog() << *m_shader; in init() 99 if (!m_shader->isOk()) in init() 119 …const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Ou… in init() 126 …gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &… in init() 132 …const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Ou… in init() 139 …gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &… in init() 145 …const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Ta… in init() [all …]
|
D | es31fShaderTextureSizeTests.cpp | 104 glu::ShaderProgram* m_shader; member in deqp::gles31::Functional::__anon621b04620111::TextureSizeCase 120 , m_shader (DE_NULL) in TextureSizeCase() 189 …m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Vert… in init() 190 m_testCtx.getLog() << *m_shader; in init() 191 if (!m_shader->isOk()) in init() 260 if (m_shader) in deinit() 262 delete m_shader; in deinit() 263 m_shader = DE_NULL; in deinit() 444 const int positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in runShader() 445 const int shaderSamplerLoc = gl.getUniformLocation(m_shader->getProgram(), "u_sampler"); in runShader() [all …]
|
/external/deqp/framework/referencerenderer/ |
D | rrShaders.hpp | 206 VertexShaderLoop (const Shader& shader) : m_shader(shader) {} in VertexShaderLoop() 211 const Shader& m_shader; member in rr::VertexShaderLoop 218 m_shader.shadeVertex(inputs, packets[ndx]); in shadeVertices() 225 FragmentShaderLoop (const Shader& shader) : m_shader(shader) {} in FragmentShaderLoop() 230 const Shader& m_shader; member in rr::FragmentShaderLoop 237 m_shader.shadeFragment(packets[ndx]); in shadeFragments()
|
/external/deqp/framework/opengl/ |
D | gluShaderProgram.cpp | 42 , m_shader (0) in Shader() 45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader() 47 TCU_CHECK(m_shader); in Shader() 52 , m_shader (0) in Shader() 55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader() 57 TCU_CHECK(m_shader); in Shader() 62 m_gl.deleteShader(m_shader); in ~Shader() 67 m_gl.shaderSource(m_shader, numSourceStrings, sourceStrings, lengths); in setSources() 86 m_gl.compileShader(m_shader); in compile() 96 m_gl.getShaderiv(m_shader, GL_COMPILE_STATUS, &compileStatus); in compile() [all …]
|
D | gluShaderProgram.hpp | 96 deUint32 getShader (void) const { return m_shader; } in getShader() 111 deUint32 m_shader; //!< Shader handle. member in glu::Shader
|
/external/deqp/framework/randomshaders/ |
D | rsgGeneratorState.cpp | 35 , m_shader (DE_NULL) in GeneratorState() 51 m_shader = &shader; in setShader()
|
D | rsgGeneratorState.hpp | 62 Shader& getShader (void) { return *m_shader; } in getShader() 93 Shader* m_shader; member in rsg::GeneratorState
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderGroupVoteTests.cpp | 56 : m_name(name), m_shader(shader), m_program(NULL), m_compileOnly(true) in ComputeShader() 62 …: m_name(name), m_shader(shader), m_program(NULL), m_desiredColor(desiredColor), m_compileOnly(fal… in ComputeShader() 77 sourcesCompute.sources[glu::SHADERTYPE_COMPUTE].push_back(m_shader); in create() 83 << tcu::TestLog::Message << m_shader << m_program->getShaderInfo(glu::SHADERTYPE_COMPUTE).infoLog in create()
|
D | glcShaderGroupVoteTests.hpp | 42 std::string m_shader; member in glcts::ShaderGroupVoteTestCaseBase::ComputeShader
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureUnitTests.cpp | 578 MultiTexShader* m_shader; member in deqp::gles2::Functional::TextureUnitCase 586 , m_shader (DE_NULL) in TextureUnitCase() 605 delete m_shader; in deinit() 606 m_shader = DE_NULL; in deinit() 743 DE_ASSERT(m_shader == DE_NULL); in init() 744 m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes); in init() 790 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate() 904 deUint32 shaderID = context.createProgram(m_shader); in render() 910 m_shader->setUniforms(context, shaderID); in render()
|
D | es2fStencilTests.cpp | 183 StencilShader m_shader; member in deqp::gles2::Functional::StencilCase 213 m_shader.setColor(context, m_shaderID, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in executeOps() 268 m_shader.setColor(context, m_shaderID, color); in visualizeStencil() 326 m_shaderID = context.createProgram(&m_shader); in iterate() 345 m_shaderID = context.createProgram(&m_shader); in iterate()
|
D | es2fRasterizationTests.cpp | 104 glu::ShaderProgram* m_shader; member in deqp::gles2::Functional::__anondcd8b0aa0111::BaseRenderingCase 114 , m_shader (DE_NULL) in BaseRenderingCase() 170 …m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Vert… in init() 171 if (!m_shader->isOk()) in init() 178 if (m_shader) in deinit() 180 delete m_shader; in deinit() 181 m_shader = DE_NULL; in deinit() 196 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in drawPrimitives() 197 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in drawPrimitives() 198 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize"); in drawPrimitives() [all …]
|
/external/deqp/modules/egl/ |
D | teglGLES2SharingTests.cpp | 787 GLuint m_shader; member in deqp::egl::GLES2ShaderSharingTest 798 , m_shader (0) in GLES2ShaderSharingTest() 823 m_shader = m_gl.createShader(m_shaderType); in createResource() 829 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &vertexShader, DE_NULL)); in createResource() 833 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &fragmentShader, DE_NULL)); in createResource() 840 GLU_CHECK_GLW_CALL(m_gl, compileShader(m_shader)); in createResource() 843 GLU_CHECK_GLW_CALL(m_gl, getShaderiv(m_shader, GL_COMPILE_STATUS, &status)); in createResource() 848 GLU_CHECK_GLW_CALL(m_gl, getShaderInfoLog(m_shader, 256, DE_NULL, buffer)); in createResource() 873 GLU_CHECK_GLW_CALL(m_gl, deleteShader(m_shader)); in destroyResource() 954 GLU_CHECK_GLW_CALL(m_gl, attachShader(program, m_shader)); in renderResource()
|
D | teglGLES2SharingThreadedTests.cpp | 1341 SharedPtr<Shader> m_shader; member in deqp::egl::GLES2ThreadTest::CreateShader 1352 m_shader = shader; in CreateShader() 1365 m_shader->shader = shader; in exec() 1375 SharedPtr<Shader> m_shader; member in deqp::egl::GLES2ThreadTest::DeleteShader 1380 , m_shader (shader) in DeleteShader() 1382 modifyGLObject(SharedPtr<Object>(m_shader)); in DeleteShader() 1388 GLuint shader = m_shader->shader; in exec() 1394 m_shader->shader = 0; in exec() 1404 SharedPtr<Shader> m_shader; member in deqp::egl::GLES2ThreadTest::ShaderSource 1410 , m_shader (shader) in ShaderSource() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fStencilTests.cpp | 186 StencilShader m_shader; member in deqp::gles3::Functional::StencilCase 216 m_shader.setColor(context, m_shaderID, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in executeOps() 271 m_shader.setColor(context, m_shaderID, color); in visualizeStencil() 329 m_shaderID = context.createProgram(&m_shader); in iterate() 348 m_shaderID = context.createProgram(&m_shader); in iterate()
|
D | es3fTextureUnitTests.cpp | 741 MultiTexShader* m_shader; member in deqp::gles3::Functional::TextureUnitCase 749 , m_shader (DE_NULL) in TextureUnitCase() 776 delete m_shader; in deinit() 777 m_shader = DE_NULL; in deinit() 973 DE_ASSERT(m_shader == DE_NULL); in init() 974 …m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes, samplerTypes, texScales, tex… in init() 1022 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate() 1209 deUint32 shaderID = context.createProgram(m_shader); in render() 1215 m_shader->setUniforms(context, shaderID); in render()
|
D | es3fRasterizationTests.cpp | 140 glu::ShaderProgram* m_shader; member in deqp::gles3::Functional::__anon6db7284c0111::BaseRenderingCase 158 , m_shader (DE_NULL) in BaseRenderingCase() 208 …m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Vert… in init() 209 if (!m_shader->isOk()) in init() 314 if (m_shader) in deinit() 316 delete m_shader; in deinit() 317 m_shader = DE_NULL; in deinit() 362 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in drawPrimitives() 363 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in drawPrimitives() 364 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize"); in drawPrimitives() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_ir_to_assembly.cpp | 87 r600_shader *m_shader; member 113 if (impl->m_shader->processor_type == PIPE_SHADER_VERTEX && in do_lower() 114 impl->m_shader->ninput > 0) in do_lower() 149 if (impl->m_shader->bc.chip_class != CAYMAN) in do_lower() 217 m_shader(sh), in AssemblyFromShaderLegacyImpl() 1055 cf->rat.id = rat_idx + m_shader->rat_base; in emit_rat()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderViewportIndexTests.cpp | 667 , m_shader (shader) in Renderer() 735 if (m_shader == FRAGMENT) in draw() 781 const Shader m_shader; member in vkt::Draw::__anon209b09080111::Renderer
|