projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8bae6
)
isl/surface_state: Fix array spacing on Gen7
author
Nanley Chery
<nanley.g.chery@intel.com>
Mon, 29 Feb 2016 19:24:34 +0000
(11:24 -0800)
committer
Nanley Chery
<nanley.g.chery@intel.com>
Mon, 29 Feb 2016 19:43:33 +0000
(11:43 -0800)
v2: Don't cast the enum to a boolean (Jason)
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/intel/isl/isl_surface_state.c
patch
|
blob
|
history
diff --git
a/src/intel/isl/isl_surface_state.c
b/src/intel/isl/isl_surface_state.c
index 12f4fb6bd98d3571e050198b02ca5d0b93ed16cc..0f45100fba33e237ffb63aac67ddb6ff7e8b8ae6 100644
(file)
--- a/
src/intel/isl/isl_surface_state.c
+++ b/
src/intel/isl/isl_surface_state.c
@@
-227,6
+227,11
@@
isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
.VerticalLineStride = 0,
.VerticalLineStrideOffset = 0,
+#if (GEN_GEN == 7)
+ .SurfaceArraySpacing = info->surf->array_pitch_span ==
+ ISL_ARRAY_PITCH_SPAN_COMPACT,
+#endif
+
#if GEN_GEN >= 8
.SamplerL2BypassModeDisable = true,
#endif