freedreno/a4xx: hook up sample mask/id, used to determine helper invocs
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 13 Nov 2021 23:31:10 +0000 (18:31 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 16 Nov 2021 05:08:26 +0000 (05:08 +0000)
commitbf14a63e1d950068390d492ecd84c1d7212c805f
tree051250554b870d47a4fba11736a1fc0ed3efbb58
parenta95a9f0cc64a7b2048b06d36c08f65cbbcfb02e7
freedreno/a4xx: hook up sample mask/id, used to determine helper invocs

This fixes the various gl_HelperInvocation-based tests. There's a
lowering pass which converts it to (1 << sampleid) & samplemask.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13806>
src/gallium/drivers/freedreno/a4xx/fd4_program.c