commit | 8750299a420af76cebd3067f6f603eacde06ae06 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Tue Feb 09 14:51:28 2016 -0800 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Wed Feb 10 16:33:50 2016 -0800 |
tree | 9668b5b42f3029de2472090f6e7d9f0e676b8164 | |
parent | 70dff4a55e767de8b9ce10f055b94ebb1f6a9755 [diff] |
nir: Remove the const_offset from nir_tex_instr When NIR was originally drafted, there was no easy way to determine if something was constant or not. The result was that we had lots of special-casing for constant values such as this. Now that load_const instructions are SSA-only, it's really easy to find constants and this isn't really needed anymore. Reviewed-by: Connor Abbott <cwabbott0@gmail.com> Reviewed-by: Rob Clark <robclark@gmail.com>