diff options
author | Marek Olšák <[email protected]> | 2015-03-15 18:11:19 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-03-16 12:54:19 +0100 |
commit | 303d23e10d2caad69b2d122f45c78fee2906fc09 (patch) | |
tree | 58078e4d5617f812ea9fb43b6407866b3da9c14b /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 4f20a8f278aa92fb0dc6abc6998171b3ddea7dc1 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 1496d5fedd7..1bc664a50ec 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -41,6 +41,7 @@ * the number shouldn't be a commonly-used one. */ #define SI_BASE_VERTEX_UNKNOWN INT_MIN #define SI_RESTART_INDEX_UNKNOWN INT_MIN +#define SI_NUM_SMOOTH_AA_SAMPLES 8 #define SI_TRACE_CS 0 #define SI_TRACE_CS_DWORDS 6 |