Summary: | glEnable(GL_VERTEX PROGRAM POINT SIZE) doesn't work | ||
---|---|---|---|
Product: | Mesa | Reporter: | Neil Roberts <nroberts> |
Component: | Mesa core | Assignee: | 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 |
Created attachment 35190 [details] [review] Piglit test case Here is the test rewritten as a patch for piglit. 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.
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.