Home
last modified time | relevance | path

Searched refs:sh_prog (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dprogram_binary.c172 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 …]
Dprogram_binary.h38 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,
Dshaderapi.h71 _mesa_link_program(struct gl_context *ctx, struct gl_shader_program *sh_prog);
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_link.cpp47 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()
Dbrw_program.h96 struct gl_shader_program *sh_prog,
123 struct gl_shader_program *sh_prog,
130 struct gl_shader_program *sh_prog,
Dbrw_program_binary.c248 struct gl_shader_program *sh_prog, in serialize_intel_part() argument
254 brw_populate_default_key(brw->screen->compiler, &key, sh_prog, prog); in serialize_intel_part()
280 struct gl_shader_program *sh_prog, in brw_serialize_program_binary() argument
300 serialize_intel_part(&writer, ctx, sh_prog, prog); in brw_serialize_program_binary()
Dbrw_tes.c189 struct gl_shader_program *sh_prog, in brw_tes_populate_default_key() argument
202 if (sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]) { in brw_tes_populate_default_key()
204 sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]->Program; in brw_tes_populate_default_key()
Dbrw_tcs.c241 struct gl_shader_program *sh_prog, in brw_tcs_populate_default_key() argument
247 sh_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in brw_tcs_populate_default_key()
Dbrw_program.c845 struct gl_shader_program *sh_prog, in brw_populate_default_key() argument
853 brw_tcs_populate_default_key(compiler, &prog_key->tcs, sh_prog, prog); in brw_populate_default_key()
856 brw_tes_populate_default_key(compiler, &prog_key->tes, sh_prog, prog); in brw_populate_default_key()
Dbrw_context.h1558 struct gl_shader_program *sh_prog,
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.c167 struct gl_shader_program *sh_prog) in _mesa_meta_link_program_with_debug() argument
169 _mesa_link_program(ctx, sh_prog); in _mesa_meta_link_program_with_debug()
171 if (!sh_prog->data->LinkStatus) { in _mesa_meta_link_program_with_debug()
173 sh_prog->data->InfoLog); in _mesa_meta_link_program_with_debug()
179 struct gl_shader_program *sh_prog) in _mesa_meta_use_program() argument
185 _mesa_use_shader_program(ctx, sh_prog); in _mesa_meta_use_program()
195 struct gl_shader_program *sh_prog; in _mesa_meta_compile_and_link_program() local
198 sh_prog = _mesa_new_shader_program(id); in _mesa_meta_compile_and_link_program()
199 sh_prog->Label = strdup(name); in _mesa_meta_compile_and_link_program()
200 sh_prog->NumShaders = 2; in _mesa_meta_compile_and_link_program()
[all …]
Dmeta.h483 struct gl_shader_program *sh_prog);
494 struct gl_shader_program *sh_prog);