freedreno/a6xx: fix helper_invocation (sampler mask/id)
authorRob Clark <robdclark@gmail.com>
Mon, 18 Feb 2019 15:34:06 +0000 (10:34 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 18 Feb 2019 15:37:54 +0000 (10:37 -0500)
commit28fc6733cd2d3af2ce12bfda5953ed0f582663c0
tree784f4c181c5f67fb9501cc2ed8e86d2d3441dc0d
parent32ab7a59bb7d8e3f1edc67eaedb2586fcac8c6b4
freedreno/a6xx: fix helper_invocation (sampler mask/id)

Since gl_HelperInvocation is lowered to:

  !((1 << sample_id) & sample_mask_in))

Not setting these enable bits was causing it be broken.  (And probably a
bunch of other stuff too.)

Fixes dEQP-GLES31.functional.shaders.helper_invocation.*

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_program.c