OSDN Git Service

vc4: Add support for multisample framebuffer operations.
authorEric Anholt <eric@anholt.net>
Tue, 23 Jun 2015 20:11:55 +0000 (13:11 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 8 Dec 2015 17:49:54 +0000 (09:49 -0800)
commita97b40dca4949b5b8b3320e76768e54f430c9e78
tree00546daf21314047f9dfe50be265174cc8bbdd89
parentedc3305de7d749338ad88a949cedfc290a796fe5
vc4: Add support for multisample framebuffer operations.

This includes GL_SAMPLE_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, and
GL_SAMPLE_ALPHA_TO_COVAGE.

I haven't implemented a dithering function yet, and gallium doesn't give
me a good chance to do so for GL_SAMPLE_COVERAGE.
src/gallium/drivers/vc4/vc4_nir_lower_blend.c
src/gallium/drivers/vc4/vc4_nir_lower_io.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu.h
src/gallium/drivers/vc4/vc4_qpu_emit.c