summaryrefslogtreecommitdiffstats
path: root/build-support
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-11-07 17:16:14 -0600
committerJason Ekstrand <[email protected]>2019-11-18 18:35:14 +0000
commit9baa33cef01f0e1fe221379d78387fe9e8517c74 (patch)
treebffef918a64c908d1a0f8b51a135e169b23d8b38 /build-support
parentca91ab801522c7a760562fe32d0a2a4b7b333876 (diff)
anv: Rework push constant handling
This substantially reworks both the state setup side of push constant handling and the pipeline compile side. The fundamental change here is that we're no longer respecting the prog_data::param array and instead are just instructing the back-end compiler to leave the array alone. This makes the state setup side substantially simpler because we can now just memcpy the whole block of push constants and don't have to upload one DWORD at a time. This also means that we can compute the full push constant layout up-front and just trust the back-end compiler to not mess with it. Maybe one day we'll decide that the back-end compiler can do useful things there again but for now, this is functionally no different from what we had before this commit and makes the NIR handling cleaner. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'build-support')
0 files changed, 0 insertions, 0 deletions