Carl Worth b3bd77da56 glsl_type: Add a talloc-based new
And hook it up at the two sites it's called.

Note that with this change we still don't use glsl_type* objects as
talloc contexts, (see things like get_array_instance that accept both
a talloc 'ctx' as well as a glsl_type*). The reason for this is that
the code is still using many instance of glsl_type objects not created
with new.

This closes 3 leaks in the glsl-orangebook-ch06-bump.frag test:

	total heap usage: 55,623 allocs, 55,618

Leaving only 5 leaks to go.
2010-06-23 19:04:45 -07:00
2010-06-23 11:24:26 -07:00
2010-03-08 13:02:58 -08:00
2010-06-23 18:15:28 -07:00
2010-02-25 17:17:23 -08:00
2010-06-09 11:14:58 -07:00
2010-06-23 19:00:42 -07:00
2010-06-23 19:04:45 -07:00
2010-02-22 13:19:34 -08:00
2010-06-23 18:59:35 -07:00
S
Description
No description provided
538 MiB
Languages
C 75.5%
C++ 17.2%
Python 2.7%
Rust 1.8%
Assembly 1.5%
Other 1%