[Mesa-dev] [PATCH] gallium: document conservative rasterization flags
Kenneth Graunke
kenneth at whitecape.org
Tue Apr 23 20:54:57 UTC 2019
On Monday, April 22, 2019 10:25:57 AM PDT Marek Olšák wrote:
[snip]
> /**
> * Conservative rasterization modes.
> */
> 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,
> };
Thanks Marek, this makes a lot of sense and is helpful when trying to
remember what all of these options mean. :)
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190423/6f716782/attachment.sig>
More information about the mesa-dev
mailing list