Home
last modified time | relevance | path

Searched refs:m_program_object_id (Results 1 – 25 of 26) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderProgramResource.cpp190 , m_program_object_id(0) in GeometryShaderProgramResourceTest()
310 m_program_object_id = gl.createProgram(); in initTest()
316 buildProgram(m_program_object_id, m_fragment_shader_id, 1, /* Fragment shader parts number */ in initTest()
354 checkIfResourceIsReferenced(m_program_object_id, GL_UNIFORM, "uni_model_view_projection"); in iterate()
356 checkIfResourceIsReferenced(m_program_object_id, GL_UNIFORM, "uni_colors_white"); in iterate()
359 …is_uni_matrices_uniform_referenced = checkIfResourceIsReferenced(m_program_object_id, GL_UNIFORM_B… in iterate()
360 …is_uni_colors_uniform_referenced = checkIfResourceIsReferenced(m_program_object_id, GL_UNIFORM_B… in iterate()
366 checkIfResourceIsReferenced(m_program_object_id, GL_SHADER_STORAGE_BLOCK, "Positions"); in iterate()
368 checkIfResourceIsReferenced(m_program_object_id, GL_SHADER_STORAGE_BLOCK, "Ids"); in iterate()
371 checkIfResourceIsReferenced(m_program_object_id, GL_BUFFER_VARIABLE, "Positions.position"); in iterate()
[all …]
DesextcGeometryShaderOutput.cpp309 , m_program_object_id(0) in GeometryShaderOutputRenderingBase()
339 m_program_object_id = gl.createProgram(); in initTest()
344 …if (false == buildProgram(m_program_object_id, m_fragment_shader_id, 1, &m_fragment_shader_code_wh… in initTest()
391 gl.useProgram(m_program_object_id); in iterate()
437 if (m_program_object_id != 0) in deinit()
439 gl.deleteProgram(m_program_object_id); in deinit()
DesextcGeometryShaderInput.cpp877 , m_program_object_id(0) in GeometryShader_gl_PointSize_ValueTest()
935 m_program_object_id = gl.createProgram(); in init()
944 …if (false == buildProgram(m_program_object_id, m_fragment_shader_id, 1 /* fragment shader parts nu… in init()
996 gl.useProgram(m_program_object_id); in iterate()
1097 if (m_program_object_id != 0) in deinit()
1099 gl.deleteProgram(m_program_object_id); in deinit()
1148 , m_program_object_id(0) in GeometryShader_gl_Position_ValueTest()
1206 m_program_object_id = gl.createProgram(); in init()
1215 …if (false == buildProgram(m_program_object_id, m_fragment_shader_id, 1 /* fragment shader parts nu… in init()
1262 gl.useProgram(m_program_object_id); in iterate()
[all …]
DesextcGeometryShaderLimits.cpp780 , m_program_object_id(0) in GeometryShaderLimitsTransformFeedbackBase()
819 m_program_object_id = gl.createProgram(); in initTest()
828 gl.transformFeedbackVaryings(m_program_object_id, m_n_captured_varyings, m_captured_varyings_names, in initTest()
834 if (false == buildProgram(m_program_object_id, m_fragment_shader_id, m_n_fragment_shader_parts, in initTest()
885 gl.useProgram(m_program_object_id); in iterate()
946 if (0 != m_program_object_id) in deinit()
948 gl.deleteProgram(m_program_object_id); in deinit()
950 m_program_object_id = 0; in deinit()
1004 , m_program_object_id(0) in GeometryShaderLimitsRenderingBase()
1081 m_program_object_id = gl.createProgram(); in initTest()
[all …]
DesextcGeometryShaderInput.hpp287 glw::GLuint m_program_object_id; member in glcts::GeometryShader_gl_PointSize_ValueTest
354 glw::GLuint m_program_object_id; member in glcts::GeometryShader_gl_Position_ValueTest
DesextcGeometryShaderProgramResource.hpp77 glw::GLuint m_program_object_id; member in glcts::GeometryShaderProgramResourceTest
DesextcGeometryShaderOutput.hpp138 glw::GLuint m_program_object_id; member in glcts::GeometryShaderOutputRenderingBase
DesextcGeometryShaderLimits.hpp79 glw::GLuint m_program_object_id; member in glcts::GeometryShaderLimitsTransformFeedbackBase
153 glw::GLuint m_program_object_id; member in glcts::GeometryShaderLimitsRenderingBase
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cGPUShader5Tests.cpp54 : m_context(context), m_fragment_shader_id(0), m_program_object_id(0), m_vertex_shader_id(0) in programInfo()
71 if (0 != m_program_object_id) in ~programInfo()
73 gl.deleteProgram(m_program_object_id); in ~programInfo()
74 m_program_object_id = 0; in ~programInfo()
121 m_program_object_id = gl.createProgram(); in build()
193 gl.attachShader(m_program_object_id, m_fragment_shader_id); in link()
199 gl.attachShader(m_program_object_id, m_vertex_shader_id); in link()
204 gl.linkProgram(m_program_object_id); in link()
208 gl.getProgramiv(m_program_object_id, GL_LINK_STATUS, &status); in link()
218 gl.getProgramiv(m_program_object_id, GL_INFO_LOG_LENGTH, &length); in link()
[all …]
Dgl4cShaderSubroutineTests.cpp217 , m_program_object_id(0) in program()
304 m_program_object_id = gl.createProgram(); in build()
310 …gl.transformFeedbackVaryings(m_program_object_id, n_varying_names, varying_names, GL_INTERLEAVED_A… in build()
317 gl.programParameteri(m_program_object_id, GL_PROGRAM_SEPARABLE, GL_TRUE); in build()
406 m_program_object_id = gl.createProgram(); in createFromBinary()
409 gl.programBinary(m_program_object_id, binary_format, &binary[0], (GLsizei)binary.size()); in createFromBinary()
425 gl.getProgramiv(m_program_object_id, GL_PROGRAM_BINARY_LENGTH, &length); in getBinary()
432 …gl.getProgramBinary(m_program_object_id, (GLsizei)binary.size(), &length, &binary_format, &binary[… in getBinary()
447 index = gl.getSubroutineIndex(m_program_object_id, shader_stage, subroutine_name); in getSubroutineIndex()
472 location = gl.getSubroutineUniformLocation(m_program_object_id, shader_stage, uniform_name); in getSubroutineUniformLocation()
[all …]
Dgl3cTextureSwizzleTests.cpp1963 : m_context(context), m_fragment_shader_id(0), m_program_object_id(0), m_vertex_shader_id(0) in programInfo()
1980 if (0 != m_program_object_id) in ~programInfo()
1982 gl.deleteProgram(m_program_object_id); in ~programInfo()
1983 m_program_object_id = 0; in ~programInfo()
2028 m_program_object_id = gl.createProgram(); in build()
2100 gl.attachShader(m_program_object_id, m_fragment_shader_id); in link()
2106 gl.attachShader(m_program_object_id, m_vertex_shader_id); in link()
2111 gl.linkProgram(m_program_object_id); in link()
2115 gl.getProgramiv(m_program_object_id, GL_LINK_STATUS, &status); in link()
2125 gl.getProgramiv(m_program_object_id, GL_INFO_LOG_LENGTH, &length); in link()
[all …]
Dgl4cShadingLanguage420PackTests.cpp8840 const GLuint uniform_index = gl.getUniformBlockIndex(program.m_program_object_id, buffer); in checkBinding()
8849 …gl.getActiveUniformBlockiv(program.m_program_object_id, uniform_index, GL_UNIFORM_BLOCK_BINDING, &… in checkBinding()
8876 const GLuint index = gl.getUniformBlockIndex(program.m_program_object_id, "GOKU"); in checkResults()
8886 gl.getActiveUniformBlockiv(program.m_program_object_id, index, GL_UNIFORM_BLOCK_BINDING, &binding); in checkResults()
9326 const GLuint index = gl.getUniformBlockIndex(program.m_program_object_id, "GOKU"); in prepareUniforms()
9334 gl.uniformBlockBinding(program.m_program_object_id, index, new_binding); in prepareUniforms()
9339 gl.getActiveUniformBlockiv(program.m_program_object_id, index, GL_UNIFORM_BLOCK_BINDING, &binding); in prepareUniforms()
11288 gl.getUniformiv(program.m_program_object_id, uniform_location, &binding); in prepareUniforms()
13134 gl.getUniformiv(program.m_program_object_id, uniform_location, &binding); in prepareUniforms()
17912 , m_program_object_id(0) in program()
[all …]
Dgl3cGPUShader5Tests.hpp81 glw::GLuint m_program_object_id; member
Dgl4cGPUShaderFP64Tests.cpp61 , m_program_object_id(0) in programInfo()
81 if (0 != m_program_object_id) in ~programInfo()
83 gl.deleteProgram(m_program_object_id); in ~programInfo()
84 m_program_object_id = 0; in ~programInfo()
196 m_program_object_id = gl.createProgram(); in build()
202 …gl.transformFeedbackVaryings(m_program_object_id, n_varying_names, varying_names, GL_INTERLEAVED_A… in build()
275 gl.attachShader(m_program_object_id, m_compute_shader_id); in link()
281 gl.attachShader(m_program_object_id, m_fragment_shader_id); in link()
287 gl.attachShader(m_program_object_id, m_geometry_shader_id); in link()
293 gl.attachShader(m_program_object_id, m_tesselation_control_shader_id); in link()
[all …]
Dgl3cTextureSwizzleTests.hpp60 glw::GLuint m_program_object_id; member
Dgl4cGPUShaderFP64Tests.hpp69 glw::GLuint m_program_object_id; member
724 glw::GLuint m_program_object_id; member
Dgl4cShaderSubroutineTests.hpp117 glw::GLuint m_program_object_id; member
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcMultipleContextsTests.cpp685 …es(out_pipeline_id, GL_FRAGMENT_SHADER_BIT, programs[m_fragment_stage_index]->m_program_object_id); in prepareProgramPipeline()
688 …es(out_pipeline_id, GL_GEOMETRY_SHADER_BIT, programs[m_geometry_stage_index]->m_program_object_id); in prepareProgramPipeline()
692 programs[m_tesselation_control_stage_index]->m_program_object_id); in prepareProgramPipeline()
696 programs[m_tesselation_evaluation_stage_index]->m_program_object_id); in prepareProgramPipeline()
699 …Stages(out_pipeline_id, GL_VERTEX_SHADER_BIT, programs[m_vertex_stage_index]->m_program_object_id); in prepareProgramPipeline()
DglcViewportArrayTests.cpp286 , m_program_object_id(0) in program()
373 m_program_object_id = gl.createProgram(); in build()
379 …gl.transformFeedbackVaryings(m_program_object_id, n_varying_names, varying_names, GL_INTERLEAVED_A… in build()
386 gl.programParameteri(m_program_object_id, GL_PROGRAM_SEPARABLE, GL_TRUE); in build()
440 GLint location = gl.getAttribLocation(m_program_object_id, name); in getAttribLocation()
457 index = gl.getSubroutineIndex(m_program_object_id, shader_stage, subroutine_name); in getSubroutineIndex()
482 location = gl.getSubroutineUniformLocation(m_program_object_id, shader_stage, uniform_name); in getSubroutineUniformLocation()
507 location = gl.getUniformLocation(m_program_object_id, uniform_name); in getUniformLocation()
535 gl.attachShader(m_program_object_id, m_compute_shader_id); in link()
541 gl.attachShader(m_program_object_id, m_fragment_shader_id); in link()
[all …]
DglcSeparableProgramsTransformFeedbackTests.cpp229 if (!programs[stageIndex].m_program_object_id) in iterate()
231 …gl.useProgramStages(pipelineId, StageTokens[stageIndex], programs[stageIndex].m_program_object_id); in iterate()
DglcViewportArrayTests.hpp169 glw::GLuint m_program_object_id; member
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp513 , m_program_object_id(0) in GPUShader5TextureGatherOffsetTestBase()
566 if (0 != m_program_object_id) in deinit()
568 gl.deleteProgram(m_program_object_id); in deinit()
570 m_program_object_id = 0; in deinit()
634 m_program_object_id = gl.createProgram(); in initTest()
642 gl.transformFeedbackVaryings(m_program_object_id, (glw::GLsizei)m_captured_varying_names.size(), in initTest()
648 if (false == buildProgram(m_program_object_id, m_fragment_shader_id, 1 /* number of FS parts */, in initTest()
656 gl.useProgram(m_program_object_id); in initTest()
845 gl.getAttribLocation(m_program_object_id, m_vertex_buffer_infos[i].attribute_name); in prepareProgramInput()
876 glw::GLint sampler_location = gl.getUniformLocation(m_program_object_id, m_sampler_uniform_name); in prepareProgramInput()
[all …]
DesextcGPUShader5TextureGatherOffset.hpp114 glw::GLuint m_program_object_id; member in glcts::GPUShader5TextureGatherOffsetTestBase
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp4360 , m_program_object_id(m_invalid_program_object_id)
4370 if (m_invalid_program_object_id != m_program_object_id)
4374 m_gl->deleteProgram(m_program_object_id);
4375 m_program_object_id = m_invalid_program_object_id;
4387 return m_program_object_id;
4476 m_program_object_id = m_gl->createProgram();
4480 if (m_invalid_program_object_id == m_program_object_id)
4494 if (m_invalid_program_object_id == m_program_object_id)
4501 compute_shader->attach(m_program_object_id);
4506 geometry_shader->attach(m_program_object_id);
[all …]
DesextcTextureCubeMapArraySampling.hpp509 glw::GLuint m_program_object_id; member in glcts::TextureCubeMapArraySamplingTest::programDefinition

12