i965/blorp: Correct type of src_format in call to intel_miptree_texture_aux_usage
authorScott D Phillips <scott.d.phillips@intel.com>
Wed, 9 Aug 2017 22:52:30 +0000 (15:52 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Aug 2017 17:41:54 +0000 (10:41 -0700)
commitf7dfc44c617bec0f847ebe49b8672a64354ab13d
treeca16bd98016247065b50a68cd68b7a4627ea448b
parent91d93aa62162f98d6377e5c796b63faa263f2c18
i965/blorp: Correct type of src_format in call to intel_miptree_texture_aux_usage

intel_miptree_texture_aux_usage() takes an isl_format, but we are
passing a mesa_format. clang warns:

 brw_blorp.c:305:52: warning: implicit conversion from enumeration
    type 'mesa_format' to different enumeration type
    'enum isl_format' [-Wenum-conversion]
       intel_miptree_texture_aux_usage(brw, src_mt, src_format);
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ^~~~~~~~~~

Fixes: fc1639e46d ("i965/blorp: Use texture/render_aux_usage for blits")
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_blorp.c