Searched refs:prog (Results 1 - 25 of 934) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dgl_nir_linker.h35 struct gl_shader_program *prog);
38 struct gl_shader_program *prog);
41 struct gl_shader_program *prog);
44 struct gl_shader_program *prog);
47 struct gl_shader_program *prog);
H A Dgl_nir_linker.c38 struct gl_shader_program *prog)
41 if (prog->data->ProgramResourceList) {
42 ralloc_free(prog->data->ProgramResourceList);
43 prog->data->ProgramResourceList = NULL;
44 prog->data->NumProgramResourceList = 0;
54 for (unsigned i = 0; i < prog->data->NumUniformStorage; i++) {
55 struct gl_uniform_storage *uniform = &prog->data->UniformStorage[i];
61 if (!link_util_add_program_resource(prog, resource_set, GL_UNIFORM, uniform,
37 nir_build_program_resource_list(struct gl_context * ctx,struct gl_shader_program * prog) argument
H A Dshader_cache.h34 struct gl_shader_program *prog);
38 struct gl_shader_program *prog);
H A Dlinker_util.h48 linker_error(struct gl_shader_program *prog, const char *fmt, ...);
51 linker_warning(struct gl_shader_program *prog, const char *fmt, ...);
54 link_util_add_program_resource(struct gl_shader_program *prog,
59 link_util_find_empty_block(struct gl_shader_program *prog,
63 link_util_update_empty_uniform_locations(struct gl_shader_program *prog);
H A Dshader_cache.cpp71 compile_shaders(struct gl_context *ctx, struct gl_shader_program *prog) { argument
72 for (unsigned i = 0; i < prog->NumShaders; i++) {
73 _mesa_glsl_compile_shader(ctx, prog->Shaders[i], false, false, true);
86 struct gl_shader_program *prog)
98 static const char zero[sizeof(prog->data->sha1)] = {0};
99 if (memcmp(prog->data->sha1, zero, sizeof(prog->data->sha1)) == 0)
107 struct gl_linked_shader *sh = prog->_LinkedShaders[i];
113 serialize_glsl_program(&metadata, ctx, prog);
118 (cache_key *) malloc(prog
85 shader_cache_write_program_metadata(struct gl_context * ctx,struct gl_shader_program * prog) argument
144 shader_cache_read_program_metadata(struct gl_context * ctx,struct gl_shader_program * prog) argument
[all...]
H A Dlinker_util.cpp32 link_util_add_program_resource(struct gl_shader_program *prog, argument
42 prog->data->ProgramResourceList =
43 reralloc(prog->data,
44 prog->data->ProgramResourceList,
46 prog->data->NumProgramResourceList + 1);
48 if (!prog->data->ProgramResourceList) {
49 linker_error(prog, "Out of memory during linking.\n");
54 &prog->data->ProgramResourceList[prog->data->NumProgramResourceList];
60 prog
72 link_util_find_empty_block(struct gl_shader_program * prog,struct gl_uniform_storage * uniform) argument
100 link_util_update_empty_uniform_locations(struct gl_shader_program * prog) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dshader_cache.h34 struct gl_shader_program *prog);
38 struct gl_shader_program *prog);
H A Dgl_nir_linker.h44 struct gl_shader_program *prog,
47 bool gl_nir_link_glsl(struct gl_context *ctx, struct gl_shader_program *prog);
50 struct gl_shader_program *prog,
54 struct gl_shader_program *prog);
57 struct gl_shader_program *prog,
61 struct gl_shader_program *prog);
64 struct gl_shader_program *prog);
67 struct gl_shader_program *prog);
70 struct gl_shader_program *prog);
H A Dlinker_util.h68 linker_error(struct gl_shader_program *prog, const char *fmt, ...);
71 linker_warning(struct gl_shader_program *prog, const char *fmt, ...);
74 link_util_should_add_buffer_variable(struct gl_shader_program *prog,
82 link_util_add_program_resource(struct gl_shader_program *prog,
87 link_util_find_empty_block(struct gl_shader_program *prog,
91 link_util_update_empty_uniform_locations(struct gl_shader_program *prog);
94 link_util_check_subroutine_resources(struct gl_shader_program *prog);
98 struct gl_shader_program *prog);
101 link_util_calculate_subroutine_compat(struct gl_shader_program *prog);
H A Dshader_cache.cpp73 compile_shaders(struct gl_context *ctx, struct gl_shader_program *prog) { argument
74 for (unsigned i = 0; i < prog->NumShaders; i++) {
75 _mesa_glsl_compile_shader(ctx, prog->Shaders[i], false, false, true);
88 struct gl_shader_program *prog)
100 static const char zero[sizeof(prog->data->sha1)] = {0};
101 if (memcmp(prog->data->sha1, zero, sizeof(prog->data->sha1)) == 0)
109 struct gl_linked_shader *sh = prog->_LinkedShaders[i];
115 serialize_glsl_program(&metadata, ctx, prog);
120 (cache_key *) malloc(prog
87 shader_cache_write_program_metadata(struct gl_context * ctx,struct gl_shader_program * prog) argument
146 shader_cache_read_program_metadata(struct gl_context * ctx,struct gl_shader_program * prog) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dscissor.c38 struct program prog; variable in typeref:struct:program
53 prog.width = width;
54 prog.height = height;
69 prog.quads = !prog.quads;
78 if (prog.quads) {
95 printf("drawing with %s\n", prog.quads ? "quads" : "clears");
105 glScissor(1, prog.height - 11, 10, 10);
107 glScissor(prog.width - 11, prog
[all...]
/xsrc/external/mit/mesa-demos/dist/src/slang/
H A Dsotest.c79 static GLhandleARB prog = 0; variable in typeref:typename:GLhandleARB
86 if (handle != vert && handle != frag && handle != prog)
166 prog = glCreateProgramObjectARB ();
167 endtest1 (prog);
168 endtest1 (vert != frag && frag != prog && prog != vert);
174 glLinkProgramARB (prog);
175 endtest1 (CheckObjectStatus (prog));
181 glUseProgramObjectARB (prog);
196 glAttachObjectARB (prog, find_invalid_handl
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_shader_cache.c57 copy_blob_to_driver_cache_blob(struct blob *blob, struct gl_program *prog) argument
59 prog->driver_cache_blob = ralloc_size(NULL, blob->size);
60 memcpy(prog->driver_cache_blob, blob->data, blob->size);
61 prog->driver_cache_blob_size = blob->size;
66 struct gl_program *prog)
72 copy_blob_to_driver_cache_blob(blob, prog);
76 write_nir_to_cache(struct blob *blob, struct gl_program *prog) argument
78 struct st_program *stp = (struct st_program *)prog;
85 copy_blob_to_driver_cache_blob(blob, prog);
89 st_serialise_ir_program(struct gl_context *ctx, struct gl_program *prog, argument
65 write_tgsi_to_cache(struct blob * blob,const struct tgsi_token * tokens,struct gl_program * prog) argument
125 st_store_ir_in_disk_cache(struct st_context * st,struct gl_program * prog,bool nir) argument
171 st_deserialise_ir_program(struct gl_context * ctx,struct gl_shader_program * shProg,struct gl_program * prog,bool nir) argument
238 st_load_ir_from_disk_cache(struct gl_context * ctx,struct gl_shader_program * prog,bool nir) argument
273 st_serialise_tgsi_program(struct gl_context * ctx,struct gl_program * prog) argument
279 st_serialise_tgsi_program_binary(struct gl_context * ctx,struct gl_shader_program * shProg,struct gl_program * prog) argument
287 st_deserialise_tgsi_program(struct gl_context * ctx,struct gl_shader_program * shProg,struct gl_program * prog) argument
295 st_serialise_nir_program(struct gl_context * ctx,struct gl_program * prog) argument
301 st_serialise_nir_program_binary(struct gl_context * ctx,struct gl_shader_program * shProg,struct gl_program * prog) argument
309 st_deserialise_nir_program(struct gl_context * ctx,struct gl_shader_program * shProg,struct gl_program * prog) argument
[all...]
H A Dst_glsl_to_ir.h32 st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
H A Dst_shader_cache.h42 st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog);
47 struct gl_program *prog);
52 struct gl_program *prog);
55 st_serialise_nir_program(struct gl_context *ctx, struct gl_program *prog);
60 struct gl_program *prog);
65 struct gl_program *prog);
69 struct gl_shader_program *prog,
73 st_store_ir_in_disk_cache(struct st_context *st, struct gl_program *prog,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Darbprogparse.c72 struct gl_program prog; local in function:_mesa_parse_arb_fragment_program
78 memset(&prog, 0, sizeof(prog));
80 state.prog = &prog;
94 program->String = prog.String;
95 program->arb.NumInstructions = prog.arb.NumInstructions;
96 program->arb.NumTemporaries = prog.arb.NumTemporaries;
97 program->arb.NumParameters = prog.arb.NumParameters;
98 program->arb.NumAttributes = prog
166 struct gl_program prog; local in function:_mesa_parse_arb_vertex_program
[all...]
H A Dprog_to_nir.h33 struct nir_shader *prog_to_nir(const struct gl_program *prog,
H A Dprogramopt.h48 _mesa_count_texture_indirections(struct gl_program *prog);
51 _mesa_count_texture_instructions(struct gl_program *prog);
54 _mesa_remove_output_reads(struct gl_program *prog, gl_register_file type);
57 _mesa_program_fragment_position_to_sysval(struct gl_program *prog);
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Darbprogparse.c72 struct gl_program prog; local in function:_mesa_parse_arb_fragment_program
78 memset(&prog, 0, sizeof(prog));
80 state.prog = &prog;
94 program->String = prog.String;
95 program->arb.NumInstructions = prog.arb.NumInstructions;
96 program->arb.NumTemporaries = prog.arb.NumTemporaries;
97 program->arb.NumParameters = prog.arb.NumParameters;
98 program->arb.NumAttributes = prog
166 struct gl_program prog; local in function:_mesa_parse_arb_vertex_program
[all...]
H A Dprogramopt.h48 _mesa_count_texture_indirections(struct gl_program *prog);
51 _mesa_count_texture_instructions(struct gl_program *prog);
54 _mesa_remove_output_reads(struct gl_program *prog, gl_register_file type);
57 _mesa_program_fragment_position_to_sysval(struct gl_program *prog);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_to_ir.h32 st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
H A Dst_shader_cache.h42 st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog);
47 struct gl_program *prog);
52 struct gl_program *prog);
55 st_serialise_nir_program(struct gl_context *ctx, struct gl_program *prog);
60 struct gl_program *prog);
65 struct gl_program *prog);
69 struct gl_shader_program *prog,
73 st_store_ir_in_disk_cache(struct st_context *st, struct gl_program *prog,
H A Dst_atom_storagebuf.c44 st_bind_ssbos(struct st_context *st, struct gl_program *prog, argument
51 if (!prog || !st->pipe->set_shader_buffers)
54 c = &st->ctx->Const.Program[prog->info.stage];
58 for (i = 0; i < prog->info.num_ssbos; i++) {
64 prog->sh.ShaderStorageBlocks[i]->Binding];
85 prog->info.num_ssbos, buffers,
86 prog->sh.ShaderStorageBlocksWriteAccess);
88 if (prog->info.num_ssbos < c->MaxShaderStorageBlocks)
91 buffer_base + prog->info.num_ssbos,
92 c->MaxShaderStorageBlocks - prog
98 struct gl_program *prog = local in function:st_bind_vs_ssbos
106 struct gl_program *prog = local in function:st_bind_fs_ssbos
114 struct gl_program *prog = local in function:st_bind_gs_ssbos
122 struct gl_program *prog = local in function:st_bind_tcs_ssbos
130 struct gl_program *prog = local in function:st_bind_tes_ssbos
138 struct gl_program *prog = local in function:st_bind_cs_ssbos
[all...]
H A Dst_atom_constbuf.h38 void st_upload_constants(struct st_context *st, struct gl_program *prog);
/xsrc/local/programs/bdfload/
H A DMakefile5 .include <bsd.prog.mk>

Completed in 24 milliseconds

1234567891011>>