OSDN Git Service

mesa: use geometric helper for computing min samples
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 31 Jan 2016 05:44:14 +0000 (00:44 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 2 Feb 2016 22:08:46 +0000 (17:08 -0500)
commitbeac7b1b8b0a74bbf0ef76e681a31c98e9250e55
treea9071e2614b1c48fd2764aa5fa05c5250d87b540
parent2d4976fa1953ee545fc774f64fc3b055c440559c
mesa: use geometric helper for computing min samples

In case we have a draw buffer without attachments, we should be looking
at the default number of samples.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/mesa/program/program.c