aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/lima_bo.h
diff options
context:
space:
mode:
authorErico Nunes <[email protected]>2020-04-13 15:32:01 +0200
committerMarge Bot <[email protected]>2020-05-09 11:30:07 +0000
commit8c4157138f331d5053036f756aefa7006bbb6fac (patch)
tree22af1a9d309add9095cc464648711ffdeb633301 /src/gallium/drivers/lima/lima_bo.h
parent5e6c3861182cbf481ce3d25d0bbbcad4916c92dd (diff)
lima/ppir: duplicate consts in nir
Move the duplicate consts step to a nir pass. This makes the nir representation closer to what ppir will have in the result. Additionally, it handles the case where a const is used multiple times by a single node (which can happen in instructions like fcsel). The new implementation will only emit a single load const for that case. Signed-off-by: Erico Nunes <[email protected]> Reviewed-by: Vasily Khoruzhick <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4535>
Diffstat (limited to 'src/gallium/drivers/lima/lima_bo.h')
0 files changed, 0 insertions, 0 deletions