[Bug 54877] [bisected] rendering corrupted for windows larger than 2048 pixels in one dimension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugs.freedesktop.org/show_bug.cgi?id=54877

--- Comment #3 from Vadim Girlin <ptpzz@xxxxxxxxx> 2012-09-14 06:35:08 UTC ---
(In reply to comment #2)
> Created attachment 67121 [details] [review]
> fix
> 
> This fixes it.  I need to find out how the quant mode affects the range of
> values.

My guess is that QUANT_MODE determines the position of fixed point for internal
calculations in hw. Quantization precision 1/4096 means 12 bits, and it looks
like we have 11 bits before the point in that case, with 23 bits total. So if
we need to increase the range, we have to move the point lowering the
precision.

I've tried 1/256 and other values on evergreen for initial implementation of
that patch in hope that it'll be enough, but IIRC 1/4096 fixed more tests
(though possibly some test results were simply random). If some tests are
really failing due to lower precision, I guess we might want to adjust
QUANT_MODE dynamically.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux