Home
last modified time | relevance | path

Searched refs:program_id (Results 1 – 25 of 35) sorted by relevance

12

/external/deqp/external/openglcts/modules/gl/
Dgl3cClipDistance.cpp245 if (program.ProgramStatus().program_id == 0) in MaxClipDistancesValueInVertexShaderTest()
328 if (program.ProgramStatus().program_id == 0) in MaxClipDistancesValueInFragmentShaderTest()
416 if (program.ProgramStatus().program_id == 0) in ClipDistancesValuePassing()
617 if (program.ProgramStatus().program_id == GL_NONE) in iterate()
1044 if (program.ProgramStatus().program_id) in testClipVertexBuildingErrors()
1070 if (program.ProgramStatus().program_id) in testMaxClipDistancesBuildingErrors()
1097 if (program.ProgramStatus().program_id) in testClipDistancesRedeclarationBuildingErrors()
1184 m_program_status.program_id = 0; in Program()
1223 if (m_program_status.program_id) in ~Program()
1225 m_gl.deleteProgram(m_program_status.program_id); in ~Program()
[all …]
Dgl4cShaderSubroutineTests.hpp428 bool checkProgramStageiv(glw::GLuint program_id, glw::GLenum pname, glw::GLint expected) const;
430 …bool checkProgramResourceiv(glw::GLuint program_id, glw::GLenum program_interface, glw::GLenum pro…
433 …bool checkProgramInterfaceiv(glw::GLuint program_id, glw::GLenum program_interface, glw::GLenum pn…
436 bool checkActiveSubroutineUniformiv(glw::GLuint program_id, glw::GLuint index, glw::GLenum pname,
439 glw::GLuint getProgramResourceIndex(glw::GLuint program_id, glw::GLenum program_interface,
442 glw::GLuint getSubroutineIndex(glw::GLuint program_id, const glw::GLchar* subroutine_name,
445 glw::GLint getSubroutineUniformLocation(glw::GLuint program_id, const glw::GLchar* uniform_name,
448 bool inspectProgramStageiv(glw::GLuint program_id) const;
449 bool inspectProgramInterfaceiv(glw::GLuint program_id) const;
451 bool inspectProgramResourceiv(glw::GLuint program_id, const glw::GLchar** subroutine_names,
[all …]
Dgl4cStencilTexturingTests.cpp660 void FunctionalTest::dispatch(GLuint program_id, bool is_stencil, GLuint dst_texture_id, GLuint src… in dispatch() argument
673 gl.useProgram(program_id); in dispatch()
677 uni_image_loc = gl.getUniformLocation(program_id, "uni_image"); in dispatch()
688 uni_sampler_loc = gl.getUniformLocation(program_id, "uni_sampler"); in dispatch()
715 void FunctionalTest::draw(GLuint program_id, GLuint dst_texture_id, GLuint src_texture_id) in draw() argument
749 gl.useProgram(program_id); in draw()
753 uni_sampler_loc = gl.getUniformLocation(program_id, "uni_sampler"); in draw()
864 GLuint program_id = 0; in prepareProgram() local
885program_id = Utils::createAndBuildProgram(m_context, cs_code.c_str(), 0 /* fs_code */, 0 /* gs_cod… in prepareProgram()
927 program_id = in prepareProgram()
[all …]
Dgl4cVertexAttrib64BitTest.cpp59 …void BuildProgram(const GLchar* fragment_shader_code, GLuint& program_id, const GLchar* vertex_sha…
94 void Base::BuildProgram(const GLchar* fragment_shader_code, GLuint& program_id, const GLchar* verte… in BuildProgram() argument
106 gl.attachShader(program_id, out_fragment_shader_id); in BuildProgram()
109 gl.attachShader(program_id, out_vertex_shader_id); in BuildProgram()
112 LinkProgram(program_id); in BuildProgram()
123 void Base::BuildProgramVSOnly(GLuint program_id, const GLchar* vertex_shader_code, GLuint& out_vert… in BuildProgramVSOnly() argument
130 gl.attachShader(program_id, out_vertex_shader_id); in BuildProgramVSOnly()
133 LinkProgram(program_id); in BuildProgramVSOnly()
1363 GLuint program_id, bool use_arrays, bool use_vertex_array) const;
1376 void prepareVertexArray(_iteration iteration, _attributeType attribute_type, GLuint program_id,
[all …]
Dgl4cStencilTexturingTests.hpp62 …void dispatch(glw::GLuint program_id, bool is_stencil, glw::GLuint dst_texture_id, glw::GLuint src…
64 void draw(glw::GLuint program_id, glw::GLuint dst_texture_id, glw::GLuint src_texture_id);
Dgl3cClipDistance.hpp78 glw::GLuint program_id; member
401 if (program.ProgramStatus().program_id) in useAsShaderInput()
403 …glw::GLint location = m_gl.getAttribLocation(program.ProgramStatus().program_id, input_attribute_n… in useAsShaderInput()
Dgl4cShaderSubroutineTests.cpp3043 bool FunctionalTest3_4::checkProgramStageiv(glw::GLuint program_id, glw::GLenum pname, glw::GLint e… in checkProgramStageiv() argument
3048 gl.getProgramStageiv(program_id, GL_VERTEX_SHADER, pname, &value); in checkProgramStageiv()
3077 bool FunctionalTest3_4::checkProgramResourceiv(GLuint program_id, GLenum program_interface, GLenum … in checkProgramResourceiv() argument
3081 GLuint index = gl.getProgramResourceIndex(program_id, program_interface, resource_name); in checkProgramResourceiv()
3089 gl.getProgramResourceiv(program_id, program_interface, index, 1, &pname, 1, 0, &value); in checkProgramResourceiv()
3119 bool FunctionalTest3_4::checkProgramInterfaceiv(GLuint program_id, GLenum program_interface, GLenum… in checkProgramInterfaceiv() argument
3125 gl.getProgramInterfaceiv(program_id, program_interface, pname, &value); in checkProgramInterfaceiv()
3154 bool FunctionalTest3_4::checkActiveSubroutineUniformiv(GLuint program_id, GLuint index, GLenum pnam… in checkActiveSubroutineUniformiv() argument
3160 gl.getActiveSubroutineUniformiv(program_id, GL_VERTEX_SHADER, index, pname, &value); in checkActiveSubroutineUniformiv()
3188 GLuint FunctionalTest3_4::getProgramResourceIndex(GLuint program_id, GLenum program_interface, in getProgramResourceIndex() argument
[all …]
Dgl3cTransformFeedbackTests.hpp944 void bindBOForDraw(glw::GLuint program_id, glw::GLenum capture_mode, glw::GLuint bo_id);
945 void useProgram(glw::GLuint program_id);
946 …void useColour(glw::GLuint program_id, glw::GLfloat r, glw::GLfloat g, glw::GLfloat b, glw::GLfloa…
947 void useGeometrySet(glw::GLuint program_id, bool invert_sign);
1076 void useProgram(glw::GLuint program_id);
Dgl4cShaderImageLoadStoreTests.cpp7009 …void BindTextureToImage(GLuint program_id, GLuint texture_id, GLuint image_unit, const char* unifo… in BindTextureToImage() argument
7016 image_uniform_location = glGetUniformLocation(program_id, uniform_name); in BindTextureToImage()
7509 void BindTextureToImage(GLuint program_id, GLuint texture_id, GLuint image_unit, GLuint layer, in BindTextureToImage() argument
7516 image_uniform_location = glGetUniformLocation(program_id, uniform_name); in BindTextureToImage()
8175 …void BindTextureToImage(GLuint program_id, GLuint texture_id, GLint level, GLuint image_unit, cons… in BindTextureToImage() argument
8182 image_uniform_location = glGetUniformLocation(program_id, uniform_name); in BindTextureToImage()
9557 GLuint program_id = 0; in testShaderStage() local
9577 program_id = m_program_to_test_fs_stage_id; in testShaderStage()
9582 program_id = m_program_to_test_gs_stage_id; in testShaderStage()
9588 program_id = m_program_to_test_tcs_stage_id; in testShaderStage()
[all …]
Dgl3cTransformFeedbackTests.cpp4377 void gl3cts::TransformFeedback::DrawXFB::bindBOForDraw(glw::GLuint program_id, glw::GLenum capture_… in bindBOForDraw() argument
4387 glw::GLuint position_location = gl.getAttribLocation(program_id, "position"); in bindBOForDraw()
4388 glw::GLuint color_location = gl.getAttribLocation(program_id, "color"); in bindBOForDraw()
4412 void gl3cts::TransformFeedback::DrawXFB::useProgram(glw::GLuint program_id) in useProgram() argument
4417 gl.useProgram(program_id); in useProgram()
4421 void gl3cts::TransformFeedback::DrawXFB::useColour(glw::GLuint program_id, glw::GLfloat r, glw::GLf… in useColour() argument
4427 glw::GLint location = gl.getUniformLocation(program_id, "color"); in useColour()
4434 void gl3cts::TransformFeedback::DrawXFB::useGeometrySet(glw::GLuint program_id, bool invert_sign) in useGeometrySet() argument
4439 glw::GLint location = gl.getUniformLocation(program_id, "invert_sign"); in useGeometrySet()
5467 void gl3cts::TransformFeedback::DrawXFBStream::useProgram(glw::GLuint program_id) in useProgram() argument
[all …]
Dgl4cGPUShaderFP64Tests.hpp485 …void inspectProgram(glw::GLuint program_id, glw::GLint n_uniforms, const uniformTypeDetails& unifo…
518 void testBegin(glw::GLuint program_id, shaderStage shader_stage) const;
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp367 …oid setupSampler(glw::GLuint texture_unit, const glw::GLchar* sampler_name, glw::GLuint program_id,
563 const bufferCollection& buffers, glw::GLuint program_id);
567 glw::GLuint program_id);
577 glw::GLuint checkUniformAndResourceApi(glw::GLuint program_id, const glw::GLchar* sampler_name,
582 void dispatch(glw::GLuint program_id, glw::GLuint width, glw::GLuint height);
584 …void draw(glw::GLuint program_id, glw::GLenum m_primitive_type, glw::GLuint n_vertices, glw::GLenu…
662 glw::GLuint program_id);
665 const bufferCollection& buffers, glw::GLuint program_id);
DesextcTextureCubeMapArraySampling.cpp1769 glw::GLuint TextureCubeMapArraySamplingTest::checkUniformAndResourceApi(glw::GLuint program_id, in checkUniformAndResourceApi() argument
1787 gl.getUniformIndices(program_id, 1, &sampler_name_p, &index_getActiveUniform); in checkUniformAndResourceApi()
1796 gl.getActiveUniform(program_id, index_getActiveUniform, 0, 0, &size, &type_getActiveUniform, name); in checkUniformAndResourceApi()
1800 index_getProgramResourceiv = gl.getProgramResourceIndex(program_id, GL_UNIFORM, sampler_name_p); in checkUniformAndResourceApi()
1809 gl.getProgramResourceiv(program_id, GL_UNIFORM, index_getProgramResourceiv, 1, &props, 1, 0, in checkUniformAndResourceApi()
1867 void TextureCubeMapArraySamplingTest::dispatch(glw::GLuint program_id, glw::GLuint width, glw::GLui… in dispatch() argument
1869 (void)program_id; in dispatch()
1884 void TextureCubeMapArraySamplingTest::draw(glw::GLuint program_id, glw::GLenum primitive_type, glw:… in draw() argument
1887 (void)program_id; in draw()
3527 const bufferCollection& buffers, glw::GLuint program_id) in setupSharedStorageBuffer() argument
[all …]
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_program.c140 so->program_id = vc5->next_uncompiled_program_id++; in vc5_shader_state_create()
157 so->program_id); in vc5_shader_state_create()
186 so->program_id); in vc5_shader_state_create()
217 int program_id = shader_state->program_id; in vc5_get_compiled_shader() local
230 program_id, variant_id, in vc5_get_compiled_shader()
239 program_id, variant_id, in vc5_get_compiled_shader()
Dvc5_context.h127 uint32_t program_id; member
/external/mesa3d/src/broadcom/compiler/
Dvir.c525 int program_id, int variant_id) in vir_compile_init() argument
532 c->program_id = program_id; in vir_compile_init()
634 c->program_id, c->variant_id, in v3d_set_prog_data_ubo()
671 int program_id, int variant_id, in v3d_compile_vs() argument
675 program_id, variant_id); in v3d_compile_vs()
744 int program_id, int variant_id, in v3d_compile_fs() argument
748 program_id, variant_id); in v3d_compile_fs()
Dvir_to_qpu.c305 c->program_id, c->variant_id); in v3d_dump_qpu()
339 c->program_id, c->variant_id, in v3d_vir_to_qpu()
Dv3d_compiler.h530 uint32_t program_id; member
618 int program_id, int variant_id,
625 int program_id, int variant_id,
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.h117 uint32_t program_id; member
154 uint64_t program_id; member
Dvc4_program.c2227 c->program_id = key->shader_state->program_id; in vc4_shader_ntq()
2340 c->program_id, c->variant_id, in vc4_shader_ntq()
2347 c->program_id, c->variant_id); in vc4_shader_ntq()
2381 c->program_id, c->variant_id); in vc4_shader_ntq()
2395 c->program_id, c->variant_id); in vc4_shader_ntq()
2406 c->program_id, c->variant_id, in vc4_shader_ntq()
2410 c->program_id, c->variant_id, in vc4_shader_ntq()
2428 so->program_id = vc4->next_uncompiled_program_id++; in vc4_shader_state_create()
2445 so->program_id); in vc4_shader_state_create()
2471 so->program_id); in vc4_shader_state_create()
[all …]
Dvc4_qpu_emit.c36 c->program_id, c->variant_id); in vc4_dump_program()
685 c->program_id, c->variant_id, in vc4_generate_code()
Dvc4_qir_live_variables.c350 c->program_id, c->variant_id, in qir_calculate_live_intervals()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.h90 unsigned program_id; member
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRendering.cpp440 glw::GLuint program_id = 0; in iterate() local
447 program_id = m_tests[n_current_test].po_id; in iterate()
458 gl.useProgram(program_id); in iterate()
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.hpp173 static void Attach(const glw::Functions& gl, glw::GLuint program_id, glw::GLuint shader_id);

12