Lines Matching refs:uni
96 _mesa_uniform_attach_driver_storage(struct gl_uniform_storage *uni, in _mesa_uniform_attach_driver_storage() argument
102 uni->driver_storage = (struct gl_uniform_driver_storage*) in _mesa_uniform_attach_driver_storage()
103 realloc(uni->driver_storage, in _mesa_uniform_attach_driver_storage()
105 * (uni->num_driver_storage + 1)); in _mesa_uniform_attach_driver_storage()
107 uni->driver_storage[uni->num_driver_storage].element_stride = element_stride; in _mesa_uniform_attach_driver_storage()
108 uni->driver_storage[uni->num_driver_storage].vector_stride = vector_stride; in _mesa_uniform_attach_driver_storage()
109 uni->driver_storage[uni->num_driver_storage].format = (uint8_t) format; in _mesa_uniform_attach_driver_storage()
110 uni->driver_storage[uni->num_driver_storage].data = data; in _mesa_uniform_attach_driver_storage()
112 uni->num_driver_storage++; in _mesa_uniform_attach_driver_storage()
123 _mesa_uniform_detach_all_driver_storage(struct gl_uniform_storage *uni) in _mesa_uniform_detach_all_driver_storage() argument
125 free(uni->driver_storage); in _mesa_uniform_detach_all_driver_storage()
126 uni->driver_storage = NULL; in _mesa_uniform_detach_all_driver_storage()
127 uni->num_driver_storage = 0; in _mesa_uniform_detach_all_driver_storage()