intel: remove intel_format_is_stencil()
It is not needed since the update to XGL_FORMAT by
2b7e88a1fdefc49d78e80765745e87e00034c2a0.
diff --git a/icd/intel/layout.c b/icd/intel/layout.c
index d1e208c..57b8ba8 100644
--- a/icd/intel/layout.c
+++ b/icd/intel/layout.c
@@ -259,7 +259,7 @@
/* every LOD begins at tile boundaries */
if (info->mipLevels > 1) {
- intel_format_is_stencil(params->gpu, layout->format);
+ assert(layout->format == XGL_FMT_S8_UINT);
cur_x = u_align(cur_x, 64);
cur_y = u_align(cur_y, 64);
}
@@ -632,7 +632,7 @@
*/
layout->walk =
(params->info->imageType == XGL_IMAGE_3D) ? INTEL_LAYOUT_WALK_3D :
- intel_format_is_stencil(params->gpu, layout->format) ? INTEL_LAYOUT_WALK_LOD :
+ (layout->format == XGL_FMT_S8_UINT) ? INTEL_LAYOUT_WALK_LOD :
INTEL_LAYOUT_WALK_LAYER;
/* GEN6 supports only interleaved samples */
@@ -927,7 +927,7 @@
align_h = 32;
break;
default:
- if (intel_format_is_stencil(params->gpu, layout->format)) {
+ if (layout->format == XGL_FMT_S8_UINT) {
/*
* From the Sandy Bridge PRM, volume 1 part 2, page 22:
*