vc4: Fix tests for format supported with nr_samples == 1.
authorEric Anholt <eric@anholt.net>
Wed, 20 Apr 2016 23:31:28 +0000 (16:31 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 Apr 2016 18:27:11 +0000 (11:27 -0700)
commit1410403e1e6cd948b087ebb19f6865f054d14877
treeb583986486eb6f4dc3ab2eb19c2c2b7e426cd327
parent6eabdb8959eef9802caa618e7390eb5beeca226a
vc4: Fix tests for format supported with nr_samples == 1.

This was a bug from the MSAA enabling.  Tests for surfaces with
nr_samples==1 instead of 0 (generally GL renderbuffers) would incorrectly
fail out.

Fixes the ARB_framebuffer_sRGB piglit tests other than srgb_conformance.

Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/vc4/vc4_screen.c