Home
last modified time | relevance | path

Searched refs:m_program_id (Results 1 – 22 of 22) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5UniformBlocksArrayIndexing.cpp93 , m_program_id(0) in GPUShader5UniformBlocksArrayIndexing()
125 m_program_id = gl.createProgram(); in initTest()
128 gl.transformFeedbackVaryings(m_program_id, nVaryings, feedbackVaryings, GL_INTERLEAVED_ATTRIBS); in initTest()
137 …if (!buildProgram(m_program_id, m_fragment_shader_id, 1, &m_fragment_shader_code, m_vertex_shader_… in initTest()
172 gl.useProgram(m_program_id); in iterate()
189 blockIndex = gl.getUniformBlockIndex(m_program_id, positionBlock.str().c_str()); in iterate()
192 gl.uniformBlockBinding(m_program_id, blockIndex, index_value); in iterate()
207 glw::GLint index_uniform_location = gl.getUniformLocation(m_program_id, "index"); in iterate()
312 if (m_program_id != 0) in deinit()
314 gl.deleteProgram(m_program_id); in deinit()
[all …]
DesextcGPUShader5AtomicCountersArrayIndexing.cpp71 …ase(context, extParams, name, description), m_buffer_id(0), m_compute_shader_id(0), m_program_id(0) in GPUShader5AtomicCountersArrayIndexing()
90 m_program_id = gl.createProgram(); in initTest()
96 if (!buildProgram(m_program_id, m_compute_shader_id, 1, &m_compute_shader_code)) in initTest()
131 gl.useProgram(m_program_id); in iterate()
182 if (m_program_id != 0) in deinit()
184 gl.deleteProgram(m_program_id); in deinit()
185 m_program_id = 0; in deinit()
DesextcGPUShader5SSBOArrayIndexing.cpp86 , m_program_id(0) in GPUShader5SSBOArrayIndexing()
105 m_program_id = gl.createProgram(); in initTest()
111 if (!buildProgram(m_program_id, m_compute_shader_id, 1, &m_compute_shader_code)) in initTest()
151 gl.useProgram(m_program_id); in iterate()
154 glw::GLint index_location = gl.getUniformLocation(m_program_id, "index"); in iterate()
236 if (m_program_id != 0) in deinit()
238 gl.deleteProgram(m_program_id); in deinit()
240 m_program_id = 0; in deinit()
DesextcGPUShader5PreciseQualifier.cpp103 , m_program_id(0) in GPUShader5PreciseQualifier()
127 m_program_id = gl.createProgram(); in initTest()
132 gl.transformFeedbackVaryings(m_program_id, 1, feedback_varyings, GL_INTERLEAVED_ATTRIBS); in initTest()
140 …if (!buildProgram(m_program_id, m_fragment_shader_id, 1, &m_fragment_shader_code, m_vertex_shader_… in initTest()
179 gl.useProgram(m_program_id); in initTest()
211 if (m_program_id != 0) in deinit()
213 gl.deleteProgram(m_program_id); in deinit()
215 m_program_id = 0; in deinit()
DesextcGPUShader5ImagesArrayIndexing.cpp54 , m_program_id(0) in GPUShader5ImagesArrayIndexing()
106 m_program_id = gl.createProgram(); in initTest()
114 if (!buildProgram(m_program_id, m_compute_shader_id, 1, &compute_shader_code_ptr)) in initTest()
173 gl.useProgram(m_program_id); in iterate()
270 if (m_program_id != 0) in deinit()
272 gl.deleteProgram(m_program_id); in deinit()
274 m_program_id = 0; in deinit()
DesextcGPUShader5SSBOArrayIndexing.hpp110 glw::GLuint m_program_id; member in glcts::GPUShader5SSBOArrayIndexing
DesextcGPUShader5AtomicCountersArrayIndexing.hpp89 glw::GLuint m_program_id; member in glcts::GPUShader5AtomicCountersArrayIndexing
DesextcGPUShader5UniformBlocksArrayIndexing.hpp121 glw::GLuint m_program_id; member in glcts::GPUShader5UniformBlocksArrayIndexing
DesextcGPUShader5ImagesArrayIndexing.hpp119 glw::GLuint m_program_id; member in glcts::GPUShader5ImagesArrayIndexing
DesextcGPUShader5PreciseQualifier.hpp165 glw::GLuint m_program_id; member in glcts::GPUShader5PreciseQualifier
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderPrimitiveCounter.cpp457 , m_program_id(0) in GeometryShaderPrimitiveCounter()
509 m_program_id = gl.createProgram(); in createAndBuildProgramWithFeedback()
516 gl.transformFeedbackVaryings(m_program_id, m_nrVaryings, feedbackVaryings, GL_INTERLEAVED_ATTRIBS); in createAndBuildProgramWithFeedback()
559 …if (!buildProgram(m_program_id, m_fragment_shader_id, 1, &m_fragment_shader_code, m_geometry_shade… in createAndBuildProgramWithFeedback()
579 if (m_program_id != 0) in deinit()
581 gl.deleteProgram(m_program_id); in deinit()
628 gl.useProgram(m_program_id); in drawAndGetFeedback()
839 vertex_position_attribute_location = gl.getAttribLocation(m_program_id, "vertex_position"); in prepareBufferObjects()
1147 , m_program_id(0) in GeometryShaderPrimitiveIDFromFragmentShader()
1168 if (m_program_id != 0) in deinit()
[all …]
DesextcGeometryShaderConstantVariables.cpp111 , m_program_id(0) in GeometryShaderConstantVariables()
152 m_program_id = gl.createProgram(); in initTest()
154 gl.transformFeedbackVaryings(m_program_id, n_varyings, m_feedbackVaryings, GL_INTERLEAVED_ATTRIBS); in initTest()
164 …if (!buildProgram(m_program_id, m_fragment_shader_id, 1, &m_fragment_shader_code, m_geometry_shade… in initTest()
201 gl.useProgram(m_program_id); in iterate()
541 if (m_program_id != 0) in deinit()
543 gl.deleteProgram(m_program_id); in deinit()
545 m_program_id = 0; in deinit()
DesextcGeometryShaderPrimitiveCounter.hpp137 glw::GLuint m_program_id; member in glcts::GeometryShaderPrimitiveCounter
254 glw::GLuint m_program_id; member in glcts::GeometryShaderPrimitiveIDFromFragmentShader
DesextcGeometryShaderConstantVariables.hpp116 glw::GLuint m_program_id; member in glcts::GeometryShaderConstantVariables
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayStencilAttachments.cpp157 , m_program_id(0) in TextureCubeMapArrayStencilAttachments()
334 m_program_id = gl.createProgram(); in buildAndUseProgram()
361 …if (!buildProgram(m_program_id, m_fragment_shader_id, 1, &m_fragment_shader_code, m_geometry_shade… in buildAndUseProgram()
370 …if (!buildProgram(m_program_id, m_fragment_shader_id, 1, &m_fragment_shader_code, m_vertex_shader_… in buildAndUseProgram()
380 gl.useProgram(m_program_id); in buildAndUseProgram()
383 posAttrib = gl.getAttribLocation(m_program_id, "vertex_position"); in buildAndUseProgram()
448 if (m_program_id != 0) in cleanAfterTest()
450 gl.deleteProgram(m_program_id); in cleanAfterTest()
452 m_program_id = 0; in cleanAfterTest()
DesextcTextureCubeMapArrayStencilAttachments.hpp134 glw::GLuint m_program_id; member in glcts::TextureCubeMapArrayStencilAttachments
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp1306 GLuint m_program_id; member in VertexAttrib64Bit::LimitTest::programInfo
1434 : m_fragment_shader_id(0), m_program_id(0), m_vertex_shader_id(0), gl(gl_functions) in programInfo()
1444 if (0 != m_program_id) in ~programInfo()
1446 gl.deleteProgram(m_program_id); in ~programInfo()
1447 m_program_id = 0; in ~programInfo()
2288 program_info.m_program_id = gl.createProgram(); in prepareProgram()
2297 gl.transformFeedbackVaryings(program_info.m_program_id, m_n_varyings, &temp_varying_name, in prepareProgram()
2302 BuildProgram(fragment_shader_code, program_info.m_program_id, vertex_shader_code.c_str(), in prepareProgram()
2756 if (false == testProgram(iteration, _no_array__no_location______regular.m_program_id, false)) in testIteration()
2763 if (false == testProgram(iteration, use_array__no_location______regular.m_program_id, true)) in testIteration()
[all …]
Dgl4cShaderImageLoadStoreTests.cpp6799 GLuint m_program_id; member in gl4cts::__anonea4330b80111::ImageLoadStoreDataAlignmentTest
6809 , m_program_id(0) in ImageLoadStoreDataAlignmentTest()
6896 m_program_id = BuildProgram(vertex_shader_code, 0 /* src_tcs */, 0 /* src_tes */, 0 /*src_gs */, in Setup()
6916 if (0 != m_program_id) in Cleanup()
6918 glDeleteProgram(m_program_id); in Cleanup()
6919 m_program_id = 0; in Cleanup()
7091 glUseProgram(m_program_id); in Copy2DR8UITexture()
7103 position_attribute_location = glGetAttribLocation(m_program_id, position_attribute_name); in Copy2DR8UITexture()
7119 …BindTextureToImage(m_program_id, destination_texture_id, 0 /* image_unit */, destination_image_uni… in Copy2DR8UITexture()
7120 …BindTextureToImage(m_program_id, source_texture_id, 1 /* image_unit */, source_image_uniform_name); in Copy2DR8UITexture()
[all …]
Dgl3cTransformFeedbackTests.cpp4717 , m_program_id(0) in DrawXFBFeedback()
4800m_program_id = gl3cts::TransformFeedback::Utilities::buildProgram(gl, m_context.getTestContext().g… in prepareAndBind()
4804 if (0 == m_program_id) in prepareAndBind()
4809 gl.useProgram(m_program_id); in prepareAndBind()
4839 glw::GLuint position_location = gl.getAttribLocation(m_program_id, "position"); in prepareAndBind()
4939 if (m_program_id) in clean()
4941 gl.deleteProgram(m_program_id); in clean()
4943 m_program_id = 0; in clean()
5010 , m_program_id(0) in CaptureSpecialInterleaved()
5089 m_program_id = gl3cts::TransformFeedback::Utilities::buildProgram( in prepareAndBind()
[all …]
Dgl3cTransformFeedbackTests.hpp999 glw::GLuint m_program_id; member in gl3cts::TransformFeedback::DrawXFBFeedback
1122 glw::GLuint m_program_id; member in gl3cts::TransformFeedback::CaptureSpecialInterleaved
Dgl4cShaderSubroutineTests.hpp1256 glw::GLuint m_program_id; member in gl4cts::ShaderSubroutine::NegativeTest7
Dgl4cShaderSubroutineTests.cpp12087 , m_program_id(0) in NegativeTest7()
12100 if (m_program_id != 0) in deinit()
12102 gl.deleteProgram(m_program_id); in deinit()
12104 m_program_id = 0; in deinit()
12288 1 /* n_varyings */, &m_vertex_shader_id, 0, 0, 0, 0, &m_program_id)) in test()