lavapipe: further limit accurate_a0 hack
authorRoland Scheidegger <sroland@vmware.com>
Fri, 25 Aug 2023 13:46:35 +0000 (15:46 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 25 Aug 2023 17:51:12 +0000 (17:51 +0000)
commit35b2af0f0bedc0e0784cff775f150e9646423bf1
tree57b3c1484f56ef445c330fc919912c9932f61586
parentbba4880ffcb1c8c2988fda309ef6480184b996b6
lavapipe: further limit accurate_a0 hack

With lavapipe the previous change to only enable the hack when there's
no textures bound doesn't work anymore, since we don't have that
information when using the texture handles.
So add another random state restriction which is sufficient to pass
tests. (This really needs a better long term solution.)

Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24887>
src/gallium/drivers/llvmpipe/lp_setup_tri.c