i965/skl: Set the pulls bary bit in 3DSTATE_PS_EXTRA
authorNeil Roberts <neil@linux.intel.com>
Fri, 3 Jul 2015 12:15:21 +0000 (13:15 +0100)
committerNeil Roberts <neil@linux.intel.com>
Mon, 6 Jul 2015 15:15:31 +0000 (08:15 -0700)
commit493af150fb3b1c007d791b24dcd5ea8a92ad763c
tree2ff241e6bea3dbe8b6f8627bbbffa8b15bf66669
parentfc2726e4afa6dfb691affed576a38d2b0573465b
i965/skl: Set the pulls bary bit in 3DSTATE_PS_EXTRA

On Gen9+ there is a new bit in 3DSTATE_PS_EXTRA that must be set if
the shader sends a message to the pixel interpolator. This fixes the
interpolateAt* tests on SKL, apart from interpolateatsample-nonconst
but that is not implemented anywhere so it's not a regression.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "10.6 10.5" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/gen8_ps_state.c