| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | gl_nir_linker.h | 35 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 D | gl_nir_linker.c | 38 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 D | shader_cache.h | 34 struct gl_shader_program *prog); 38 struct gl_shader_program *prog);
|
| H A D | linker_util.h | 48 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 D | shader_cache.cpp | 71 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 D | linker_util.cpp | 32 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 D | shader_cache.h | 34 struct gl_shader_program *prog); 38 struct gl_shader_program *prog);
|
| H A D | gl_nir_linker.h | 44 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 D | linker_util.h | 68 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 D | shader_cache.cpp | 73 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 D | scissor.c | 38 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 D | sotest.c | 79 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 D | st_shader_cache.c | 57 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 D | st_glsl_to_ir.h | 32 st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
|
| H A D | st_shader_cache.h | 42 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 D | arbprogparse.c | 72 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 D | prog_to_nir.h | 33 struct nir_shader *prog_to_nir(const struct gl_program *prog,
|
| H A D | programopt.h | 48 _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 D | arbprogparse.c | 72 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 D | programopt.h | 48 _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 D | st_glsl_to_ir.h | 32 st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
|
| H A D | st_shader_cache.h | 42 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 D | st_atom_storagebuf.c | 44 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 D | st_atom_constbuf.h | 38 void st_upload_constants(struct st_context *st, struct gl_program *prog);
|
| /xsrc/local/programs/bdfload/ |
| H A D | Makefile | 5 .include <bsd.prog.mk>
|