Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dshaderobj.c9 void _mesa_reference_shader(const void * ctx, struct gl_shader **ptr, in _mesa_reference_shader()
10 struct gl_shader *sh) in _mesa_reference_shader()
15 struct gl_shader * _mesa_new_shader(const void * ctx, GLuint name, GLenum type) in _mesa_new_shader()
18 …struct gl_shader * shader = (struct gl_shader *)_hieralloc_zero(ctx, sizeof(struct gl_shader), "zr… in _mesa_new_shader()
27 void _mesa_delete_shader(const void * ctx, struct gl_shader *shader) in _mesa_delete_shader()
Dshaderobj.h50 _mesa_reference_shader(const void * ctx, struct gl_shader **ptr,
51 struct gl_shader *sh);
68 extern struct gl_shader *
71 extern struct gl_shader *
72 _mesa_delete_shader(const void * ctx, struct gl_shader * shader);
Dmtypes.h2062 struct gl_shader struct
2082 struct gl_shader *builtins_to_link[16]; argument
2103 struct gl_shader **Shaders; /**< List of attached the shaders */ argument
2142 struct gl_shader *_LinkedShaders[MESA_SHADER_TYPES];
/external/mesa3d/src/glsl/
Dlink_functions.cpp38 gl_shader **shader_list, unsigned num_shaders);
42 call_link_visitor(gl_shader_program *prog, gl_shader *linked, in call_link_visitor()
43 gl_shader **shader_list, unsigned num_shaders) in call_link_visitor()
204 gl_shader **shader_list;
216 gl_shader *linked;
230 gl_shader **shader_list, unsigned num_shaders) in find_matching_signature()
251 link_function_calls(gl_shader_program *prog, gl_shader *main, in link_function_calls()
252 gl_shader **shader_list, unsigned num_shaders) in link_function_calls()
Dlinker.cpp190 invalidate_variable_locations(gl_shader *sh, enum ir_variable_mode mode, in invalidate_variable_locations()
249 struct gl_shader *shader) in validate_vertex_shader_executable()
273 struct gl_shader *shader) in validate_fragment_shader_executable()
322 struct gl_shader **shader_list, in cross_validate_globals()
453 gl_shader *producer, gl_shader *consumer) in cross_validate_outputs_to_inputs()
574 populate_symbol_table(gl_shader *sh) in populate_symbol_table()
612 remap_variables(ir_instruction *inst, struct gl_shader *target, in remap_variables()
617 remap_visitor(struct gl_shader *target, in remap_variables()
653 struct gl_shader *target; in remap_variables()
688 bool make_copies, gl_shader *target) in move_non_declarations()
[all …]
Dlinker.h32 link_function_calls(gl_shader_program *prog, gl_shader *main,
33 gl_shader **shader_list, unsigned num_shaders);
Dglsl_compiler.cpp150 compile_shader(struct gl_context *ctx, struct gl_shader *shader) in compile_shader()
243 whole_program->Shaders = (struct gl_shader **) in main()
245 struct gl_shader *, whole_program->NumShaders + 1); in main()
248 struct gl_shader *shader = hieralloc_zero(whole_program, gl_shader); in main()
Dbuiltin_function.cpp32 gl_shader *
37 gl_shader *sh = _mesa_new_shader(mem_ctx, 0, target); in read_builtins()
13554 static gl_shader *builtin_profiles[12];
13574 gl_shader *sh = builtin_profiles[profile_index]; in _mesa_read_profile()
Dmain.cpp49 compile_shader(const struct gl_context *ctx, struct gl_shader *shader) in compile_shader()
Dglsl_parser_extras.h143 struct gl_shader *builtins_to_link[16];
/external/mesa3d/src/pixelflinger2/
Dshader.cpp130 extern "C" void compile_shader(const struct gl_context *ctx, struct gl_shader *shader);
132 gl_shader * GGLShaderCreate(GLenum type) in GGLShaderCreate()
137 static gl_shader * ShaderCreate(const GGLInterface * iface, GLenum type) in ShaderCreate()
144 gl_shader * shader = _mesa_new_shader(NULL, 0, type); in ShaderCreate()
163 GLboolean GGLShaderCompile(gl_shader * shader, const char * glsl, const char ** infoLog) in GGLShaderCompile()
176 static GLboolean ShaderCompile(const GGLInterface * iface, gl_shader * shader, in ShaderCompile()
188 void GGLShaderDelete(gl_shader * shader) in GGLShaderDelete()
199 static void ShaderDelete(const GGLInterface * iface, gl_shader * shader) in ShaderDelete()
231 unsigned GGLShaderAttach(gl_shader_program * program, gl_shader * shader) in GGLShaderAttach()
237 program->Shaders = (gl_shader **)hieralloc_realloc in GGLShaderAttach()
[all …]
/external/mesa3d/src/mesa/program/
Dir_to_mesa.h31 void _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *sh);
33 GLboolean _mesa_ir_compile_shader(struct gl_context *ctx, struct gl_shader *shader);
/external/mesa3d/src/glsl/glcpp/
Dglcpp.c37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, in _mesa_reference_shader()
38 struct gl_shader *sh) in _mesa_reference_shader()
/external/mesa3d/include/pixelflinger2/
Dpixelflinger2_interface.h26 typedef struct gl_shader gl_shader_t;