wined3d: Add WINED3D_BUFFER_HASDESC at index buffer creation
nlataill at gmail.com
Sat Aug 20 11:46:34 CDT 2011
Goal of this patch is to help creation of buffer objects for Index buffers.
I currently see many cases where wined3d doesn't create Buffer Objects
which looks like an unwanted side effect of VBO Desc logic.
Patch is forcing WINED3D_BUFFER_HASDESC flag at Index Buffer creation time,
but there may be other (better) ways to achieve the same result in buffer.c
Performance gains on 3dmark06: http://norbert.lataille.free.fr/boindex.html
Impact on X3TC, WoW is less visible:
http://norbert.lataille.free.fr/perf.html (line: Index).
Comments are welcome,
dlls/wined3d/buffer.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 406 bytes
Desc: not available
More information about the wine-patches