Re: [Mesa-dev] [PATCH 1/3] i965: Call brw_cache_flush_for_render in predraw_resolve_framebuffer

2018-01-16 Thread Kenneth Graunke
On Tuesday, January 16, 2018 3:15:40 PM PST Jason Ekstrand wrote: > This makes sure we flush things out of other caches prior to using a > surface through the render cache. Currently, this is a no-op because GL > won't let you bind anything other than a color surface as color so it > should never

Re: [Mesa-dev] [PATCH 1/3] i965: Call brw_cache_flush_for_render in predraw_resolve_framebuffer

2018-01-16 Thread Jason Ekstrand
This makes sure we flush things out of other caches prior to using a surface through the render cache. Currently, this is a no-op because GL won't let you bind anything other than a color surface as color so it should never end up in the depth cache. However, this does complete the flush/add_bo p

[Mesa-dev] [PATCH 1/3] i965: Call brw_cache_flush_for_render in predraw_resolve_framebuffer

2017-12-13 Thread Jason Ekstrand
This makes sure we flush things out such as depth writes prior to using a surface through the render cache. Besides the overhead of a hash table look-up, this function is harmless to call repeatedly with the same arguments. Cc: "17.3" --- src/mesa/drivers/dri/i965/brw_draw.c | 2 ++ 1 file chan