Re: [Mesa-dev] [PATCH] i965: Fix gl_DrawID in the vec4 backend.

2016-02-13 Thread Kristian Høgsberg
On Sat, Feb 13, 2016 at 12:45 PM, Kenneth Graunke wrote: > brw_draw_upload.c uploads VertexID/InstanceID first, then DrawID. > So we need to assign the attribute mapping in that order as well. > > Fixes the following Pigit tests with the vec4 backend: > - arb_shader_draw_parameters-drawid vertexid

[Mesa-dev] [PATCH] i965: Fix gl_DrawID in the vec4 backend.

2016-02-13 Thread Kenneth Graunke
brw_draw_upload.c uploads VertexID/InstanceID first, then DrawID. So we need to assign the attribute mapping in that order as well. Fixes the following Pigit tests with the vec4 backend: - arb_shader_draw_parameters-drawid vertexid - arb_shader_draw_parameters-drawid-indirect basevertex Signed-of