Lines Matching refs:shProg
151 struct gl_shader_program *shProg) in _mesa_clear_shader_program_data() argument
154 if (shProg->_LinkedShaders[i] != NULL) { in _mesa_clear_shader_program_data()
155 _mesa_delete_linked_shader(ctx, shProg->_LinkedShaders[i]); in _mesa_clear_shader_program_data()
156 shProg->_LinkedShaders[i] = NULL; in _mesa_clear_shader_program_data()
160 shProg->data->NumUniformStorage = 0; in _mesa_clear_shader_program_data()
161 shProg->data->UniformStorage = NULL; in _mesa_clear_shader_program_data()
162 shProg->NumUniformRemapTable = 0; in _mesa_clear_shader_program_data()
163 shProg->UniformRemapTable = NULL; in _mesa_clear_shader_program_data()
164 shProg->UniformHash = NULL; in _mesa_clear_shader_program_data()
166 ralloc_free(shProg->data->InfoLog); in _mesa_clear_shader_program_data()
167 shProg->data->InfoLog = ralloc_strdup(shProg->data, ""); in _mesa_clear_shader_program_data()
169 ralloc_free(shProg->data->UniformBlocks); in _mesa_clear_shader_program_data()
170 shProg->data->UniformBlocks = NULL; in _mesa_clear_shader_program_data()
171 shProg->data->NumUniformBlocks = 0; in _mesa_clear_shader_program_data()
173 ralloc_free(shProg->data->ShaderStorageBlocks); in _mesa_clear_shader_program_data()
174 shProg->data->ShaderStorageBlocks = NULL; in _mesa_clear_shader_program_data()
175 shProg->data->NumShaderStorageBlocks = 0; in _mesa_clear_shader_program_data()
177 ralloc_free(shProg->data->AtomicBuffers); in _mesa_clear_shader_program_data()
178 shProg->data->AtomicBuffers = NULL; in _mesa_clear_shader_program_data()
179 shProg->data->NumAtomicBuffers = 0; in _mesa_clear_shader_program_data()