Re: [Mesa-dev] [PATCH] i965: Make brw_clear_cache NULL out stale program pointers.

2016-02-11 Thread Francisco Jerez
Kenneth Graunke writes: > The L3 partitioning code tries to look at all programs - both render > programs (VS/TCS/TES/GS/FS) and compute (CS). > > After calling brw_clear_cache, all prog_data pointers are invalid and > point to freed data. The intention was that flagging the dirty bits for > all

Re: [Mesa-dev] [PATCH] i965: Make brw_clear_cache NULL out stale program pointers.

2016-02-11 Thread Jordan Justen
Reviewed-by: Jordan Justen On 2016-02-11 22:56:42, Kenneth Graunke wrote: > The L3 partitioning code tries to look at all programs - both render > programs (VS/TCS/TES/GS/FS) and compute (CS). > > After calling brw_clear_cache, all prog_data pointers are invalid and > point to freed data. The i

[Mesa-dev] [PATCH] i965: Make brw_clear_cache NULL out stale program pointers.

2016-02-11 Thread Kenneth Graunke
The L3 partitioning code tries to look at all programs - both render programs (VS/TCS/TES/GS/FS) and compute (CS). After calling brw_clear_cache, all prog_data pointers are invalid and point to freed data. The intention was that flagging the dirty bits for all programs would cause the next draw c