isl: Add per-gen format introspection
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 20 May 2016 22:42:34 +0000 (15:42 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 May 2016 02:12:34 +0000 (19:12 -0700)
commit7374d006b6d1f09483c986a3f1b5f55cce007b04
treee6e1bab1c4fb821623c7107b942af07d33fb8b5c
parent03a82dc5d1056e733c39326983b1b1755da10d48
isl: Add per-gen format introspection

This is just a copy-and-paste from brw_surface_formats.c.  For the
supports_vertex_fetch function, we do a bit more work so that it properly
handles Bay Trail.
src/intel/isl/isl.h
src/intel/isl/isl_format.c