st/mesa: set force_persample_interp if ARB_sample_shading is used
authorMarek Olšák <marek.olsak@amd.com>
Sun, 27 Sep 2015 17:43:00 +0000 (19:43 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 3 Oct 2015 20:06:09 +0000 (22:06 +0200)
commit4e9fc7e4e2fa3b3c77d08c4db545dcc279e849e9
treef5e6a5808adf752607a274ee8772a2c852749285
parentf3b37e321fe5ea8a8c0ff026636d69ce90437a6f
st/mesa: set force_persample_interp if ARB_sample_shading is used

This is only a half of the work. The next patch will handle
gl_SampleID/SamplePos, which is the other half of ARB_sample_shading.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_atom_rasterizer.c
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h