Home
last modified time | relevance | path

Searched refs:m_shader (Results 1 – 21 of 21) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOArrayLengthTests.cpp68 glu::ShaderProgram* m_shader; member in deqp::gles31::Functional::__anon246d35310111::SSBOArrayLengthCase
79 , m_shader (DE_NULL) in SSBOArrayLengthCase()
96m_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 …]
Des31fShaderTextureSizeTests.cpp104 glu::ShaderProgram* m_shader; member in deqp::gles31::Functional::__anond4fa257c0111::TextureSizeCase
120 , m_shader (DE_NULL) in TextureSizeCase()
189m_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 …]
/third_party/vk-gl-cts/framework/referencerenderer/
DrrShaders.hpp206 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()
/third_party/vk-gl-cts/framework/opengl/
DgluShaderProgram.cpp42 , 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 …]
DgluShaderProgram.hpp96 deUint32 getShader (void) const { return m_shader; } in getShader()
111 deUint32 m_shader; //!< Shader handle. member in glu::Shader
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLMockNavigation/src/
DStreet.cpp37 , m_shader(shader) in Street()
99 ((ShaderTexture *)m_shader)->use(&m_position, textureID); in render()
100 ((ShaderTexture *)m_shader)->setTexCoords(m_texCoords); in render()
102 m_shader->use(&m_position, &m_color); in render()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgGeneratorState.cpp35 , m_shader (DE_NULL) in GeneratorState()
51 m_shader = &shader; in setShader()
DrsgGeneratorState.hpp62 Shader& getShader (void) { return *m_shader; } in getShader()
93 Shader* m_shader; member in rsg::GeneratorState
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderGroupVoteTests.cpp56 : 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()
DglcShaderGroupVoteTests.hpp42 std::string m_shader; member in glcts::ShaderGroupVoteTestCaseBase::ComputeShader
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureUnitTests.cpp578 MultiTexShader* m_shader; member in deqp::gles2::Functional::TextureUnitCase
588 , m_shader (DE_NULL) in TextureUnitCase()
607 delete m_shader; in deinit()
608 m_shader = DE_NULL; in deinit()
745 DE_ASSERT(m_shader == DE_NULL); in init()
746 m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes); in init()
792 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
906 deUint32 shaderID = context.createProgram(m_shader); in render()
912 m_shader->setUniforms(context, shaderID); in render()
Des2fStencilTests.cpp183 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()
Des2fRasterizationTests.cpp104 glu::ShaderProgram* m_shader; member in deqp::gles2::Functional::__anon3d2386440111::BaseRenderingCase
114 , m_shader (DE_NULL) in BaseRenderingCase()
170m_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 …]
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharingTests.cpp847 GLuint m_shader; member in deqp::egl::GLES2ShaderSharingTest
858 , m_shader (0) in GLES2ShaderSharingTest()
883 m_shader = m_gl.createShader(m_shaderType); in createResource()
889 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &vertexShader, DE_NULL)); in createResource()
893 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &fragmentShader, DE_NULL)); in createResource()
900 GLU_CHECK_GLW_CALL(m_gl, compileShader(m_shader)); in createResource()
903 GLU_CHECK_GLW_CALL(m_gl, getShaderiv(m_shader, GL_COMPILE_STATUS, &status)); in createResource()
908 GLU_CHECK_GLW_CALL(m_gl, getShaderInfoLog(m_shader, 256, DE_NULL, buffer)); in createResource()
933 GLU_CHECK_GLW_CALL(m_gl, deleteShader(m_shader)); in destroyResource()
1014 GLU_CHECK_GLW_CALL(m_gl, attachShader(program, m_shader)); in renderResource()
DteglGLES2SharingThreadedTests.cpp1341 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 …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fStencilTests.cpp186 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()
Des3fTextureUnitTests.cpp741 MultiTexShader* m_shader; member in deqp::gles3::Functional::TextureUnitCase
751 , m_shader (DE_NULL) in TextureUnitCase()
778 delete m_shader; in deinit()
779 m_shader = DE_NULL; in deinit()
975 DE_ASSERT(m_shader == DE_NULL); in init()
976m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes, samplerTypes, texScales, tex… in init()
1024 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
1211 deUint32 shaderID = context.createProgram(m_shader); in render()
1217 m_shader->setUniforms(context, shaderID); in render()
Des3fRasterizationTests.cpp140 glu::ShaderProgram* m_shader; member in deqp::gles3::Functional::__anonce01fde60111::BaseRenderingCase
158 , m_shader (DE_NULL) in BaseRenderingCase()
208m_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 …]
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLMockNavigation/include/
DStreet.h52 ShaderBase* m_shader; variable
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_ir_to_assembly.cpp91 r600_shader *m_shader; member
119 if (impl->m_shader->processor_type == PIPE_SHADER_VERTEX && in do_lower()
120 impl->m_shader->ninput > 0) in do_lower()
150 if (impl->m_shader->bc.chip_class != CAYMAN) in do_lower()
186 m_shader(sh), in AssemblyFromShaderLegacyImpl()
1051 cf->rat.id = rat_idx + m_shader->rat_base; in visit()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderViewportIndexTests.cpp674 , m_shader (shader) in Renderer()
755 if (m_shader == FRAGMENT) in draw()
806 const Shader m_shader; member in vkt::Draw::__anon95ffc1620111::Renderer