i965: Simplify SO_DECL handling.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Feb 2017 22:05:55 +0000 (14:05 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Jun 2017 07:08:29 +0000 (00:08 -0700)
commit6d60121fa0274f6d19934544764ab8e335e603de
tree8064fc76ed736606e646ff202b531adb3976de36
parent9a690ada94c60768100373092ea050c524545cfb
i965: Simplify SO_DECL handling.

We can initialize structs directly, avoid some temporaries, and cut out
about half of the skip component handling.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/mesa/drivers/dri/i965/genX_state_upload.c