Bug 27250

Summary: glEnable(GL_VERTEX PROGRAM POINT SIZE) doesn't work
Product: Mesa Reporter: Neil Roberts <nroberts>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Test case
Piglit test case

Description Neil Roberts 2010-03-22 10:37:15 UTC
Created attachment 34328 [details]
Test case

Under GL 2.0 you are meant to be able to write to the gl_PointSize output from the vertex shader to change the point size per-vertex. This doesn't appear to work in Mesa.

The attachment is a simple program that draws a single point in the center of the screen. It uses a vertex shader to change the size of the point to 32 pixels. Under Mesa git master this ends up being a single pixel but on an NVIDIA machine it correctly ends up as 32 pixels.
Comment 1 Neil Roberts 2010-04-20 16:00:21 UTC
Created attachment 35190 [details] [review]
Piglit test case

Here is the test rewritten as a patch for piglit.
Comment 2 Gordon Jin 2010-08-01 18:45:06 UTC
This test case has been committed as piglit glsl-vs-point-size. And the test result has changed to pass since about one week ago.

Tested with mesa master branch on Piketon (i965).

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.