zink: make implicit feedback loop application stricter
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 12 Jan 2023 15:30:31 +0000 (10:30 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 18 Jan 2023 07:20:58 +0000 (07:20 +0000)
commit9ba06579035c80bf216672526558388b2f66dcd6
tree72978ebbdd60ae27ef6664e0e43fdad2331b119c
parent230a5547190899075cabccc034364be5d36272c1
zink: make implicit feedback loop application stricter

in many cases, a texture may be bound as both a framebuffer attachment
and a samplerview without the latter actually being used by a shader

this avoids unnecessary feedback loop tagging, which should improve
perf and avoid spurious warning messages on drivers that don't support
the feedback loop ext

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20674>
src/gallium/drivers/zink/zink_draw.cpp