vc4: Don't consider nr_samples==1 surfaces to be MSAA.
authorEric Anholt <eric@anholt.net>
Mon, 14 Dec 2015 23:22:55 +0000 (15:22 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 15 Dec 2015 20:02:53 +0000 (12:02 -0800)
commitf2cf2a63f1211642ca20b73ad5f23c60cc3fa703
treeda542ead992509df02bdc75f9daada8a1439dd99
parentda92f16c500642879221b201a8292080236b4251
vc4: Don't consider nr_samples==1 surfaces to be MSAA.

This is apparently a weirdness of gallium -- nr_samples==1 is occasionally
used and means the same thing as nr_samples==0.  Fixes a bunch of
ARB_framebuffer_srgb blit cases in piglit.
src/gallium/drivers/vc4/vc4_blit.c
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_job.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_resource.c
src/gallium/drivers/vc4/vc4_state.c