Bug 27250 - glEnable(GL_VERTEX PROGRAM POINT SIZE) doesn't work
Summary: glEnable(GL_VERTEX PROGRAM POINT SIZE) doesn't work
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
Depends on:
Reported: 2010-03-22 10:37 UTC by Neil Roberts
Modified: 2010-08-01 18:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Test case (5.98 KB, text/x-csrc)
2010-03-22 10:37 UTC, Neil Roberts
Piglit test case (5.83 KB, patch)
2010-04-20 16:00 UTC, Neil Roberts
Details | Splinter Review

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.