OSDN Git Service

mesa: use default geometry's samples when there are no attachments
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 31 Jan 2016 06:09:40 +0000 (01:09 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 2 Feb 2016 22:08:46 +0000 (17:08 -0500)
commit18f688d62a69501072d6783bbce34d1a755ef2c9
treef7917b5e61d49c0fef9a2e0a1c94e2df39e39d9d
parent095da3b550be9f57a559ee3e549b15f3db4cf567
mesa: use default geometry's samples when there are no attachments

Whether multisampling is turned on depends, in part, on whether
attachments are themselves multisample surfaces. However when there are
no attachments, we should rely on the default geometry for this.

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