[Mesa-dev] [PATCH 2/4] i965: Use a better guardband calculation.

Ilia Mirkin imirkin at alum.mit.edu
Mon Jan 23 12:59:32 UTC 2017


On Mon, Jan 23, 2017 at 1:42 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> +      *ymin = MIN2(ndc_gb_ymin, ndc_gb_ymax);

Should this be limited on the negative end of the range?

> +      *ymax = MIN2(MAX2(ndc_gb_ymin, ndc_gb_ymax), 16383);

And should this be a different value for gen6? Perhaps based on gb_size?


More information about the mesa-dev mailing list