Bug 10687

Summary: wrong implement glDrawArray when glPolygonMode is GL_POINT
Product: Mesa Reporter: WuNian <nian.wu>
Component: Drivers/DRI/i965Assignee: Default DRI bug account <dri-devel>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: eric, haihao.xiang, wei.z.wang
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test case

Description WuNian 2007-04-19 18:46:12 UTC
First set glPolygonMode as GL_POINT, then assign the glVertexPoint and glNormalPoint, last call glDrawArray to draw a QUAD. The screen will draw a filled quad instead of four points. 



If use soft rendering by removing the 3D driver, the screen will display four points, it is correct.
Comment 1 WuNian 2007-04-19 18:47:45 UTC
Created attachment 9660 [details]
test case

With 915 driver, the screen will draw a filled quad instead of four points. And the quad's start point is at (7,6) instead of (5,6) in my test case.
Comment 2 Brian Paul 2007-04-26 09:46:34 UTC
Fixed in git.  This may also fix some other bugs related to software fallbacks.
Comment 3 Chris Rankin 2007-04-26 13:13:44 UTC
(In reply to comment #2)
> This may also fix some other bugs related to software fallbacks.

Ouch, my ears are burning... ;-). I'll restest those R100 failures (#10709, #10535) this weekend.
Comment 4 WuNian 2007-07-02 22:07:27 UTC
commit: b7f5b8af65603002f73b5f83b34d090536df6e00
Comment 5 WuNian 2007-07-04 00:47:44 UTC
The bug exists with i965 driver. Reopen it and change the component to i965.
Comment 6 WuNian 2007-07-16 01:16:06 UTC
With i965 driver, this case will draw four points but the pixels color is incorrect. Now the pixels color is (1.0,1.0,1.0), it should be (0.8, 0.8, 0.8).
Comment 7 haihao 2007-09-04 22:29:36 UTC

*** This bug has been marked as a duplicate of bug 11378 ***
Comment 8 Adam Jackson 2009-08-24 12:26:31 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.