radeonsi: add shader code for smoothing
authorMarek Olšák <marek.olsak@amd.com>
Sun, 15 Mar 2015 17:11:19 +0000 (18:11 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 16 Mar 2015 11:54:19 +0000 (12:54 +0100)
commit303d23e10d2caad69b2d122f45c78fee2906fc09
tree58078e4d5617f812ea9fb43b6407866b3da9c14b
parent4f20a8f278aa92fb0dc6abc6998171b3ddea7dc1
radeonsi: add shader code for smoothing

The fragment shader multiplies the alpha channel with gl_SampleMaskIn.
If blending is enabled, it looks like MSAA.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h