diff options
author | Rob Clark <[email protected]> | 2019-10-25 15:37:56 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-11-12 13:57:52 -0800 |
commit | bdf6b7018cedf95b554e21953d5a1935d3067ce7 (patch) | |
tree | a8aa4c14268a229fb87448f10b1620e52bc20b63 /src/freedreno/ir3/ir3_depth.c | |
parent | 2aae13f642b136d84c55004af0db5f411a4da61d (diff) |
freedreno/ir3: re-work shader inputs/outputs
Allow inputs/outputs to be vecN (ie. whatever their actual size is), and
use split to get scalar components of inputs, and collect to gather up
scalar components of outputs.
The main motivation is to simplify RA, by only having to consider split/
collect to figure out where values need to land in consecutive scalar
registers, rather than having to also deal with left/right neighbors.
Because of varying packing, and the resulting fractional location
(location_frac), to implement load_input/store_output, it is still
convenient to have a table of scalar inputs/outputs. We move this to
the compile ctx (since it is only needed for nir->ir3).
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3_depth.c')
0 files changed, 0 insertions, 0 deletions