http://bugs.winehq.org/show_bug.cgi?id=15033
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|stefan@codeweavers.com |stefandoesinger@gmx.at
--- Comment #7 from Stefan Dösinger stefandoesinger@gmx.at 2008-09-03 09:36:00 --- The problem is that the fixed function pipeline description contains 3 padding bytes which are uninitialized, but still processed in the hash function. Thus we have 3 bytes adding random data, thus we are constantly generating new shaders. I'll send a patch for this.
Your patch is not correct because (I think) shader_addline may HeapReAlloc the buffer if it runs out of space