radeonsi: use #pragma pack to pack si_shader_key
authorMarek Olšák <marek.olsak@amd.com>
Mon, 19 Jun 2017 23:21:19 +0000 (01:21 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 27 Jun 2017 16:45:07 +0000 (18:45 +0200)
commitf9a7e7fe144767219d6722d79cc75330dc888106
treedb8c4500a4362471f67db897fcc18831fef2c325
parent77d2a98353462241306452cc36229f891c4b5af6
radeonsi: use #pragma pack to pack si_shader_key

sizeof(struct si_shader_key):
  Before reverting the 2 commits: 120 bytes
  After reverting the 2 commits: 128 bytes
  With #pragma pack: 107 bytes

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.h