commit | c35f9792202c4450d19c5616e2a38b9e81e418fe | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Fri Aug 05 17:10:18 2016 -0700 |
committer | Eric Anholt <eric@anholt.net> | Fri Aug 19 13:11:36 2016 -0700 |
tree | 58ac7d76a5932a8dff9e3afe1828a30dae4eddd1 | |
parent | 24728637e2c006012e4c0a3d87629b53beaddd3b [diff] |
nir: Add nir_builder support for individual system value loads. The previous nir_load_system_value(b, nir_intrinsic_load_whatever), 0) was rather verbose, when system values should be easy to generate. The index is left out because only one system value had an index included in it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>