turnip: Add support for alphaToOne.
authorEric Anholt <eric@anholt.net>
Fri, 5 Jun 2020 00:00:59 +0000 (17:00 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 5 Jun 2020 18:11:22 +0000 (18:11 +0000)
commitac1ab9294abd2eb24af8e810cd93b491ac22a8a1
tree4f7dca2244bc98de397b00a8f293f1228cf71874
parent79f3003445e6578abc0563b421776851d6caa21f
turnip: Add support for alphaToOne.

Comparing a blob trace using the feature to one not, the difference was
pretty obvious and in the spot you'd expect compared to alphaToCoverage.
The SP_ reg didn't have a corresponding bit set, though it also has an
alphaToCoverage.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5343>
src/freedreno/registers/a6xx.xml
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_pipeline.c