turnip: Use fb->binning_possible to decide on conditional tile load/stores.
authorEmma Anholt <emma@anholt.net>
Mon, 16 May 2022 20:39:04 +0000 (13:39 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Jun 2022 00:00:28 +0000 (00:00 +0000)
commit046438b7a4918268c174efef5f0de1d4210e2301
tree4377fa743749b4a35200bc5cf3f74cd595b5f020
parent6c37b4ded1006850c4b92799c9e0c6f9823eb45f
turnip: Use fb->binning_possible to decide on conditional tile load/stores.

When !fb->binning but fb->binning_possible, we can just set the VSC
per-tile visibility reg to all visible in the "whoops, we'd rather not bin
but we had to anyway for XFB" case.  This gets that EndRenderPass state out
of tile_load_cs/store_cs.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16826>
src/freedreno/vulkan/tu_cmd_buffer.c