OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Jun 2016 19:46:31 +0000 (20:46 +0100)
commita49f97fae327cea8de57641121619564c65bf140
tree8b0d5e38de2cbe41ff66a16d22d27f3772134093
parent672872051d1db4d8a3be7747b341f65cd964c862
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>
(cherry picked from commit 14d7c16e50f88720fa27722522d4ff89972a4f9d)
src/intel/isl/isl_surface_state.c