Home
last modified time | relevance | path

Searched refs:m_program (Results 1 – 25 of 123) sorted by relevance

12345

/external/deqp/external/openglcts/modules/gl/
Dgl4cComputeShaderTests.cpp497 GLuint m_program; member in gl4cts::__anon4edd116d0111::SimpleCompute
506 m_program = CreateComputeProgram(glsl_cs); in Setup()
507 glLinkProgram(m_program); in Setup()
508 if (!CheckProgram(m_program)) in Setup()
512 glGetProgramiv(m_program, GL_COMPUTE_WORK_GROUP_SIZE, v); in Setup()
531 glUseProgram(m_program); in Run()
551 glDeleteProgram(m_program); in Cleanup()
586 GLuint m_program; member in gl4cts::__anon4edd116d0111::BasicOneWorkGroup
606 if (m_program != 0) in RunIteration()
607 glDeleteProgram(m_program); in RunIteration()
[all …]
Dgl4cShaderStorageBufferObjectTests.cpp627 GLuint m_program; member in gl4cts::__anona06db9b60111::BasicBasic
634 glShaderStorageBlockBinding(m_program, 0, index); in RunIteration()
644 m_program = 0; in Setup()
662 m_program = CreateProgram(glsl_vs, glsl_fs); in Run()
663 glLinkProgram(m_program); in Run()
664 if (!CheckProgram(m_program)) in Run()
676 glUseProgram(m_program); in Run()
689 glDeleteProgram(m_program); in Cleanup()
698 GLuint m_program; member in gl4cts::__anona06db9b60111::BasicBasicCS
703 m_program = 0; in Setup()
[all …]
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp488 GLuint m_program; member in gl4cts::es31compatibility::__anonf276944c0111::BasicBasicVS
494 m_program = 0; in Setup()
510 m_program = CreateProgram(glsl_vs, glsl_fs); in Run()
511 glLinkProgram(m_program); in Run()
512 if (!CheckProgram(m_program)) in Run()
524 glUseProgram(m_program); in Run()
539 glDeleteProgram(m_program); in Cleanup()
548 GLuint m_program; member in gl4cts::es31compatibility::__anonf276944c0111::BasicBasicCS
553 m_program = 0; in Setup()
562 m_program = CreateProgramCS(glsl_cs); in Run()
[all …]
Dgl4cShaderImageSizeTests.cpp425 GLuint m_program[3]; member in gl4cts::__anon67bd594e0111::ImageSizeMachine
608 memset(m_program, 0, sizeof(m_program)); in ImageSizeMachine()
617 glDeleteProgram(m_program[i]); in ~ImageSizeMachine()
629 m_program[0] = glCreateShaderProgramv(GL_VERTEX_SHADER, 1, &glsl_vs); in Run()
630 glUseProgramStages(m_pipeline, GL_VERTEX_SHADER_BIT, m_program[0]); in Run()
639 m_program[0] = glCreateShaderProgramv(GL_VERTEX_SHADER, 1, &glsl_vs); in Run()
640 m_program[1] = glCreateShaderProgramv(GL_TESS_CONTROL_SHADER, 1, &glsl_tcs); in Run()
641 m_program[2] = glCreateShaderProgramv(GL_TESS_EVALUATION_SHADER, 1, &glsl_tes); in Run()
642 glUseProgramStages(m_pipeline, GL_VERTEX_SHADER_BIT, m_program[0]); in Run()
643 glUseProgramStages(m_pipeline, GL_TESS_CONTROL_SHADER_BIT, m_program[1]); in Run()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cComputeShaderTests.cpp506 GLuint m_program; member in glcts::__anon2334d75e0111::SimpleCompute
515 m_program = CreateComputeProgram(glsl_cs); in Setup()
516 glLinkProgram(m_program); in Setup()
517 if (!CheckProgram(m_program)) in Setup()
521 glGetProgramiv(m_program, GL_COMPUTE_WORK_GROUP_SIZE, v); in Setup()
540 glUseProgram(m_program); in Run()
560 glDeleteProgram(m_program); in Cleanup()
595 GLuint m_program; member in glcts::__anon2334d75e0111::BasicOneWorkGroup
615 if (m_program != 0) in RunIteration()
616 glDeleteProgram(m_program); in RunIteration()
[all …]
Des31cShaderStorageBufferObjectTests.cpp486 GLuint m_program; member in glcts::__anon8a0cf1270111::BasicBasicVS
492 m_program = 0; in Setup()
507 m_program = CreateProgram(glsl_vs, glsl_fs); in Run()
508 glLinkProgram(m_program); in Run()
509 if (!CheckProgram(m_program)) in Run()
521 glUseProgram(m_program); in Run()
536 glDeleteProgram(m_program); in Cleanup()
545 GLuint m_program; member in glcts::__anon8a0cf1270111::BasicBasicCS
550 m_program = 0; in Setup()
559 m_program = CreateProgramCS(glsl_cs); in Run()
[all …]
Des31cShaderImageSizeTests.cpp166 GLuint m_program[3]; member in glcts::__anonb11e5f7f0111::ImageSizeMachine
433 memset(m_program, 0, sizeof(m_program)); in ImageSizeMachine()
445 glDeleteProgram(m_program[i]); in ~ImageSizeMachine()
449 glDeleteProgram(m_program[0]); in ~ImageSizeMachine()
468 m_program[0] = glCreateShaderProgramv(GL_VERTEX_SHADER, 1, &glsl_vs); in Run()
469 m_program[1] = glCreateShaderProgramv(GL_FRAGMENT_SHADER, 1, &glsl_fs); in Run()
470 glUseProgramStages(m_pipeline, GL_VERTEX_SHADER_BIT, m_program[0]); in Run()
471 glUseProgramStages(m_pipeline, GL_FRAGMENT_SHADER_BIT, m_program[1]); in Run()
475 m_program[0] = BuildProgram(glsl_vs, glsl_fs, true); in Run()
484 m_program[0] = glCreateShaderProgramv(GL_COMPUTE_SHADER, 1, &glsl_cs); in Run()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayETC2Support.cpp52 …se(context, extParams, name, description), m_fbo(0), m_rbo(0), m_vao(0), m_texture(0), m_program(0) in TextureCubeMapArrayETC2Support()
150 m_program = gl.createProgram(); in prepareProgram()
162 gl.attachShader(m_program, shader[i].id); in prepareProgram()
213 if (m_program) in prepareProgram()
215 gl.deleteProgram(m_program); in prepareProgram()
216 m_program = 0; in prepareProgram()
222 gl.linkProgram(m_program); in prepareProgram()
228 gl.getProgramiv(m_program, GL_LINK_STATUS, &status); in prepareProgram()
236 gl.detachShader(m_program, shader[i].id); in prepareProgram()
246 gl.getProgramiv(m_program, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
[all …]
/external/deqp/modules/glshared/
DglsShaderPerformanceCase.cpp45 , m_program (DE_NULL) in ShaderPerformanceCase()
143m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(m_vertShaderSource, m_frag… in init()
145 if (m_program->isOk()) in init()
149 m_measurer.init(m_program->getProgram(), m_attributes, initialCallCount); in init()
151 log << *m_program; in init()
155 log << *m_program; in init()
160 setupProgram(m_program->getProgram()); in init()
166 delete m_program; in deinit()
167 m_program = DE_NULL; in deinit()
183 DE_ASSERT(m_program); in iterate()
[all …]
DglsMemoryStressCase.cpp103 glu::ShaderProgram* m_program; member in deqp::gls::TextureRenderer
178 : m_program (NULL) in TextureRenderer()
187m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGLES3, s_fra… in TextureRenderer()
189m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGLES2, s_fra… in TextureRenderer()
191m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGL3, s_fragm… in TextureRenderer()
206 if (!m_program->isOk()) in TextureRenderer()
208 log << *m_program; in TextureRenderer()
209 TCU_CHECK_MSG(m_program->isOk(), "Shader compilation failed"); in TextureRenderer()
215 delete m_program; in ~TextureRenderer()
225 GLU_CHECK_CALL(glUseProgram(m_program->getProgram())); in render()
[all …]
DglsFragmentOpUtil.cpp138 , m_program (DE_NULL) in QuadRenderer()
152 m_program = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(vertSrc, fragSrc)); in QuadRenderer()
153 if (!m_program->isOk()) in QuadRenderer()
155 delete m_program; in QuadRenderer()
159 m_positionLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); in QuadRenderer()
160 m_colorLoc = gl.getAttribLocation(m_program->getProgram(), "a_color"); in QuadRenderer()
163 m_color1Loc = gl.getAttribLocation(m_program->getProgram(), "a_color1"); in QuadRenderer()
167 delete m_program; in QuadRenderer()
174 delete m_program; in ~QuadRenderer()
200 m_context.getFunctions().useProgram(m_program->getProgram()); in render()
[all …]
DglsSamplerObjectTest.cpp75 , m_program (NULL) in TextureSamplerTest()
239 DE_ASSERT(!m_program); in init()
240 m_program = new glu::ShaderProgram(m_renderCtx, in init()
244 if (!m_program->isOk()) in init()
247 log << *m_program; in init()
254 delete m_program; in deinit()
255 m_program = NULL; in deinit()
300 gl.useProgram(m_program->getProgram()); in render()
303 samplerLoc = gl.getUniformLocation(m_program->getProgram(), "u_sampler"); in render()
306 scaleLoc = gl.getUniformLocation(m_program->getProgram(), "u_posScale"); in render()
[all …]
/external/deqp/modules/gles3/stress/
Des3sSyncTests.cpp74 glu::ShaderProgram* m_program; member in deqp::gles3::Stress::FenceSyncCase
85 , m_program (DE_NULL) in FenceSyncCase()
131 DE_ASSERT(!m_program); in init()
132m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShade… in init()
134 if (!m_program->isOk()) in init()
136 m_testCtx.getLog() << *m_program; in init()
146 if (m_program) in deinit()
148 delete m_program; in deinit()
149 m_program = DE_NULL; in deinit()
170 TCU_CHECK (m_program); in iterate()
[all …]
Des3sOcclusionQueryTests.cpp77 glu::ShaderProgram* m_program; member in deqp::gles3::Stress::OcclusionQueryStressCase
92 , m_program (DE_NULL) in OcclusionQueryStressCase()
126 DE_ASSERT(!m_program); in init()
127m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShade… in init()
129 if (!m_program->isOk()) in init()
131 m_testCtx.getLog() << *m_program; in init()
141 delete m_program; in deinit()
142 m_program = DE_NULL; in deinit()
149 deUint32 colorUnif = glGetUniformLocation(m_program->getProgram(), "u_color"); in iterate()
206 TCU_CHECK(m_program); in iterate()
[all …]
Des3sLongRunningShaderTests.cpp105 glu::ShaderProgram* m_program; member in deqp::gles3::Stress::__anona38faca30111::LongRunningShaderCase
113 , m_program (DE_NULL) in LongRunningShaderCase()
211 DE_ASSERT(!m_program); in init()
212 m_program = new glu::ShaderProgram(m_context.getRenderContext(), genSources(*m_params)); in init()
214 m_testCtx.getLog() << *m_program; in init()
216 if (!m_program->isOk()) in init()
238 delete m_program; in deinit()
239 m_program = DE_NULL; in deinit()
290 gl.useProgram(m_program->getProgram()); in iterate()
293 gl.uniform1i(gl.getUniformLocation(m_program->getProgram(), "u_iterCount"), iterCounts[0]); in iterate()
[all …]
/external/deqp/framework/opengl/
DgluShaderProgram.cpp236 , m_program (0) in Program()
238 m_program = m_gl.createProgram(); in Program()
244 , m_program (0) in Program()
246 m_program = m_gl.createProgram(); in Program()
252 , m_program (program) in Program()
260 m_gl.deleteProgram(m_program); in ~Program()
265 m_gl.attachShader(m_program, shader); in attachShader()
271 m_gl.detachShader(m_program, shader); in detachShader()
277 m_gl.bindAttribLocation(m_program, location, name); in bindAttribLocation()
283 m_gl.transformFeedbackVaryings(m_program, count, varyings, bufferMode); in transformFeedbackVaryings()
[all …]
/external/deqp/modules/gles3/functional/
Des3fSyncTests.cpp83 glu::ShaderProgram* m_program; member in deqp::gles3::Functional::FenceSyncCase
97 , m_program (DE_NULL) in FenceSyncCase()
143 DE_ASSERT(!m_program); in init()
144m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShade… in init()
146 if (!m_program->isOk()) in init()
148 m_testCtx.getLog() << *m_program; in init()
158 if (m_program) in deinit()
160 delete m_program; in deinit()
161 m_program = DE_NULL; in deinit()
182 DE_ASSERT (m_program); in iterate()
[all …]
Des3fLifetimeTests.cpp213 , m_program (program) {} in BufferVAOAttacher()
218 ScaleProgram& getProgram (void) { return m_program; } in getProgram()
222 ScaleProgram& m_program; member in deqp::gles3::Functional::__anon343cbacc0111::BufferVAOAttacher
266 m_program.setPos(buffer, vao); in attach()
293 , m_program (attacher.getProgram()) {} in BufferVAOInputAttacher()
297 ScaleProgram& m_program; member in deqp::gles3::Functional::__anon343cbacc0111::BufferVAOInputAttacher
302 m_program.draw(vao, 1.0, false, &dst); in drawContainer()
358 , m_program (program) {} in BufferTfOutputAttacher()
363 ScaleProgram& m_program; member in deqp::gles3::Functional::__anon343cbacc0111::BufferTfOutputAttacher
370 m_program.setPos(buffer, *vao); in drawAttachment()
[all …]
Des3fShaderPrecisionTests.cpp209 glu::ShaderProgram* m_program; member in deqp::gles3::Functional::ShaderFloatPrecisionCase
226 , m_program (DE_NULL) in ShaderFloatPrecisionCase()
243 DE_ASSERT(!m_program && !m_framebuffer && !m_renderbuffer); in init()
246m_program = createFloatPrecisionEvalProgram(m_context.getRenderContext(), m_precision, m_op.c_str(… in init()
247 log << *m_program; in init()
249 TCU_CHECK(m_program->isOk()); in init()
273 delete m_program; in deinit()
281 m_program = DE_NULL; in deinit()
351 deUint32 prog = m_program->getProgram(); in iterate()
461 glu::ShaderProgram* m_program; member in deqp::gles3::Functional::ShaderIntPrecisionCase
[all …]
/external/deqp/external/vulkancts/modules/vulkan/
DvktBuildPrograms.cpp250 , m_program (program) in BuildHighLevelShaderTask()
254 BuildHighLevelShaderTask (void) : m_program(DE_NULL) {} in BuildHighLevelShaderTask()
269 m_program->binary = ProgramBinarySp(vk::buildProgram(m_source, &buildInfo, *m_commandLine)); in execute()
270 m_program->buildStatus = Program::STATUS_PASSED; in execute()
271 m_program->validatorOptions = m_source.buildOptions.getSpirvValidatorOptions(); in execute()
279 m_program->buildStatus = Program::STATUS_FAILED; in execute()
280 m_program->buildLog = log.str(); in execute()
286 Program* m_program; member in vkt::__anon5c239db60111::BuildHighLevelShaderTask
305 , m_program (program) in BuildSpirVAsmTask()
309 BuildSpirVAsmTask (void) : m_program(DE_NULL) {} in BuildSpirVAsmTask()
[all …]
/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp145 glu::ShaderProgram* m_program; member in deqp::gles31::Stress::__anone2379e0a0111::BindingRenderCase
152 , m_program (DE_NULL) in BindingRenderCase()
184 delete m_program; in deinit()
185 m_program = DE_NULL; in deinit()
315 const int positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); in renderTo()
316 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo()
317 const int colorUniformLoc = gl.glGetUniformLocation(m_program->getProgram(), "u_color"); in renderTo()
327 gl.glUseProgram(m_program->getProgram()); in renderTo()
482m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Ver… in createShader()
483 m_testCtx.getLog() << *m_program; in createShader()
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
DPECallFrameInfo.cpp131 const EHProgram &GetProgram() const { return m_program; } in GetProgram()
145 EHProgram m_program; member in EHProgramBuilder
204 m_program.emplace_back( in ProcessUnwindCode()
214 m_program.emplace_back(EHInstruction{o, EHInstruction::Type::ALLOCATE, in ProcessUnwindCode()
220 m_program.emplace_back( in ProcessUnwindCode()
237 m_program.emplace_back(EHInstruction{ in ProcessUnwindCode()
253 m_program.emplace_back( in ProcessUnwindCode()
276 m_program.emplace_back( in ProcessUnwindCode()
283 m_program.emplace_back(EHInstruction{o, EHInstruction::Type::ALLOCATE, in ProcessUnwindCode()
285 m_program.emplace_back(EHInstruction{o, EHInstruction::Type::PUSH_REGISTER, in ProcessUnwindCode()
[all …]
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp278 , m_program (DE_NULL) in VertexArrayVerifier()
282 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources( in VertexArrayVerifier()
298 if (!m_program->isOk()) in VertexArrayVerifier()
300 m_context.getTestContext().getLog() << *m_program; in VertexArrayVerifier()
301 delete m_program; in VertexArrayVerifier()
306 m_posLoc = funcs.getAttribLocation(m_program->getProgram(), "a_position"); in VertexArrayVerifier()
307 m_byteVecLoc = funcs.getAttribLocation(m_program->getProgram(), "a_byteVec"); in VertexArrayVerifier()
312 delete m_program; in ~VertexArrayVerifier()
416 deUint32 program = m_program->getProgram(); in verify()
488 , m_program (DE_NULL) in IndexArrayVerifier()
[all …]
Des2fFlushFinishTests.cpp154 glu::ShaderProgram* m_program; member in deqp::gles2::Functional::__anonaa7bc09e0111::FlushFinishCase
163 , m_program (DE_NULL) in FlushFinishCase()
174 DE_ASSERT(!m_program); in init()
176 m_program = new glu::ShaderProgram(m_context.getRenderContext(), in init()
197 if (!m_program->isOk()) in init()
199 m_testCtx.getLog() << *m_program; in init()
200 delete m_program; in init()
201 m_program = DE_NULL; in init()
208 delete m_program; in deinit()
209 m_program = DE_NULL; in deinit()
[all …]
/external/deqp/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()
68 if (m_program) in ~ComputeShader()
70 delete m_program; in ~ComputeShader()
78 m_program = new glu::ShaderProgram(context.getRenderContext(), sourcesCompute); in create()
80 if (!m_program->isOk()) in create()
83 << tcu::TestLog::Message << m_shader << m_program->getShaderInfo(glu::SHADERTYPE_COMPUTE).infoLog in create()
84 << m_program->getProgramInfo().infoLog << tcu::TestLog::EndMessage; in create()
103 gl.useProgram(m_program->getProgram()); in execute()
151 if (!m_program->isOk()) in execute()

12345