i965: Fix return type of brw_isl_format_for_mesa_format() [v2]
authorChad Versace <chadversary@chromium.org>
Sat, 27 May 2017 01:22:40 +0000 (18:22 -0700)
committerChad Versace <chadversary@chromium.org>
Thu, 1 Jun 2017 19:39:35 +0000 (12:39 -0700)
commit77e3c836f893d42a609a22bf32a63174ff948070
tree13a1a206ae18c04f941e5c911d86881711a072a9
parent84ede214fc817ac6715894ab199a30477a0b6b23
i965: Fix return type of brw_isl_format_for_mesa_format() [v2]

It returns an isl_format, not uint32_t BRW_FORMAT.
I updated every brw_isl_format_for_mesa_format() found by git-grep.

No change in behavior.

v2: Rebased atop Anuj's patch, which has some of the same fixes.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v1)
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c