summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2019-03-14 11:02:52 +0100
committerAlejandro Piñeiro <[email protected]>2019-03-15 11:59:32 +0100
commit34b3b92bbee1f68a9c121cd26e30e113c8cd39a8 (patch)
tree423f1bc9eb25455542fc1ef9d1cfdc86b70c68ec /src/gallium/drivers/radeonsi/si_pipe.h
parentd5befdbe4ad4523e58074063a3b619f389fb9f1f (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_pipe.h')
0 files changed, 0 insertions, 0 deletions