diff options
author | Alejandro Piñeiro <[email protected]> | 2019-03-14 11:02:52 +0100 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2019-03-15 11:59:32 +0100 |
commit | 34b3b92bbee1f68a9c121cd26e30e113c8cd39a8 (patch) | |
tree | 423f1bc9eb25455542fc1ef9d1cfdc86b70c68ec /src/gallium/drivers/radeonsi/si_compute.c | |
parent | d5befdbe4ad4523e58074063a3b619f389fb9f1f (diff) |
nir/xfb: move varyings info out of nir_xfb_info
When varyings was added we moved to use to dynamycally allocated
pointers, instead of allocating just one block for everything. That
breaks some assumptions of some vulkan drivers (like anv), that make
serialization and copying easier. And at the same time, varyings are
not needed for vulkan.
So this commit moves them out. Although it seems a little an overkill,
fixing the anv side would require a similar, or more, changes, so in
the end it is about to decide where do we want to put our effort.
v2: (from Jason review)
* Don't use a temp variable on the _create methods, just return
result of rzalloc_size
* Wrap some lines too long.
Fixes: cf0b2ad486c9 ("nir/xfb: adding varyings on nir_xfb_info and gather_info")
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
0 files changed, 0 insertions, 0 deletions