Home
last modified time | relevance | path

Searched refs:gl_shader (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dshaderobj.c56 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, in _mesa_reference_shader()
57 struct gl_shader *sh) in _mesa_reference_shader()
67 struct gl_shader *old = *ptr; in _mesa_reference_shader()
95 _mesa_init_shader(struct gl_context *ctx, struct gl_shader *shader) in _mesa_init_shader()
104 struct gl_shader *
107 struct gl_shader *shader; in _mesa_new_shader()
110 shader = rzalloc(NULL, struct gl_shader); in _mesa_new_shader()
125 _mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh) in _mesa_delete_shader()
137 struct gl_shader *
141 struct gl_shader *sh = (struct gl_shader *) in _mesa_lookup_shader()
[all …]
Dshaderobj.h53 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
54 struct gl_shader *sh);
56 extern struct gl_shader *
59 extern struct gl_shader *
69 _mesa_init_shader(struct gl_context *ctx, struct gl_shader *shader);
71 extern struct gl_shader *
Dshaderapi.c200 struct gl_shader *shader = _mesa_lookup_shader(ctx, name); in is_shader()
212 struct gl_shader *sh; in attach_shader()
239 shProg->Shaders = (struct gl_shader **) in attach_shader()
241 n * sizeof(struct gl_shader *), in attach_shader()
242 (n + 1) * sizeof(struct gl_shader *)); in attach_shader()
258 struct gl_shader *sh; in create_shader()
325 struct gl_shader *sh; in delete_shader()
356 struct gl_shader **newList; in detach_shader()
362 newList = (struct gl_shader **) in detach_shader()
363 malloc((n - 1) * sizeof(struct gl_shader *)); in detach_shader()
[all …]
Dshared.c235 struct gl_shader *sh = (struct gl_shader *) data; in delete_shader_cb()
Ddd.h46 struct gl_shader;
648 struct gl_shader *(*NewShader)(struct gl_context *ctx, GLuint name, GLenum type);
649 void (*DeleteShader)(struct gl_context *ctx, struct gl_shader *shader);
Dmtypes.h2185 struct gl_shader struct
2231 struct gl_shader *builtins_to_link[16]; argument
2303 struct gl_shader **Shaders; /**< List of attached the shaders */
2409 struct gl_shader *_LinkedShaders[MESA_SHADER_TYPES];
/external/mesa3d/src/glsl/
Dlink_functions.cpp34 gl_shader **shader_list, unsigned num_shaders,
39 call_link_visitor(gl_shader_program *prog, gl_shader *linked, in call_link_visitor()
40 gl_shader **shader_list, unsigned num_shaders) in call_link_visitor()
224 gl_shader **shader_list;
236 gl_shader *linked;
250 gl_shader **shader_list, unsigned num_shaders, in find_matching_signature()
279 link_function_calls(gl_shader_program *prog, gl_shader *main, in link_function_calls()
280 gl_shader **shader_list, unsigned num_shaders) in link_function_calls()
Dstandalone_scaffolding.cpp37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, in _mesa_reference_shader()
38 struct gl_shader *sh) in _mesa_reference_shader()
50 struct gl_shader *
53 struct gl_shader *shader; in _mesa_new_shader()
58 shader = rzalloc(NULL, struct gl_shader); in _mesa_new_shader()
Dlinker.h30 link_function_calls(gl_shader_program *prog, gl_shader *main,
31 gl_shader **shader_list, unsigned num_shaders);
34 link_invalidate_variable_locations(gl_shader *sh, enum ir_variable_mode mode,
50 link_assign_uniform_block_offsets(struct gl_shader *shader);
Dlinker.cpp203 link_invalidate_variable_locations(gl_shader *sh, enum ir_variable_mode mode, in link_invalidate_variable_locations()
265 struct gl_shader *shader) in validate_vertex_shader_executable()
339 struct gl_shader *shader) in validate_fragment_shader_executable()
389 struct gl_shader **shader_list, in cross_validate_globals()
598 struct gl_shader *sh = prog->_LinkedShaders[i]; in interstage_cross_validate_uniform_blocks()
632 gl_shader *producer, gl_shader *consumer) in cross_validate_outputs_to_inputs()
752 populate_symbol_table(gl_shader *sh) in populate_symbol_table()
790 remap_variables(ir_instruction *inst, struct gl_shader *target, in remap_variables()
795 remap_visitor(struct gl_shader *target, in remap_variables()
830 struct gl_shader *target; in remap_variables()
[all …]
Dstandalone_scaffolding.h37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
38 struct gl_shader *sh);
40 extern "C" struct gl_shader *
Dmain.cpp141 compile_shader(struct gl_context *ctx, struct gl_shader *shader) in compile_shader()
237 struct gl_shader *, whole_program->NumShaders + 1); in main()
240 struct gl_shader *shader = rzalloc(whole_program, gl_shader); in main()
Dlower_ubo_reference.cpp46 lower_ubo_reference_visitor(struct gl_shader *shader) in lower_ubo_reference_visitor()
58 struct gl_shader *shader;
300 lower_ubo_reference(struct gl_shader *shader, exec_list *instructions) in lower_ubo_reference()
Dtest_optpass.cpp204 struct gl_shader *shader = rzalloc(NULL, struct gl_shader); in test_optpass()
Dlink_uniforms.cpp227 struct gl_shader *shader, in set_and_process()
456 link_update_uniform_buffer_variables(struct gl_shader *shader) in link_update_uniform_buffer_variables()
486 link_assign_uniform_block_offsets(struct gl_shader *shader) in link_assign_uniform_block_offsets()
Dir_optimization.h77 void lower_ubo_reference(struct gl_shader *shader, exec_list *instructions);
Dglsl_parser_extras.h214 struct gl_shader *builtins_to_link[16];
Dlink_uniform_initializers.cpp161 struct gl_shader *shader = prog->_LinkedShaders[i]; in link_set_uniform_initializers()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.h33 struct gl_shader;
36 void _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *sh);
38 GLboolean _mesa_ir_compile_shader(struct gl_context *ctx, struct gl_shader *shader);
44 struct gl_shader *sh,
Dprog_print.h36 struct gl_shader;
113 _mesa_write_shader_to_file(const struct gl_shader *shader);
116 _mesa_append_uniforms_to_file(const struct gl_shader *shader);
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.h33 struct gl_shader;
64 struct gl_shader *st_new_shader(struct gl_context *ctx, GLuint name, GLuint type);
Dst_program.c1117 struct gl_shader *sh; in st_print_shaders()
1232 struct gl_shader *shader = (struct gl_shader *) data; in destroy_shader_program_variants_cb()
/external/mesa3d/src/glsl/glcpp/
Dglcpp.c34 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, in _mesa_reference_shader()
35 struct gl_shader *sh) in _mesa_reference_shader()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.h276 struct gl_shader base;
1160 struct gl_shader *shader,
Dbrw_shader.cpp33 struct gl_shader *

12