projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel/fs: Fix a typo in need_matching_subreg_offset
[mesa.git]
/
src
/
intel
/
isl
/
isl_emit_depth_stencil.c
diff --git
a/src/intel/isl/isl_emit_depth_stencil.c
b/src/intel/isl/isl_emit_depth_stencil.c
index 51b3f005c01d601bb16270b5b86f3b4292996638..9cf5a476687d1f028c17725471405c72e619bb0a 100644
(file)
--- a/
src/intel/isl/isl_emit_depth_stencil.c
+++ b/
src/intel/isl/isl_emit_depth_stencil.c
@@
-104,7
+104,7
@@
isl_genX(emit_depth_stencil_hiz_s)(const struct isl_device *dev, void *batch,
db.MIPMapLayoutMode = MIPLAYOUT_BELOW;
#endif
db.MIPMapLayoutMode = MIPLAYOUT_BELOW;
#endif
- db.SurfacePitch = info->depth_surf->row_pitch - 1;
+ db.SurfacePitch = info->depth_surf->row_pitch
_B
- 1;
#if GEN_GEN >= 8
db.SurfaceQPitch =
isl_surf_get_array_pitch_el_rows(info->depth_surf) >> 2;
#if GEN_GEN >= 8
db.SurfaceQPitch =
isl_surf_get_array_pitch_el_rows(info->depth_surf) >> 2;
@@
-140,7
+140,7
@@
isl_genX(emit_depth_stencil_hiz_s)(const struct isl_device *dev, void *batch,
#if GEN_GEN >= 6
sb.StencilBufferMOCS = info->mocs;
#endif
#if GEN_GEN >= 6
sb.StencilBufferMOCS = info->mocs;
#endif
- sb.SurfacePitch = info->stencil_surf->row_pitch - 1;
+ sb.SurfacePitch = info->stencil_surf->row_pitch
_B
- 1;
#if GEN_GEN >= 8
sb.SurfaceQPitch =
isl_surf_get_array_pitch_el_rows(info->stencil_surf) >> 2;
#if GEN_GEN >= 8
sb.SurfaceQPitch =
isl_surf_get_array_pitch_el_rows(info->stencil_surf) >> 2;
@@
-162,7
+162,7
@@
isl_genX(emit_depth_stencil_hiz_s)(const struct isl_device *dev, void *batch,
hiz.SurfaceBaseAddress = info->hiz_address;
hiz.HierarchicalDepthBufferMOCS = info->mocs;
hiz.SurfaceBaseAddress = info->hiz_address;
hiz.HierarchicalDepthBufferMOCS = info->mocs;
- hiz.SurfacePitch = info->hiz_surf->row_pitch - 1;
+ hiz.SurfacePitch = info->hiz_surf->row_pitch
_B
- 1;
#if GEN_GEN >= 8
/* From the SKL PRM Vol2a:
*
#if GEN_GEN >= 8
/* From the SKL PRM Vol2a:
*