Bug 11910 - DrawElements not work if data's offset in vertex buffer is not 0
Summary: DrawElements not work if data's offset in vertex buffer is not 0
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-09 00:27 UTC by WuNian
Modified: 2009-08-24 12:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (2.67 KB, text/plain)
2007-08-09 00:27 UTC, WuNian
Details

Description WuNian 2007-08-09 00:27:11 UTC
If store vertex and index data in vertex buffer and the data's offset is not 0, the glDrawElements will draw nothing.
If the data's offset in buffer is 0, glDrawElements work correctly.
Comment 1 WuNian 2007-08-09 00:27:49 UTC
Created attachment 11055 [details]
test case
Comment 2 haihao 2007-09-13 20:06:19 UTC
fix in mesa git ea07a0df9a2f689b8f5acaf92c40bbbd602cab3c.

BTW, your test case is incorrect.
Comment 3 Adam Jackson 2009-08-24 12:27:41 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.