diff options
author | Marek Olšák <[email protected]> | 2019-04-19 19:11:34 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-04-23 21:19:48 -0400 |
commit | d9838f653a48e06d1518aca86613f27f2c2293ac (patch) | |
tree | 5fffd69d84f90d0582dae0c18153605aee65e53b /src/gallium/include | |
parent | 26391cceaa17d9452f9adcf321aa05731eb50a39 (diff) |
gallium: document conservative rasterization flags
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 61c1a5335b5..304c3dcb2bb 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -644,7 +644,18 @@ enum pipe_reset_status enum pipe_conservative_raster_mode { PIPE_CONSERVATIVE_RASTER_OFF, + + /** + * The post-snap mode means the conservative rasterization occurs after + * the conversion from floating-point to fixed-point coordinates + * on the subpixel grid. + */ PIPE_CONSERVATIVE_RASTER_POST_SNAP, + + /** + * The pre-snap mode means the conservative rasterization occurs before + * the conversion from floating-point to fixed-point coordinates. + */ PIPE_CONSERVATIVE_RASTER_PRE_SNAP, }; |