diff options
author | Erico Nunes <[email protected]> | 2020-04-14 02:45:38 +0200 |
---|---|---|
committer | Erico Nunes <[email protected]> | 2020-05-09 14:40:34 +0200 |
commit | 8c47640731303ed2607d28ce2cf19a7e8f0f4006 (patch) | |
tree | 2916196c8686cd26a4c970b9df9c2164382d9d84 /src/gallium/drivers/lima/lima_program.h | |
parent | 570f1420dbf361cf889c21c119816e063ecc3cea (diff) |
lima/ppir: rework store output
In many cases, it is possible to avoid creating a mov for the store
output node.
Additionally, nodes other than alu, such as load varying, can be valid
store output nodes too.
This is another small optimization, but helps a vast majority of
programs by 1 instruction.
Shaders with discard easily become complicated to handle properly.
Some example issues: ppir has to rely on instruction ordering; or a
node with ssa output could be required both before a discard_if (as a
condition) and after it (as the instruction with the 'stop' bit set).
So don't try to handle them here.
Signed-off-by: Erico Nunes <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4632>
Diffstat (limited to 'src/gallium/drivers/lima/lima_program.h')
0 files changed, 0 insertions, 0 deletions