[Bug 29137] [r300g] troubles with wine and "r300: Max size of the constant buffer is 256*4 floats."

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

 



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

--- Comment #12 from Marek Olšák <maraeo@xxxxxxxxx> 2010-08-20 21:59:33 PDT ---
Henri,

I was thinking about this issue and realized that the way you allocate constant
space in wine is wrong. The problem is you create one large array "uniform vec4
VC[256]". If this array is addressed indirectly, that is using e.g.
VC[index+20] where "index" cannot be evaluated at compile time, we must assume
*any* element in the array may potentially be used and therefore we cannot
eliminate unused elements, because there appears to be none.

We can do the optimization if there is no indirect addressing, but we cannot do
this for all cases and say "it's fixed once and for all".

-- 
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