Home
last modified time | relevance | path

Searched refs:po_id (Results 1 – 25 of 32) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleFunctionalTests.cpp269 , po_id(0) in MultisampleTextureFunctionalTestsBlittingMultisampledDepthAttachmentTest()
340 if (po_id != 0) in deinit()
342 gl.deleteProgram(po_id); in deinit()
344 po_id = 0; in deinit()
381 po_id = gl.createProgram(); in iterate()
481 const glw::GLuint program_ids[] = { po_depth_preview_id, po_id }; in iterate()
486 gl.attachShader(po_id, fs_id); in iterate()
487 gl.attachShader(po_id, vs_id); in iterate()
575 gl.useProgram(po_id); in iterate()
707 , po_id(0) in MultisampleTextureFunctionalTestsBlittingMultisampledIntegerAttachmentTest()
[all …]
Des31cTextureStorageMultisampleGetActiveUniformTests.cpp157 , po_id(0) in MultisampleTextureGetActiveUniformSamplersTest()
176 po_id = gl.createProgram(); in initInternals()
188 gl.deleteProgram(po_id); in deinitInternals()
208 gl.attachShader(po_id, fs_id); in iterate()
209 gl.attachShader(po_id, vs_id); in iterate()
271 gl.linkProgram(po_id); in iterate()
274 gl.getProgramiv(po_id, GL_LINK_STATUS, &link_status); in iterate()
284 gl.getProgramiv(po_id, GL_ACTIVE_UNIFORMS, &n_active_uniforms); in iterate()
291 gl.getProgramiv(po_id, GL_ACTIVE_UNIFORM_MAX_LENGTH, &max_active_uniform_length); in iterate()
329 gl.getActiveUniform(po_id, n_uniform, max_active_uniform_length, NULL, /* length */ in iterate()
Des31cTextureStorageMultisampleFunctionalTests.hpp78 glw::GLuint po_id; member in glcts::MultisampleTextureFunctionalTestsBlittingMultisampledDepthAttachmentTest
104 glw::GLuint po_id; member in glcts::MultisampleTextureFunctionalTestsBlittingMultisampledIntegerAttachmentTest
203 glw::GLuint po_id; member in glcts::MultisampleTextureFunctionalTestsTextureSizeFragmentShadersTest
226 glw::GLuint po_id; member in glcts::MultisampleTextureFunctionalTestsTextureSizeVertexShadersTest
Des31cTextureStorageMultisampleGetActiveUniformTests.hpp58 glw::GLint po_id; member in glcts::MultisampleTextureGetActiveUniformSamplersTest
/third_party/vk-gl-cts/external/openglcts/modules/glesext/
DesextcTestCaseBase.cpp400 bool TestCaseBase::buildProgramVA(glw::GLuint po_id, bool* out_has_compilation_failed, unsigned int… in buildProgramVA() argument
454 gl.attachShader(po_id, sh_id); in buildProgramVA()
475 gl.linkProgram(po_id); in buildProgramVA()
478 gl.getProgramiv(po_id, GL_LINK_STATUS, &link_status); in buildProgramVA()
484 std::string link_log = getLinkingInfoLog(po_id); in buildProgramVA()
522 bool TestCaseBase::buildProgram(glw::GLuint po_id, glw::GLuint sh1_shader_id, unsigned int n_sh1_bo… in buildProgram() argument
525 …return buildProgramVA(po_id, out_has_compilation_failed, 1, sh1_shader_id, n_sh1_body_parts, sh1_b… in buildProgram()
547 bool TestCaseBase::buildProgram(glw::GLuint po_id, glw::GLuint sh1_shader_id, unsigned int n_sh1_bo… in buildProgram() argument
552 …return buildProgramVA(po_id, out_has_compilation_failed, 2, sh1_shader_id, n_sh1_body_parts, sh1_b… in buildProgram()
581 bool TestCaseBase::buildProgram(glw::GLuint po_id, glw::GLuint sh1_shader_id, unsigned int n_sh1_bo… in buildProgram() argument
[all …]
DesextcTestCaseBase.hpp172 bool buildProgram(glw::GLuint po_id, glw::GLuint sh1_shader_id, unsigned int n_sh1_body_parts,
175 bool buildProgram(glw::GLuint po_id, glw::GLuint sh1_shader_id, unsigned int n_sh1_body_parts,
179 bool buildProgram(glw::GLuint po_id, glw::GLuint sh1_shader_id, unsigned int n_sh1_body_parts,
184 bool buildProgram(glw::GLuint po_id, glw::GLuint sh1_shader_id, unsigned int n_sh1_body_parts,
190 bool buildProgram(glw::GLuint po_id, glw::GLuint sh1_shader_id, unsigned int n_sh1_body_parts,
203 std::string getLinkingInfoLog(glw::GLuint po_id);
249 …bool buildProgramVA(glw::GLuint po_id, bool* out_has_compilation_failed, unsigned int sh_stages, .…
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTessellation.cpp329 if (run.po_id != 0) in deinitRun()
331 gl.deleteProgram(run.po_id); in deinitRun()
333 run.po_id = 0; in deinitRun()
540 run.po_id = gl.createProgram(); in initRun()
570 gl.attachShader(run.po_id, m_fs_id); in initRun()
571 gl.attachShader(run.po_id, run.tc_id); in initRun()
572 gl.attachShader(run.po_id, run.te_id); in initRun()
573 gl.attachShader(run.po_id, m_vs_id); in initRun()
581 gl.transformFeedbackVaryings(run.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS); in initRun()
587 gl.linkProgram(run.po_id); in initRun()
[all …]
DesextcTessellationShaderTCTE.hpp128 glw::GLuint po_id; member
150 po_id = 0; in _run()
225 glw::GLuint po_id; member
250 , po_id(0) in _run()
393 glw::GLuint po_id; member
404 po_id = 0; in _test_descriptor()
475 glw::GLuint po_id; member
485 po_id = 0; in _test_descriptor()
DesextcTessellationShaderTCTE.cpp150 if (run.po_id != 0) in deinitTestRun()
152 gl.deleteProgram(run.po_id); in deinitTestRun()
154 run.po_id = 0; in deinitTestRun()
304 run.po_id = gl.createProgram(); in executeTestRun()
322 gl.attachShader(run.po_id, run.fs_id); in executeTestRun()
323 gl.attachShader(run.po_id, run.tcs_id); in executeTestRun()
324 gl.attachShader(run.po_id, run.tes_id); in executeTestRun()
325 gl.attachShader(run.po_id, run.vs_id); in executeTestRun()
329 gl.attachShader(run.po_id, run.gs_id); in executeTestRun()
755 gl.transformFeedbackVaryings(run.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS); in executeTestRun()
[all …]
DesextcTessellationShaderVertexOrdering.cpp363 glw::GLuint po_id = gl.createProgram(); in initTestIteration() local
366 gl.attachShader(po_id, m_fs_id); in initTestIteration()
367 gl.attachShader(po_id, m_tc_id); in initTestIteration()
368 gl.attachShader(po_id, te_id); in initTestIteration()
369 gl.attachShader(po_id, m_vs_id); in initTestIteration()
375 gl.transformFeedbackVaryings(po_id, 1, /* count */ in initTestIteration()
382 gl.linkProgram(po_id); in initTestIteration()
385 gl.getProgramiv(po_id, GL_LINK_STATUS, &link_status); in initTestIteration()
418 glw::GLint inner_tess_level_uniform_location = gl.getUniformLocation(po_id, "inner_tess_level"); in initTestIteration()
419 glw::GLint outer_tess_level_uniform_location = gl.getUniformLocation(po_id, "outer_tess_level"); in initTestIteration()
[all …]
DesextcTessellationShaderTessellation.hpp106 glw::GLuint po_id; member
113 po_id = 0; in _run()
201 glw::GLuint po_id; member
216 po_id = 0; in _run()
299 glw::GLuint po_id; member
317 po_id = 0; in _test_descriptor()
DesextcTessellationShaderTriangles.cpp150 if (test.po_id != 0) in deinitTestDescriptor()
152 gl.deleteProgram(test.po_id); in deinitTestDescriptor()
154 test.po_id = 0; in deinitTestDescriptor()
293 test.po_id = gl.createProgram(); in initTestDescriptor()
371 gl.attachShader(test.po_id, m_fs_id); in initTestDescriptor()
372 gl.attachShader(test.po_id, m_tc_id); in initTestDescriptor()
373 gl.attachShader(test.po_id, test.te_id); in initTestDescriptor()
374 gl.attachShader(test.po_id, m_vs_id); in initTestDescriptor()
381 gl.transformFeedbackVaryings(test.po_id, n_varyings, varyings, GL_INTERLEAVED_ATTRIBS); in initTestDescriptor()
387 gl.linkProgram(test.po_id); in initTestDescriptor()
[all …]
DesextcTessellationShaderUtils.hpp327 glw::GLint po_id; member
341 po_id = 0; in _tessellation_vertex_counter_program()
354 if (po_id != 0) in ~_tessellation_vertex_counter_program()
356 m_gl.deleteProgram(po_id); in ~_tessellation_vertex_counter_program()
357 po_id = 0; in ~_tessellation_vertex_counter_program()
DesextcTessellationShaderXFB.cpp192 glw::GLuint po_id = 0; in createSeparableProgram() local
200 po_id = gl.createProgram(); in createSeparableProgram()
204 gl.programParameteri(po_id, GL_PROGRAM_SEPARABLE, GL_TRUE); in createSeparableProgram()
210 gl.transformFeedbackVaryings(po_id, n_varyings, varyings, GL_SEPARATE_ATTRIBS); in createSeparableProgram()
214 bool build_success = buildProgram(po_id, so_id, n_strings, strings); in createSeparableProgram()
222 gl.deleteProgram(po_id); in createSeparableProgram()
224 po_id = 0; in createSeparableProgram()
240 return po_id; in createSeparableProgram()
DesextcTessellationShaderUtils.cpp71 m_gl.useProgram(program.po_id); in captureTessellationData()
1233 glw::GLint po_id = 0; in initTessellationVertexCounterProgram() local
1244 po_id = m_gl.createProgram(); in initTessellationVertexCounterProgram()
1262 m_gl.transformFeedbackVaryings(po_id, 1, /* count */ in initTessellationVertexCounterProgram()
1267 …bool build_success = m_parent_test->buildProgram(po_id, m_fs_id, 0 /* precompiled */, NULL, tc_id,… in initTessellationVertexCounterProgram()
1279 inner_tess_level_uniform_location = m_gl.getUniformLocation(po_id, "inner_tess_level"); in initTessellationVertexCounterProgram()
1280 outer_tess_level_uniform_location = m_gl.getUniformLocation(po_id, "outer_tess_level"); in initTessellationVertexCounterProgram()
1285 m_gl.useProgram(po_id); in initTessellationVertexCounterProgram()
1302 result_descriptor.po_id = po_id; in initTessellationVertexCounterProgram()
DesextcTessellationShaderPrimitiveCoverage.cpp574 void TessellationShaderPrimitiveCoverage::drawPatch(glw::GLuint po_id, glw::GLuint n_patch_vertices, in drawPatch() argument
585 gl.useProgram(po_id); in drawPatch()
592 innerLevelUniformLocation = gl.getUniformLocation(po_id, "innerLevel"); in drawPatch()
595 outerLevelUniformLocation = gl.getUniformLocation(po_id, "outerLevel"); in drawPatch()
617 stencilPassColorUniformLocation = gl.getUniformLocation(po_id, "stencil_fail_color"); in drawPatch()
DesextcTessellationShaderPoints.hpp107 glw::GLint po_id; member
124 po_id = 0; in _test_descriptor()
DesextcTessellationShaderTriangles.hpp86 glw::GLuint po_id; member
92 po_id = 0; in _test_descriptor()
DesextcTessellationShaderPoints.cpp118 if (test.po_id != 0) in deinit()
120 gl.deleteProgram(test.po_id); in deinit()
517 test.po_id = gl.createProgram(); in iterate()
521 …buildProgram(test.po_id, test.fs_id, test.fs_id ? 1 : 0, &test.fs_body, test.gs_id, test.gs_id ? 1… in iterate()
540 gl.useProgram(test.po_id); in iterate()
DesextcTessellationShaderInvariance.cpp131 if (program.po_id != 0) in deinit()
133 gl.deleteProgram(program.po_id); in deinit()
341 program.po_id = gl.createProgram(); in initTest()
452 gl.attachShader(program.po_id, shader_id); in initTest()
470 gl.transformFeedbackVaryings(program.po_id, n_xfb_names, xfb_names, GL_INTERLEAVED_ATTRIBS); in initTest()
476 gl.linkProgram(program.po_id); in initTest()
479 gl.getProgramiv(program.po_id, GL_LINK_STATUS, &link_status); in initTest()
489 gl.getUniformLocation(program.po_id, getInnerTessLevelUniformName()); in initTest()
491 gl.getUniformLocation(program.po_id, getOuterTessLevelUniformName()); in initTest()
558 gl.useProgram(program.po_id); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRendering.cpp193 …return buildProgram(test->po_id, test->fs_id, test->n_fs_parts, test->fs_parts, test->gs_id, test-… in buildProgramForLRTest()
315 m_tests[LAYERED_RENDERING_TEST_ITERATION_CUBEMAP].po_id = gl.createProgram(); in iterate()
316 m_tests[LAYERED_RENDERING_TEST_ITERATION_2D_ARRAY].po_id = gl.createProgram(); in iterate()
317 m_tests[LAYERED_RENDERING_TEST_ITERATION_3D].po_id = gl.createProgram(); in iterate()
319 m_tests[LAYERED_RENDERING_TEST_ITERATION_2D_MULTISAMPLE_ARRAY].po_id = gl.createProgram(); in iterate()
365 gl.getUniformLocation(m_tests[test_index].po_id, "provoking_vertex_index"); in iterate()
372 gl.programUniform1i(m_tests[test_index].po_id, provoking_vertex_index_uniform_location, in iterate()
447 program_id = m_tests[n_current_test].po_id; in iterate()
638 if (m_tests[n_current_test].po_id != 0) in deinit()
640 gl.deleteProgram(m_tests[n_current_test].po_id); in deinit()
DesextcGeometryShaderInput.cpp449 …glw::GLuint po_id = (n_case == 0) ? m_program_object_unsized_arrays_id : m_program_object_sized_ar… in iterate() local
451 gl.useProgram(po_id); in iterate()
679 gl.useProgram(test->po_id); in iterate()
767 if (0 != info.po_id) in deinitCase()
769 gl.deleteProgram(info.po_id); in deinitCase()
831 info.po_id = gl.createProgram(); in initCaseProgram()
844 …gl.transformFeedbackVaryings(info.po_id, n_captured_varyings_size, captured_varyings, GL_SEPARATE_… in initCaseProgram()
847 if (false == buildProgram(info.po_id, info.fs_id, 1 /* number of fragment shader code parts */, in initCaseProgram()
DesextcGeometryShaderLayeredRendering.hpp145 glw::GLuint po_id; member
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cCullDistanceTests.cpp75 glw::GLuint po_id = 0; in buildProgram() local
92 po_id = gl.createProgram(); in buildProgram()
146 gl.attachShader(po_id, so_id); in buildProgram()
155 gl.transformFeedbackVaryings(po_id, n_tf_varyings, tf_varyings, GL_INTERLEAVED_ATTRIBS); in buildProgram()
160 if (po_id != 0) in buildProgram()
164 gl.linkProgram(po_id); in buildProgram()
167 gl.getProgramiv(po_id, GL_LINK_STATUS, &link_status); in buildProgram()
177 gl.getProgramiv(po_id, GL_INFO_LOG_LENGTH, &log_length); in buildProgram()
183 gl.getProgramInfoLog(po_id, log_length, DE_NULL, &log_array[0]); in buildProgram()
226 *out_program = po_id; in buildProgram()
[all …]
Dgl4cSparseBufferTests.cpp81 glw::GLuint po_id = 0; in createComputeProgram() local
89 po_id = gl.createProgram(); in createComputeProgram()
95 gl.attachShader(po_id, cs_id); in createComputeProgram()
125 gl.linkProgram(po_id); in createComputeProgram()
129 gl.getProgramiv(po_id, GL_LINK_STATUS, &link_status); in createComputeProgram()
150 if (po_id != 0) in createComputeProgram()
152 gl.deleteProgram(po_id); in createComputeProgram()
154 po_id = 0; in createComputeProgram()
158 return po_id; in createComputeProgram()
200 glw::GLuint po_id = 0; in createProgram() local
[all …]

12