Re: [Mesa-dev] [PATCH v3] swr: calculate viewport width/height based on the scale
Reviewed-by: Tim Rowley> On Nov 20, 2016, at 10:32 AM, Ilia Mirkin > wrote: The former calculations were for min/max y. The width/height don't take translate into account.
[Mesa-dev] [PATCH v3] swr: calculate viewport width/height based on the scale
The former calculations were for min/max y. The width/height don't take translate into account. Signed-off-by: Ilia Mirkin--- v2 -> v3: - reduce viewport width when clamping the x/y offsets to 0 - subtract vp->y from height, not vp->x Let's hope I don't need to write a