Re: [Mesa-dev] [PATCH v2 1/4] i965: Always set a valid block end pointer

2014-06-09 Thread Kenneth Graunke
On Monday, June 09, 2014 11:29:35 AM Iago Toral wrote: > On Mon, 2014-06-09 at 02:22 -0700, Kenneth Graunke wrote: > > On Thursday, June 05, 2014 03:03:05 PM Iago Toral Quiroga wrote: > > > When a instruction stream ends in a block structure (like a IF/ELSE/ENDIF) > > the > > > last block's end p

Re: [Mesa-dev] [PATCH v2 1/4] i965: Always set a valid block end pointer

2014-06-09 Thread Iago Toral
On Mon, 2014-06-09 at 02:22 -0700, Kenneth Graunke wrote: > On Thursday, June 05, 2014 03:03:05 PM Iago Toral Quiroga wrote: > > When a instruction stream ends in a block structure (like a IF/ELSE/ENDIF) > the > > last block's end pointer will not be set, leading to a crash later on in > > fs_live

Re: [Mesa-dev] [PATCH v2 1/4] i965: Always set a valid block end pointer

2014-06-09 Thread Kenneth Graunke
On Thursday, June 05, 2014 03:03:05 PM Iago Toral Quiroga wrote: > When a instruction stream ends in a block structure (like a IF/ELSE/ENDIF) the > last block's end pointer will not be set, leading to a crash later on in > fs_live_variables::setup_def_use(). > > If we have not assigned the end po

[Mesa-dev] [PATCH v2 1/4] i965: Always set a valid block end pointer

2014-06-05 Thread Iago Toral Quiroga
When a instruction stream ends in a block structure (like a IF/ELSE/ENDIF) the last block's end pointer will not be set, leading to a crash later on in fs_live_variables::setup_def_use(). If we have not assigned the end pointer of the last block, set it to the last instruction. --- src/mesa/drive