v3d: Implement ALPHA_TO_COVERAGE.
authorEric Anholt <eric@anholt.net>
Tue, 19 Jun 2018 23:27:17 +0000 (16:27 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 20 Jun 2018 16:30:46 +0000 (09:30 -0700)
commitf49d112a01f9bec79b0ddb028163dc189f663634
tree54299d3bc57369a30acd8a7cb39caafc40788241
parent94f7c011d6e099f1c6e7cfce90b61700fbd9c1e2
v3d: Implement ALPHA_TO_COVERAGE.

There's a convenient "FTOC" instruction for generating the coverage now,
unlike vc4.  This fixes
dEQP-GLES3.functional.multisample.fbo_4_samples.proportionality_alpha_to_coverage
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/vir.c