OSDN Git Service

isl/state: Don't use designated initializers for the surface state
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jun 2016 23:53:19 +0000 (16:53 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Jun 2016 19:33:35 +0000 (20:33 +0100)
commitbf59ce88695bc73263c0c2655da7952b31a185c5
treee6da061a55a6cd1a59f1311bd8f7494f10c5f6d4
parent0a7671a3098ef73f839771dd15a637744ff97f45
isl/state: Don't use designated initializers for the surface state

While designated initializers are nice, they also force us to put some
things in the initializer and some things later.  Surface state setup is
complicated enough that this really hurts readability in the long run.

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