Home
last modified time | relevance | path

Searched refs:m_po_id (Results 1 – 25 of 71) sorted by relevance

123

/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLinking.cpp80 : TestCaseBase(context, extParams, name, description), m_fs_id(0), m_gs_id(0), m_po_id(0) in GeometryShaderIncompleteProgramObjectsTest()
103 if (m_po_id != 0) in deinit()
105 gl.deleteProgram(m_po_id); in deinit()
107 m_po_id = 0; in deinit()
195 m_po_id = gl.createProgram(); in iterate()
200 gl.programParameteri(m_po_id, GL_PROGRAM_SEPARABLE, GL_TRUE); in iterate()
206 gl.attachShader(m_po_id, m_fs_id); in iterate()
211 gl.attachShader(m_po_id, m_gs_id); in iterate()
217 gl.linkProgram(m_po_id); in iterate()
223 gl.getProgramiv(m_po_id, GL_LINK_STATUS, &link_status); in iterate()
[all …]
DesextcGeometryShaderLinking.hpp107 glw::GLuint m_po_id; member in glcts::GeometryShaderIncompleteProgramObjectsTest
183 glw::GLuint m_po_id; member in glcts::GeometryShaderIncompleteGSTest
245 glw::GLuint m_po_id; member in glcts::GeometryShaderInvalidArrayedInputVariablesTest
291 glw::GLuint m_po_id; member in glcts::GeometryShaderVSGSVariableTypeMismatchTest
337 glw::GLuint m_po_id; member in glcts::GeometryShaderVSGSVariableQualifierMismatchTest
383 glw::GLuint m_po_id; member in glcts::GeometryShaderVSGSArrayedVariableSizeMismatchTest
427 glw::GLuint m_po_id; member in glcts::GeometryShaderFragCoordRedeclarationTest
473 glw::GLuint m_po_id; member in glcts::GeometryShaderLocationAliasingTest
523 glw::GLuint m_po_id; member in glcts::GeometryShaderMoreACsInGSThanSupportedTest
576 glw::GLuint m_po_id; member in glcts::GeometryShaderMoreACBsInGSThanSupportedTest
[all …]
DesextcGeometryShaderQualifiers.cpp47 , m_po_id(0) in GeometryShaderFlatInterpolationTest()
81 if (m_po_id != 0) in deinit()
83 gl.deleteProgram(m_po_id); in deinit()
85 m_po_id = 0; in deinit()
119 m_po_id = gl.createProgram(); in initProgram()
177 gl.transformFeedbackVaryings(m_po_id, 1, /* count */ in initProgram()
181 if (!TestCaseBase::buildProgram(m_po_id, m_gs_id, 1, /* n_sh1_body_parts */ in initProgram()
232 gl.useProgram(m_po_id); in iterate()
DesextcGeometryShaderClipping.cpp95 , m_po_id(0) in GeometryShaderClipping()
115 if (m_po_id != 0) in deinit()
117 gl.deleteProgram(m_po_id); in deinit()
176 m_po_id = gl.createProgram(); in iterate()
178 …if (!buildProgram(m_po_id, m_fs_id, 1 /* part */, &m_fs_code, m_gs_id, 1 /* part */, &m_gs_code, m… in iterate()
206 gl.useProgram(m_po_id); in iterate()
DesextcGeometryShaderAPI.cpp496 : TestCaseBase(context, extParams, name, description), m_po_id(0) in GeometryShaderGetProgramivTest()
505 if (m_po_id != 0) in deinit()
507 gl.deleteProgram(m_po_id); in deinit()
509 m_po_id = 0; in deinit()
534 m_po_id = gl.createProgram(); in iterate()
550 gl.getProgramiv(m_po_id, pname, &rv); in iterate()
584 : TestCaseBase(context, extParams, name, description), m_fs_id(0), m_po_id(0), m_vs_id(0) in GeometryShaderGetProgramiv2Test()
600 if (m_po_id != 0) in deinit()
602 gl.deleteProgram(m_po_id); in deinit()
604 m_po_id = 0; in deinit()
[all …]
DesextcGeometryShaderAdjacency.cpp157 , m_po_id(0) in GeometryShaderAdjacency()
182 if (m_po_id != 0) in deinit()
184 gl.deleteProgram(m_po_id); in deinit()
287 m_po_id = gl.createProgram(); in initTest()
296 gl.transformFeedbackVaryings(m_po_id, 2, varyings, GL_SEPARATE_ATTRIBS); in initTest()
302 gl.transformFeedbackVaryings(m_po_id, 1, varyings, GL_SEPARATE_ATTRIBS); in initTest()
307 …if (!buildProgram(m_po_id, m_fs_id, 1, /* parts */ &fsCode, (gsCode) ? m_gs_id : 0, (gsCode) ? 1 :… in initTest()
371 m_position_attribute_location = gl.getAttribLocation(m_po_id, "position_data"); in iterate()
385 gl.useProgram(m_po_id); in iterate()
DesextcGeometryShaderAPI.hpp169 glw::GLuint m_po_id; member in glcts::GeometryShaderGetProgramivTest
216 glw::GLuint m_po_id; member in glcts::GeometryShaderGetProgramiv2Test
302 glw::GLuint m_po_id; member in glcts::GeometryShaderGetProgramiv3Test
413 glw::GLuint m_po_id; member in glcts::GeometryShaderMaxImageUniformsTest
481 glw::GLuint m_po_id; member in glcts::GeometryShaderMaxShaderStorageBlocksTest
546 glw::GLuint m_po_id; member in glcts::GeometryShaderMaxAtomicCountersTest
611 glw::GLuint m_po_id; member in glcts::GeometryShaderMaxAtomicCounterBuffersTest
974 glw::GLuint m_po_id; member in glcts::GeometryShaderDrawPrimitivesDoNotMatchOutputPrimitives
DesextcGeometryShaderPrimitiveQueries.cpp254 , m_po_id(0) in GeometryShaderPrimitiveQueries()
275 if (m_po_id != 0) in deinit()
277 gl.deleteProgram(m_po_id); in deinit()
343 m_po_id = gl.createProgram(); in iterate()
351 gl.transformFeedbackVaryings(m_po_id, sizeof(tf_varyings) / sizeof(tf_varyings[0]), tf_varyings, in iterate()
354 …if (!buildProgram(m_po_id, m_fs_id, 1 /* part */, &m_fs_code, m_gs_id, 1 /* part */, &gs_code, m_v… in iterate()
489 gl.useProgram(m_po_id); in readPrimitiveQueryValues()
DesextcGeometryShaderLayeredRenderingFBONoAttachment.cpp124 , m_po_id(0) in GeometryShaderLayeredRenderingFBONoAttachment()
147 if (m_po_id != 0) in deinit()
149 gl.deleteProgram(m_po_id); in deinit()
150 m_po_id = 0; in deinit()
277 m_po_id = gl.createProgram(); in iterate()
283 …if (!buildProgram(m_po_id, m_fs_id, 1 /* part */, &m_fs_code, m_gs_id, 1 /* part */, &m_gs_code, m… in iterate()
309 gl.useProgram(m_po_id); in iterate()
DesextcGeometryShaderLayeredFramebuffer.cpp49 , m_po_id(0) in GeometryShaderLayeredFramebufferBlending()
79 if (m_po_id != 0) in deinit()
81 gl.deleteProgram(m_po_id); in deinit()
196 m_po_id = gl.createProgram(); in iterate()
198 …if (!buildProgram(m_po_id, m_fs_id, 1 /* part */, &fs_code, m_gs_id, 1 /* part */, &gs_code, m_vs_… in iterate()
300 gl.useProgram(m_po_id); in iterate()
835 , m_po_id(0) in GeometryShaderLayeredFramebufferDepth()
866 if (m_po_id != 0) in deinit()
868 gl.deleteProgram(m_po_id); in deinit()
1009 m_po_id = gl.createProgram(); in iterate()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferActiveUniformValidation.cpp76 : TestCaseBase(context, extParams, name, description), m_po_id(0), m_tbo_ids(0), m_tbo_tex_ids(0) in TextureBufferActiveUniformValidation()
226 gl.useProgram(m_po_id); in iterate()
235 gl.getProgramiv(m_po_id, GL_ACTIVE_UNIFORMS, &n_active_uniforms); in iterate()
260 …gl.getActiveUniform(m_po_id, i /* index */, (glw::GLsizei)(m_param_value_size - 1), &paramLength, … in iterate()
321 gl.getActiveUniformsiv(m_po_id, n_active_uniforms, &indicies[0], GL_UNIFORM_TYPE, &types[0]); in iterate()
343 gl.getProgramResourceiv(m_po_id, GL_UNIFORM, i /*index */, 1 /* parameters count */, in iterate()
389 if (0 != m_po_id) in deinit()
391 gl.deleteProgram(m_po_id); in deinit()
392 m_po_id = 0; in deinit()
440 if (0 != m_po_id) in deinit()
[all …]
DesextcTextureBufferPrecision.cpp163 : TestCaseBase(context, extParams, name, description), m_po_id(0), m_sh_id(0) in TextureBufferPrecision()
179 if (m_po_id != 0) in deinit()
181 gl.deleteProgram(m_po_id); in deinit()
182 m_po_id = 0; in deinit()
215 m_po_id = gl.createProgram(); in verifyShaderCompilationStatus()
261 if (m_po_id != 0) in verifyShaderCompilationStatus()
263 gl.deleteProgram(m_po_id); in verifyShaderCompilationStatus()
264 m_po_id = 0; in verifyShaderCompilationStatus()
DesextcTextureBufferParamValueIntToFloatConversion.cpp58 , m_po_id(0) in TextureBufferParamValueIntToFloatConversion()
117 m_po_id = gl.createProgram(); in initTest()
126 if (!buildProgram(m_po_id, m_cs_id, 1, &csCode)) in initTest()
192 gl.useProgram(m_po_id); in iterate()
204 glw::GLint location = gl.getUniformLocation(m_po_id, "sampler_buffer"); in iterate()
274 if (0 != m_po_id) in deinit()
276 gl.deleteProgram(m_po_id); in deinit()
277 m_po_id = 0; in deinit()
DesextcTextureBufferAtomicFunctions.cpp50 , m_po_id(0) in TextureBufferAtomicFunctions()
111 m_po_id = gl.createProgram(); in initTest()
120 if (!buildProgram(m_po_id, m_cs_id, 1, &csCode)) in initTest()
180 gl.useProgram(m_po_id); in iterate()
240 if (0 != m_po_id) in deinit()
242 gl.deleteProgram(m_po_id); in deinit()
243 m_po_id = 0; in deinit()
DesextcTextureBufferMAXSizeValidation.cpp54 , m_po_id(0) in TextureBufferMAXSizeValidation()
114 m_po_id = gl.createProgram(); in initTest()
123 if (!buildProgram(m_po_id, m_cs_id, 1, &csCode)) in initTest()
220 gl.useProgram(m_po_id); in iterate()
232 glw::GLint location = gl.getUniformLocation(m_po_id, "sampler_buffer"); in iterate()
301 if (0 != m_po_id) in deinit()
303 gl.deleteProgram(m_po_id); in deinit()
304 m_po_id = 0; in deinit()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderProperties.cpp147 , m_po_id(0) in TessellationShaderPropertiesProgramObject()
171 if (m_po_id != 0) in deinit()
173 gl.deleteProgram(m_po_id); in deinit()
175 m_po_id = 0; in deinit()
212 m_po_id = gl.createProgram(); in initTest()
222 gl.attachShader(m_po_id, m_fs_id); in initTest()
223 gl.attachShader(m_po_id, m_tc_id); in initTest()
224 gl.attachShader(m_po_id, m_te_id); in initTest()
225 gl.attachShader(m_po_id, m_vs_id); in initTest()
444 gl.linkProgram(m_po_id); in iterate()
[all …]
DesextcTessellationShaderProgramInterfaces.cpp45 , m_po_id(0) in TessellationShaderProgramInterfaces()
71 if (m_po_id != 0) in deinit()
73 gl.deleteProgram(m_po_id); in deinit()
75 m_po_id = 0; in deinit()
112 m_po_id = gl.createProgram(); in initTest()
299 …bool link_success = buildProgram(m_po_id, m_fs_shader_id, 1, &fs_body, m_tc_shader_id, 5, tc_code,… in initTest()
444 gl.getProgramInterfaceiv(m_po_id, interface, GL_ACTIVE_RESOURCES, &n_active_resources); in iterate()
463 gl.getProgramResourceiv(m_po_id, interface, n_resource, 1, /* propCount */ in iterate()
471 gl.getProgramResourceiv(m_po_id, interface, n_resource, 1, /* propCount */ in iterate()
520 gl.getProgramInterfaceiv(m_po_id, interface, GL_ACTIVE_RESOURCES, &n_active_resources); in iterate()
[all …]
DesextcTessellationShaderXFB.cpp45 , m_po_id(0) in TessellationShaderXFB()
129 if (m_po_id != 0) in deinit()
131 gl.deleteProgram(m_po_id); in deinit()
133 m_po_id = 0; in deinit()
270 m_po_id = gl.createProgram(); in initTest()
529 gl.attachShader(m_po_id, m_fs_id); in initTest()
530 gl.attachShader(m_po_id, m_vs_id); in initTest()
541 gl.transformFeedbackVaryings(m_po_id, 1 /* count */, &varying_name, GL_SEPARATE_ATTRIBS); in initTest()
724 gl.attachShader(m_po_id, m_gs_id); in iterate()
730 gl.attachShader(m_po_id, m_tc_id); in iterate()
[all …]
DesextcTessellationShaderBarrier.cpp67 , m_po_id(0) in TessellationShaderBarrierTestCase()
117 if (m_po_id != 0) in deinit()
119 gl.deleteProgram(m_po_id); in deinit()
121 m_po_id = 0; in deinit()
205 m_po_id = gl.createProgram(); in initTest()
215 gl.transformFeedbackVaryings(m_po_id, n_names, names, GL_INTERLEAVED_ATTRIBS); in initTest()
219 …if (!buildProgram(m_po_id, m_fs_id, 1, &fs_body, m_tcs_id, 1, &tcs_body, m_tes_id, 1, &tes_body, m… in initTest()
263 gl.useProgram(m_po_id); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cES31CompatibilityTests.cpp264 , m_po_id(0) in ShaderFunctionalCompatibilityTest()
371 if (m_po_id) in createProgram()
377 m_po_id = gl.createProgram(); in createProgram()
390 gl.attachShader(m_po_id, shader[i].id); in createProgram()
443 gl.linkProgram(m_po_id); in createProgram()
449 gl.getProgramiv(m_po_id, GL_LINK_STATUS, &status); in createProgram()
457 gl.detachShader(m_po_id, shader[i].id); in createProgram()
467 gl.getProgramiv(m_po_id, GL_INFO_LOG_LENGTH, &log_size); in createProgram()
479 gl.getProgramInfoLog(m_po_id, log_size, DE_NULL, log); in createProgram()
496 if (m_po_id) in createProgram()
[all …]
Dgl4cShaderTextureImageSamplesTests.cpp56 , m_po_id(0) in ShaderTextureImageSamplesTestBase()
98 m_po_id = gl.createProgram(); in buildComputeProgram()
135 gl.attachShader(m_po_id, m_cs_id); in buildComputeProgram()
141 gl.linkProgram(m_po_id); in buildComputeProgram()
144 gl.getProgramiv(m_po_id, GL_LINK_STATUS, &link_status); in buildComputeProgram()
207 if (m_po_id != 0) in deinitProgramAndShaderObjects()
209 gl.deleteProgram(m_po_id); in deinitProgramAndShaderObjects()
211 m_po_id = 0; in deinitProgramAndShaderObjects()
418 gl.shaderStorageBlockBinding(m_po_id, 0, /* storageBlockIndex */ in executeFunctionalTest()
522 gl.useProgram(m_po_id); in executeFunctionalTest()
Dgl4cConditionalRenderInvertedTests.cpp225 , m_po_id(0) in FunctionalTest()
377 m_po_id = gl.createProgram(); in createProgram()
390 gl.attachShader(m_po_id, shader[i].id); in createProgram()
415 gl.linkProgram(m_po_id); in createProgram()
421 gl.getProgramiv(m_po_id, GL_LINK_STATUS, &status); in createProgram()
429 gl.detachShader(m_po_id, shader[i].id); in createProgram()
442 if (m_po_id) in createProgram()
444 gl.deleteProgram(m_po_id); in createProgram()
446 m_po_id = 0; in createProgram()
460 if (m_po_id) in createProgram()
[all …]
Dgl4cShaderSubroutineTests.cpp1820 , m_po_id(0) in APITest2()
1843 if (m_po_id != 0) in deinit()
1845 gl.deleteProgram(m_po_id); in deinit()
1847 m_po_id = 0; in deinit()
1894 m_po_id = gl.createProgram(); in initTest()
1900 gl.attachShader(m_po_id, m_vs_id); in initTest()
1925 gl.linkProgram(m_po_id); in initTest()
1928 gl.getProgramiv(m_po_id, GL_LINK_STATUS, &link_status); in initTest()
1940 gl.getProgramStageiv(m_po_id, GL_VERTEX_SHADER, GL_ACTIVE_SUBROUTINES, &n_active_subroutines); in initTest()
1941 …gl.getProgramStageiv(m_po_id, GL_VERTEX_SHADER, GL_ACTIVE_SUBROUTINE_UNIFORMS, &n_active_subroutin… in initTest()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5SamplerArrayIndexing.cpp60 , m_po_id(0) in GPUShader5SamplerArrayIndexing()
83 if (m_po_id != 0) in deinit()
85 gl.deleteProgram(m_po_id); in deinit()
86 m_po_id = 0; in deinit()
154 m_po_id = gl.createProgram(); in initTest()
159 if (!buildProgram(m_po_id, m_fs_id, 1 /* part */, &fsCode, m_vs_id, 1 /* part */, &vsCode)) in initTest()
252 gl.useProgram(m_po_id); in iterate()
259 glw::GLint position_attribute_location = gl.getAttribLocation(m_po_id, "position"); in iterate()
266 glw::GLint samplers_uniform_location = gl.getUniformLocation(m_po_id, "samplers"); in iterate()
DesextcGPUShader5FmaPrecision.cpp54 , m_po_id(0) in GPUShader5FmaPrecision()
81 if (m_po_id != 0) in deinit()
83 gl.deleteProgram(m_po_id); in deinit()
85 m_po_id = 0; in deinit()
170 m_po_id = gl.createProgram(); in initTest()
179 gl.transformFeedbackVaryings(m_po_id, 2, varyings, GL_SEPARATE_ATTRIBS); in initTest()
187 if (!buildProgram(m_po_id, m_fs_id, 1 /* part */, &fsCode, m_vs_id, 1 /* part */, &vsCodeStr)) in initTest()
213 gl.useProgram(m_po_id); in initTest()
217 glw::GLint posAttribA = gl.getAttribLocation(m_po_id, "a"); in initTest()
227 glw::GLint posAttribB = gl.getAttribLocation(m_po_id, "b"); in initTest()
[all …]

123