intel/isl: Add an isl_swizzle_supports_rendering helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 9 Feb 2017 01:21:54 +0000 (17:21 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 May 2018 18:16:33 +0000 (11:16 -0700)
commitdad67cc24576622ef989a9bb66a5b13cc275cfae
tree0cefa044709d415b71bb360643a21f585089a42e
parent23d703de1fb140bb2ed4da247961d89a69f27140
intel/isl: Add an isl_swizzle_supports_rendering helper

This helper encodes more details, specifically about Haswell, than the
previous asserts in isl_surface_state.c.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/isl/isl.c
src/intel/isl/isl.h
src/intel/isl/isl_surface_state.c