Re: [Mesa-dev] vertex shader that processes 0 vertex data

2010-09-01 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Airlie wrote: > I was looking at glsl-vs-point-size in piglit today and it doesn't > work on gallium. > > void main() > { > gl_Position = vec4(0.0, 0.0, 0.0, 1.0); > gl_PointSize = 16.0; > gl_FrontColor = vec4(1.0, 1.0, 1.

Re: [Mesa-dev] vertex shader that processes 0 vertex data

2010-09-01 Thread keith whitwell
On Wed, Sep 1, 2010 at 7:14 AM, Dave Airlie wrote: > I was looking at glsl-vs-point-size in piglit today and it doesn't > work on gallium. > > void main() > { >        gl_Position = vec4(0.0, 0.0, 0.0, 1.0); >        gl_PointSize = 16.0; >        gl_FrontColor = vec4(1.0, 1.0, 1.0, 1.0); > } > > S

[Mesa-dev] vertex shader that processes 0 vertex data

2010-08-31 Thread Dave Airlie
I was looking at glsl-vs-point-size in piglit today and it doesn't work on gallium. void main() { gl_Position = vec4(0.0, 0.0, 0.0, 1.0); gl_PointSize = 16.0; gl_FrontColor = vec4(1.0, 1.0, 1.0, 1.0); } Since the vertex shader doesn't have any declared inputs, we work out