[Mesa-dev] [PATCH 2/7] i965: Add a variant of lower_mesa_image_format that takes native formats

Chad Versace chad.versace at intel.com
Mon Nov 9 12:23:02 PST 2015


On Wed 04 Nov 2015, Jason Ekstrand wrote:
> Eventually, we'll switch over to this new function and delete the old one
> completely.  However, duplicating it both makes the transition smoother and
> allows us to assert that they are the same.
> 
> While we're at it, we start a new file for collecting the various bits of
> the image_load_store workarounds.
> ---
>  src/mesa/drivers/dri/i965/Makefile.sources       |   2 +
>  src/mesa/drivers/dri/i965/brw_image_load_store.c | 138 +++++++++++++++++++++++
>  src/mesa/drivers/dri/i965/brw_image_load_store.h |  38 +++++++
>  src/mesa/drivers/dri/i965/brw_wm_surface_state.c |  10 +-
>  4 files changed, 186 insertions(+), 2 deletions(-)
>  create mode 100644 src/mesa/drivers/dri/i965/brw_image_load_store.c
>  create mode 100644 src/mesa/drivers/dri/i965/brw_image_load_store.h

My mind became numb when reviewing the sed job. Everything looked
correct, though, until I became bored.

Reviewed-by: Chad Versace <chad.versace at intel.com>



More information about the mesa-dev mailing list