Re: [Mesa-dev] [PATCH] i965/gen6: Fix crash with VS+TF after rendering with GS

2015-01-16 Thread Tapani Pälli
Reviewed-by: Tapani Pälli On 01/07/2015 11:08 AM, Iago Toral Quiroga wrote: Rendering with a GS and then using transform feedback with a program that does not have a GS can crash in gen6. The reason for this is that brw_begin_transform_feedback checks brw->geometry_program to decide if there is

[Mesa-dev] [PATCH] i965/gen6: Fix crash with VS+TF after rendering with GS

2015-01-07 Thread Iago Toral Quiroga
Rendering with a GS and then using transform feedback with a program that does not have a GS can crash in gen6. The reason for this is that brw_begin_transform_feedback checks brw->geometry_program to decide if there is a GS program, but this is not correct: brw->geometry_program is updated when is