isl/state: Don't set RenderTargetViewExtent for texture surfaces
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Jun 2016 23:40:24 +0000 (16:40 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Jun 2016 19:26:43 +0000 (12:26 -0700)
commit215282c9f41432a245e79cdf5f8328c6785e924a
tree700ef646fe3c5d84e70c46ca559c9df9302ce0be
parentbb326f7b01daeb97e544873f20a23614ed54c548
isl/state: Don't set RenderTargetViewExtent for texture surfaces

The docs specify that this only matters for render targets and surfaces
used with typed dataport messages.  On some platforms (gen4-6) the Depth
field has more bits than RenderTargetViewExtent so we can have textures
with more levels than we can render to.

Reviewed-by: Chad Versace <chad.versace@intel.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/intel/isl/isl_surface_state.c