OSDN Git Service

isl/state: Don't set SurfacePitch for gen9 1-D textures
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 9 Jun 2016 22:08:13 +0000 (15:08 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Jun 2016 19:49:05 +0000 (20:49 +0100)
commit72cc8544a85d373307b97b489053485af5bd926f
tree68aa4345120156069280bc8ccc9bcb9b4d56d246
parentfcefb53c37a99c741270a67c979286fdfa7cdc3d
isl/state: Don't set SurfacePitch for gen9 1-D textures

This field is ignored by the hardware in this case and, on very large 1-D
textures, it can end up being larger than the maximum allowed value.

Reviewed-by: Chad Versace <chad.versace@intel.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit ce24097abe1427463ac300a686e4c36ea07464fc)
src/intel/isl/isl_surface_state.c