i965: Add helper for lossless compression support
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 8 Feb 2016 16:13:17 +0000 (18:13 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 12 May 2016 16:49:22 +0000 (19:49 +0300)
commita6e0f1cc7fff4009ea204c75d3f8a2f1e26e42ef
tree2120c9d77f21f9c04bd90f10807ee61ff9920116
parent874c5f05dbc8eca2d14a14f32fdd964808c53b7e
i965: Add helper for lossless compression support

v2: Check explicitly against base type of GL_FLOAT instead of
    using _mesa_is_format_integer_color(). Otherwise we miss
    GL_UNSIGNED_NORMALIZED.
v3 (Ben): Also call intel_miptree_supports_non_msrt_fast_clear()
          in order to really check everything.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h