panfrost: Wire up nir_lower_blend
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 6 May 2019 02:13:55 +0000 (02:13 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 19 May 2019 17:56:34 +0000 (17:56 +0000)
commitd1a9b760ea866d558566bc070e9fc46a5b5d3b9a
tree2c3aa930922118fe5ce20de0e31b0694b29feaa9
parent39104221e19fa50157d1a22517f9a4c418ff67c8
panfrost: Wire up nir_lower_blend

This implements blend shaders via nir_lower_blend, by creating dummy
fragment shaders simply passing through the source color and using the
new lowering pass to inject blendability.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_blend_shaders.c