i965/fs: Import image format metadata queries.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 22 Apr 2015 13:45:28 +0000 (16:45 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 11 Aug 2015 12:07:39 +0000 (15:07 +0300)
commit26ca81ce3029cbd2531f52635258aecae19bf185
treedc93feb04c10af1ff3b3ca6dfa517b5b7ea89eba
parent86dbd8af40deaa99aedf011e863b908173e63012
i965/fs: Import image format metadata queries.

Define some utility functions to query the bitfield layout of a given
image format and whether it satisfies a number of more or less
hardware-specific properties.

v2: Drop VEC4 suport.
v3: Add SKL support.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_surface_builder.cpp