llvmpipe: move color storing earlier in frag shader
authorDave Airlie <airlied@redhat.com>
Fri, 20 Mar 2020 20:54:26 +0000 (06:54 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:38 +0000 (06:20 +0000)
commit335938cffd10a7285b98999ad7a6bc8a4ed92ba1
treeca4f59b5547185b90711e2dd7e9e32469a945d1b
parentacba9a93ef23796b394b88d5352ec6ebdf14d123
llvmpipe: move color storing earlier in frag shader

Move the color storage before the late Z test as for sample
shading it needs to be inside a loop with the fragment shader.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
src/gallium/drivers/llvmpipe/lp_state_fs.c