diff options
author | Kenneth Graunke <[email protected]> | 2014-02-25 12:21:41 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-27 00:05:55 -0800 |
commit | 80c1b9349c861cc023c4f25c329a3c0ed4695b9e (patch) | |
tree | 8f45f89c1313faf3c49a5d78be2b76a7eb5ba3d4 /src/gallium/auxiliary/util/u_format.h | |
parent | 9b1a6745f6b827170ac29a00510dbb740c81a116 (diff) |
i965: Convert VUE map generation checks to if rather than switch.
There are currently only two VUE map layouts: one for Gen4-5, and one
for everything else. We keep having to add new "case N+1" labels for
every new hardware generation, and so far it's always been the same.
This patch makes it so we only have to do work in the case where
something actually changes.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_format.h')
0 files changed, 0 insertions, 0 deletions