diff options
author | Jason Ekstrand <[email protected]> | 2016-06-28 14:20:15 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-08-17 14:46:22 -0700 |
commit | 1666d029aa3c7dc3fc4337c1ef583553a0e217c6 (patch) | |
tree | baa8339b9c6ba32e43fc437c4c28381a38d750ae /src | |
parent | 0aa0b397695b9001d5e962622909f9546e2a6836 (diff) |
isl/state: Use a valid alignment for 1-D textures
The alignment we use doesn't matter (see the comment) but it should at
least be an alignment we can represent with the enums.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/isl/isl_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index d1c8f17815a..6febcbf2b72 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -142,7 +142,7 @@ get_image_alignment(const struct isl_surf *surf) * true alignment is likely outside the enum range of HALIGN* and * VALIGN*. */ - return isl_extent3d(0, 0, 0); + return isl_extent3d(4, 4, 1); } else { /* In Skylake, RENDER_SUFFACE_STATE.SurfaceVerticalAlignment is in units * of surface elements (not pixels nor samples). For compressed formats, |