Re: [Mesa-dev] [PATCH 2/2] i965: Fix state flagging of Gen6 SOL programs.

2017-08-30 Thread Jordan Justen
On 2017-08-22 19:09:23, Kenneth Graunke wrote: > It doesn't seem like the old code could possibly work. > > 1. brw_gs_state_dirty made us bail unless one of these flags were set: >_NEW_TEXTURE, BRW_NEW_GEOMETRY_PROGRAM, BRW_NEW_TRANSFORM_FEEDBACK > 2. If there was no geometry program, we calle

[Mesa-dev] [PATCH 2/2] i965: Fix state flagging of Gen6 SOL programs.

2017-08-22 Thread Kenneth Graunke
It doesn't seem like the old code could possibly work. 1. brw_gs_state_dirty made us bail unless one of these flags were set: _NEW_TEXTURE, BRW_NEW_GEOMETRY_PROGRAM, BRW_NEW_TRANSFORM_FEEDBACK 2. If there was no geometry program, we called brw_upload_ff_gs_prog()3 3. That checked brw_ff_gs_stat