Home
last modified time | relevance | path

Searched refs:glprog (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dserialize.cpp50 struct gl_program *glprog = sh->Program; in write_subroutines() local
52 blob_write_uint32(metadata, glprog->sh.NumSubroutineUniforms); in write_subroutines()
53 blob_write_uint32(metadata, glprog->sh.MaxSubroutineFunctionIndex); in write_subroutines()
54 blob_write_uint32(metadata, glprog->sh.NumSubroutineFunctions); in write_subroutines()
55 for (unsigned j = 0; j < glprog->sh.NumSubroutineFunctions; j++) { in write_subroutines()
56 int num_types = glprog->sh.SubroutineFunctions[j].num_compat_types; in write_subroutines()
58 blob_write_string(metadata, glprog->sh.SubroutineFunctions[j].name); in write_subroutines()
59 blob_write_uint32(metadata, glprog->sh.SubroutineFunctions[j].index); in write_subroutines()
64 glprog->sh.SubroutineFunctions[j].types[k]); in write_subroutines()
80 struct gl_program *glprog = sh->Program; in read_subroutines() local
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_shader_cache.c256 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_ir_from_disk_cache() local
257 st_deserialise_ir_program(ctx, prog, glprog, nir); in st_load_ir_from_disk_cache()
260 ralloc_free(glprog->driver_cache_blob); in st_load_ir_from_disk_cache()
261 glprog->driver_cache_blob = NULL; in st_load_ir_from_disk_cache()
262 glprog->driver_cache_blob_size = 0; in st_load_ir_from_disk_cache()
/external/mesa3d/src/mesa/main/
Duniforms.c91 struct gl_program *glprog = shProg->_LinkedShaders[stage]->Program; in update_single_shader_texture_used() local
92 if (glprog->TexturesUsed[unit] & ~(1 << target)) in update_single_shader_texture_used()