r600: Fix interpolateAtCentroid
authorGert Wollny <gert.wollny@collabora.com>
Wed, 28 Aug 2019 08:48:04 +0000 (10:48 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Fri, 4 Oct 2019 08:09:01 +0000 (10:09 +0200)
commit7cbb44aa6ae417d32bd9fd5c2c858ade9a9acfd8
tree1e6a5483b0ee1e4eb35eafe411e7b444840afa21
parent1481d0540987cca11cb76c39f7c0fa84983d9e3b
r600: Fix interpolateAtCentroid

If the instruction interpolateAtCentroid is used the extra interpolator
must also be enabled in the state.

Fixes: fs-interpolateatcentroid-block
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h
src/gallium/drivers/r600/sb/sb_bc_parser.cpp