commit | 26f9469a46585f64b24fb1037aaae7c757a5e6e1 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Sat Nov 07 22:35:33 2015 -0800 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Fri Nov 13 15:15:46 2015 -0800 |
tree | 962a004e13f5d893097e6a2c905620189ea6e5b7 | |
parent | d12bde0944d1d69401ef1d854aa0ab92b5a6af54 [diff] |
nir: Add helpers for getting input/output intrinsic sources. With the many variants of IO intrinsics, particular sources are often in different locations. It's convenient to say "give me the indirect offset" or "give me the vertex index" and have it just work, without having to think about exactly which kind of intrinsic you have. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>