i965: Replace BRW_SURFACEFORMAT_* with ISL_FORMAT_*.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 2 Mar 2017 07:31:15 +0000 (23:31 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 2 Mar 2017 08:30:45 +0000 (00:30 -0800)
commit58793e514b6c57924b08d3a9c766ed05e8d9662a
tree3d2c848c4367cd74e48cef23734c24eb6d613693
parent92281b2c7f61d6fb8f7cc43eac15bb487f1e9848
i965: Replace BRW_SURFACEFORMAT_* with ISL_FORMAT_*.

One less set of enums.  Dropped the #defines from brw_defines.h and ran:

$ for file in *.cpp *.c *.h; do sed -i \
      -e 's/BRW_SURFACEFORMAT_/ISL_FORMAT_/g' \
      -e 's/ISL_FORMAT_ASTC_[A-Zxs0-9_]*/\U&/g' $file; \
  done

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_binding_tables.c
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_cs_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/drivers/dri/i965/gen8_draw_upload.c
src/mesa/drivers/dri/i965/gen8_surface_state.c