diff options
author | Francisco Jerez <currojerez@riseup.net> | 2013-09-30 10:54:48 -0700 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2013-10-01 17:30:52 -0700 |
commit | fcbbecb9bc5c2b46913d5d3ec809be396addb1e8 (patch) | |
tree | a0660e2e462b63bc6d04d0afe750b1f2cd35a65f /src/mesa | |
parent | 03d46344dff6618dcadd95c058bb136c0b5bcb2f (diff) | |
download | external_mesa3d-fcbbecb9bc5c2b46913d5d3ec809be396addb1e8.zip external_mesa3d-fcbbecb9bc5c2b46913d5d3ec809be396addb1e8.tar.gz external_mesa3d-fcbbecb9bc5c2b46913d5d3ec809be396addb1e8.tar.bz2 |
st/mesa: Switch glsl_to_tgsi_instruction to the non-zeroing allocator.
All member variables of glsl_to_tgsi_instruction are already being
initialized from its implicitly defined constructor, it's not
necessary to use rzalloc to allocate its memory.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 2bc6623..a5d0b84 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -217,7 +217,7 @@ st_dst_reg::st_dst_reg(st_src_reg reg) class glsl_to_tgsi_instruction : public exec_node { public: - DECLARE_RZALLOC_CXX_OPERATORS(glsl_to_tgsi_instruction) + DECLARE_RALLOC_CXX_OPERATORS(glsl_to_tgsi_instruction) unsigned op; st_dst_reg dst; |