Re: [Mesa-dev] [PATCH] i965: Fix gl_VertexID when there are no other vertex inputs.

2012-12-17 Thread Kenneth Graunke
On 12/17/2012 10:03 AM, Paul Berry wrote: brw_emit_vertices contains special case logic to handle the case where a vertex shader doesn't read any inputs. This special case logic was incorrectly activating in the case were the only vertex input is gl_VertexID. As a result, if a shader used gl_Ve

[Mesa-dev] [PATCH] i965: Fix gl_VertexID when there are no other vertex inputs.

2012-12-17 Thread Paul Berry
brw_emit_vertices contains special case logic to handle the case where a vertex shader doesn't read any inputs. This special case logic was incorrectly activating in the case were the only vertex input is gl_VertexID. As a result, if a shader used gl_VertexID but used no other inputs, then all ve