r600: fix copy/paste bug for sampleMaskIn workaround
authorRoland Scheidegger <sroland@vmware.com>
Fri, 15 Jun 2018 21:36:52 +0000 (23:36 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 21 Jun 2018 00:37:11 +0000 (02:37 +0200)
commit53959fcbd88f38316359aa7b48cb9464c23eb870
tree4b7967c9740620f776ec4e8ca5a72d9aefecfe52
parentedb7890750f8230021c1efa8e4d0d7a383f076c4
r600: fix copy/paste bug for sampleMaskIn workaround

The sampleMaskIn workaround (b936f4d1ca0d2ab1e828ff6a6e617f12469687fa)
tries to figure out if the shader is running at per-sample frequency, but
there's a typo bug so it will only recognize per-sample linar inputs,
not per-sample perspective ones.

Spotted by Eric Engestrom <eric.engestrom@intel.com>

Fixes: b936f4d1ca0d2ab1e828a "r600: partly fix sampleMaskIn value"
src/gallium/drivers/r600/r600_shader.c