isl/state: Only set cube face enables if usage includes CUBE_BIT
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jun 2016 01:21:17 +0000 (18:21 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Jun 2016 19:26:43 +0000 (12:26 -0700)
commit14d7c16e50f88720fa27722522d4ff89972a4f9d
tree46a6658b215fb65781e2e614ba3699c697b738e0
parent5d24e9cfa126971518be662e57021322ebf67a9a
isl/state: Only set cube face enables if usage includes CUBE_BIT

It seems safe to set it all the time, but this reduces the diff between
the way i965 does it and what ISL does.

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