/external/mesa3d/src/mesa/main/ |
D | program_binary.c | 172 struct gl_shader_program *sh_prog) in write_program_payload() argument 175 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in write_program_payload() 177 ctx->Driver.ProgramBinarySerializeDriverBlob(ctx, sh_prog, in write_program_payload() 181 blob_write_uint32(blob, sh_prog->SeparateShader); in write_program_payload() 183 serialize_glsl_program(blob, ctx, sh_prog); in write_program_payload() 186 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in write_program_payload() 188 struct gl_program *prog = sh_prog->_LinkedShaders[stage]->Program; in write_program_payload() 198 GLenum binary_format, struct gl_shader_program *sh_prog) in read_program_payload() argument 200 sh_prog->SeparateShader = blob_read_uint32(blob); in read_program_payload() 202 if (!deserialize_glsl_program(blob, ctx, sh_prog)) in read_program_payload() [all …]
|
D | program_binary.h | 38 struct gl_shader_program *sh_prog, 43 struct gl_shader_program *sh_prog, 48 _mesa_program_binary(struct gl_context *ctx, struct gl_shader_program *sh_prog,
|
D | shaderapi.h | 71 _mesa_link_program(struct gl_context *ctx, struct gl_shader_program *sh_prog);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_link.cpp | 47 struct gl_shader_program *sh_prog) in brw_shader_precompile() argument 49 struct gl_linked_shader *vs = sh_prog->_LinkedShaders[MESA_SHADER_VERTEX]; in brw_shader_precompile() 50 struct gl_linked_shader *tcs = sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]; in brw_shader_precompile() 51 struct gl_linked_shader *tes = sh_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in brw_shader_precompile() 52 struct gl_linked_shader *gs = sh_prog->_LinkedShaders[MESA_SHADER_GEOMETRY]; in brw_shader_precompile() 53 struct gl_linked_shader *fs = sh_prog->_LinkedShaders[MESA_SHADER_FRAGMENT]; in brw_shader_precompile() 54 struct gl_linked_shader *cs = sh_prog->_LinkedShaders[MESA_SHADER_COMPUTE]; in brw_shader_precompile() 62 if (tes && !brw_tes_precompile(ctx, sh_prog, tes->Program)) in brw_shader_precompile() 65 if (tcs && !brw_tcs_precompile(ctx, sh_prog, tcs->Program)) in brw_shader_precompile()
|
D | brw_program.h | 96 struct gl_shader_program *sh_prog, 123 struct gl_shader_program *sh_prog, 130 struct gl_shader_program *sh_prog,
|
D | brw_program_binary.c | 248 struct gl_shader_program *sh_prog, in serialize_gen_part() argument 254 brw_populate_default_key(brw->screen->compiler, &key, sh_prog, prog); in serialize_gen_part() 280 struct gl_shader_program *sh_prog, in brw_serialize_program_binary() argument 300 serialize_gen_part(&writer, ctx, sh_prog, prog); in brw_serialize_program_binary()
|
D | brw_tes.c | 187 struct gl_shader_program *sh_prog, in brw_tes_populate_default_key() argument 200 if (sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]) { in brw_tes_populate_default_key() 202 sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]->Program; in brw_tes_populate_default_key()
|
D | brw_tcs.c | 239 struct gl_shader_program *sh_prog, in brw_tcs_populate_default_key() argument 245 sh_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in brw_tcs_populate_default_key()
|
D | brw_program.c | 929 struct gl_shader_program *sh_prog, in brw_populate_default_key() argument 937 brw_tcs_populate_default_key(compiler, &prog_key->tcs, sh_prog, prog); in brw_populate_default_key() 940 brw_tes_populate_default_key(compiler, &prog_key->tes, sh_prog, prog); in brw_populate_default_key()
|
D | brw_context.h | 1564 struct gl_shader_program *sh_prog,
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 166 struct gl_shader_program *sh_prog) in _mesa_meta_link_program_with_debug() argument 168 _mesa_link_program(ctx, sh_prog); in _mesa_meta_link_program_with_debug() 170 if (!sh_prog->data->LinkStatus) { in _mesa_meta_link_program_with_debug() 172 sh_prog->data->InfoLog); in _mesa_meta_link_program_with_debug() 178 struct gl_shader_program *sh_prog) in _mesa_meta_use_program() argument 184 _mesa_use_shader_program(ctx, sh_prog); in _mesa_meta_use_program() 194 struct gl_shader_program *sh_prog; in _mesa_meta_compile_and_link_program() local 197 sh_prog = _mesa_new_shader_program(id); in _mesa_meta_compile_and_link_program() 198 sh_prog->Label = strdup(name); in _mesa_meta_compile_and_link_program() 199 sh_prog->NumShaders = 2; in _mesa_meta_compile_and_link_program() [all …]
|
D | meta.h | 483 struct gl_shader_program *sh_prog); 494 struct gl_shader_program *sh_prog);
|