st/mesa: don't fall back to 16F when 32F is requested
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 6 Sep 2015 15:29:00 +0000 (11:29 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 6 Sep 2015 18:15:59 +0000 (14:15 -0400)
commite40f32d5626c87d9e77bbc261df3648cd54bd066
tree2d21aa038700a029d712a31cdaa65be5338507b4
parentbfd3d5244b26aca7696715066f5e5331e0b5fe2a
st/mesa: don't fall back to 16F when 32F is requested

Nothing in the spec allows for the reduced precision, and this also
fixes st_QuerySamplesForFormat for nv50, which does not allow MS8 on
RGBA32F. Now this will be respected instead of reporting MS8 as
supported with an assumption that the format used will be RGBA16F.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_format.c