wined3d: Add WINED3D_BUFFER_HASDESC at index buffer creation

Norbert Lataille nlataill at
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
for Indexes,
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:
Impact on X3TC, WoW is less visible: (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...
Name: 0001-Add-WINED3D_BUFFER_HASDESC-at-index-buffer-creation.txt
Type: text/x-patch
Size: 406 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list