commit | e8378adc01a8cbb08e057fb2b50a9e2f8d95b36f | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Aug 24 00:25:21 2017 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Fri Aug 25 11:40:43 2017 -0700 |
tree | fc41ad9f59660d788f5e7f2c2cc442630b8aa5ee | |
parent | 1eb58960bfd30d575cca4fa3c600512751aab467 [diff] |
i965: Use GEN_GEN and GEN_IS_HASWELL in genX_state_upload.c code. We were using brw->gen, brw->is_haswell, and devinfo->gen in a few places, when we could just use GEN_GEN and GEN_IS_HASWELL, which are evaluated at compile time. Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>