http://bugs.winehq.org/show_bug.cgi?id=29144
--- Comment #30 from Martín Perazzo rechapita@hotmail.com 2012-01-19 08:24:07 CST --- (In reply to comment #29)
What you really want here is GL_ARB_instanced_arrays.
Also, please generate diffs with git. If you really have to use diff, use diff -u.
ok. I made 2 attempts to modify drawStridedInstanced to use GL_ARB_instanced_arrays.
try 1: attempt to specify the vertex attributes via glVertexAttribPointer assuming they all the attributes of an instance are equally spaced in memory and of the same type.
try 2: do not assume type and spacing and specify each attribute individually
Both attempts caused the same type of crash previous to the NV_VERTEX_PROGRAM fix and im a little on the dark on how to debug them.
Im also unsure if GLtypes and sizes Im specifing in send_attribute_inst_arrays are correct.
Please help. I only have half a clue of what im doing.
Also, this is kind of getting off-topic continuing this discussion here. Should I open a new bug to discuss this?