st/mesa: don't force per-sample interp if only sampleid/pos are used
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Feb 2016 16:01:27 +0000 (11:01 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 6 Mar 2016 04:26:03 +0000 (23:26 -0500)
commit313205cb8f9cda5d60764f889aaa05f37f2afc46
treef97774d95188545e65592efb326971e7326444ce
parentdcbf8377befde50fe4d75738e2af5813e06e8f04
st/mesa: don't force per-sample interp if only sampleid/pos are used

The OES extensions clarify this behaviour to differentiate between
per-sample invocation and per-sample interpolation. Using sampleid/pos
will force per-sample invocation but not per-sample interpolation.

See https://www.khronos.org/bugzilla/show_bug.cgi?id=1462

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_program.c