vc4: Add support for texel fetches from MSAA resources.
authorEric Anholt <eric@anholt.net>
Tue, 23 Jun 2015 16:50:36 +0000 (09:50 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 8 Dec 2015 17:49:55 +0000 (09:49 -0800)
commit6b4dfd53ae9b4f86cda0377a4d67b79e9faf7cc8
tree7c74962035ba3e7297600c7783f170f995a570b7
parenta97b40dca4949b5b8b3320e76768e54f430c9e78
vc4: Add support for texel fetches from MSAA resources.

This is the core of ARB_texture_multisample.  Most of the piglit tests for
GL_ARB_texture_multisample require GL 3.0, but exposing support for this
lets us use the gallium blitter for multisample resolves.  We can
sometimes multisample resolve using just the RCL, but that requires that
the blit is 1:1, unflipped, and aligned to tile boundaries.
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_nir_lower_txf_ms.c [new file with mode: 0644]
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_uniforms.c