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>
This commit is contained in:
parent
03d46344df
commit
fcbbecb9bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue