diff options
author | Kenneth Graunke <[email protected]> | 2012-12-28 12:45:14 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-01-03 13:36:04 -0800 |
commit | 82f8e8ebd57720f1e9d148c7dc65b14c218307df (patch) | |
tree | 5b27bf47cbab91f7ce66779b2f11f59e388a0a7d /bin | |
parent | 5bf357db89836d0f4e4b8a4cb559755d4734b81b (diff) |
i965: Replace structs with bit-shifting for Gen7 SURFACE_STATE entries.
Every generation except Gen7 creates SURFACE_STATE entries via a
uint32_t array. Only Gen7 uses the older bitfield structure, which we
moved away from because it was less efficient. Convert it for
consistency.
This reduces the compiled size of gen7_wm_surface_state.o by 2.86% in a
release build.
v2: Fix accidental use of BRW_SURFACE_WIDTH/HEIGHT in brw_state_dump.c;
switch back to gen7_set_surface_mcs_info setting surf[6] directly
(both per Eric's review comments).
Acked-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions