diff options
author | Jason Ekstrand <[email protected]> | 2015-09-09 13:18:29 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-11 09:21:04 -0700 |
commit | 8c8fc5f8336c8c79e5890265ae6c03271aa94075 (patch) | |
tree | 862f8a0cad00a534a147ccffc70741f71a3428e6 /doxygen | |
parent | 794355e77167291a3acc8d42249c760c24f54f38 (diff) |
nir: Fix a bunch of ralloc parenting errors
As of a10d4937, we would really like things associated with an instruction
to be allocated out of that instruction and not out of the shader. In
particular, you should be passing the instruction that will ultimately be
holding the source into nir_src_copy rather than an arbitrary memory
context.
We also change the prototypes of nir_dest_copy and nir_alu_src/dest_copy to
explicitly take an instruction so we catch this earlier in the future.
Cc: "11.0" <[email protected]>
Reviewed-by: Thomas Helland <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions