isl: Add func isl_surf_get_depth_format()
authorChad Versace <chad.versace@intel.com>
Tue, 9 Feb 2016 02:48:41 +0000 (18:48 -0800)
committerChad Versace <chad.versace@intel.com>
Tue, 9 Feb 2016 18:02:50 +0000 (10:02 -0800)
commit0a9306799380ff13dc21c0b7626a0e1a4d338d7d
tree174e197517923ddfc814729f0f790eb2ad457ddb
parent4d037b551e1ac78bec22ce4472b3466d4b2b1f9a
isl: Add func isl_surf_get_depth_format()

For depth surfaces, it gets the value for
3DSTATE_DEPTH_BUFFER.SurfaceFormat.
src/isl/isl.c
src/isl/isl.h