Home
last modified time | relevance | path

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

/third_party/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.string); 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 …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_shader_cache.c219 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_nir_from_disk_cache() local
220 st_deserialise_nir_program(ctx, prog, glprog); in st_load_nir_from_disk_cache()
223 ralloc_free(glprog->driver_cache_blob); in st_load_nir_from_disk_cache()
224 glprog->driver_cache_blob = NULL; in st_load_nir_from_disk_cache()
225 glprog->driver_cache_blob_size = 0; in st_load_nir_from_disk_cache()
/third_party/mesa3d/src/mesa/main/
Duniforms.c94 struct gl_program *glprog = shProg->_LinkedShaders[stage]->Program; in update_single_shader_texture_used() local
95 if (glprog->TexturesUsed[unit] & ~(1 << target)) in update_single_shader_texture_used()