summaryrefslogtreecommitdiff
path: root/src/intel/blorp
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2017-05-11 21:01:18 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2017-05-26 07:58:01 -0700
commit675ec434f38bb4b8084a6751ff1ee205be408247 (patch)
tree8319cb29195635f501b87d90139d53399ace7d4e /src/intel/blorp
parente80f0840bfd8a29dafd58584c4d4de26f24ad876 (diff)
intel/blorp: Delete isl_to_gen_ds_surfype
It's no longer used. Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/intel/blorp')
-rw-r--r--src/intel/blorp/blorp_genX_exec.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index 0bb4b9aa2ff..5ce60d89f24 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -781,25 +781,6 @@ blorp_emit_ps_config(struct blorp_batch *batch,
#endif /* GEN_GEN */
}
-static const uint32_t isl_to_gen_ds_surftype [] = {
-#if GEN_GEN >= 9
- /* From the SKL PRM, "3DSTATE_DEPTH_STENCIL::SurfaceType":
- *
- * "If depth/stencil is enabled with 1D render target, depth/stencil
- * surface type needs to be set to 2D surface type and height set to 1.
- * Depth will use (legacy) TileY and stencil will use TileW. For this
- * case only, the Surface Type of the depth buffer can be 2D while the
- * Surface Type of the render target(s) are 1D, representing an
- * exception to a programming note above.
- */
- [ISL_SURF_DIM_1D] = SURFTYPE_2D,
-#else
- [ISL_SURF_DIM_1D] = SURFTYPE_1D,
-#endif
- [ISL_SURF_DIM_2D] = SURFTYPE_2D,
- [ISL_SURF_DIM_3D] = SURFTYPE_3D,
-};
-
static void
blorp_emit_depth_stencil_config(struct blorp_batch *batch,
const struct blorp_params *params)