Re: [Mesa-dev] [PATCH v2 4/9] nir/deref: Add helpers for getting offsets

2018-07-02 Thread Jason Ekstrand
On Mon, Jul 2, 2018 at 11:10 AM, Kenneth Graunke wrote: > On Friday, June 29, 2018 5:13:52 PM PDT Jason Ekstrand wrote: > > These are very similar to the related function in nir_lower_io except > > that they don't handle per-vertex or packed things (that could be added, > > in theory) and they ta

Re: [Mesa-dev] [PATCH v2 4/9] nir/deref: Add helpers for getting offsets

2018-07-02 Thread Kenneth Graunke
On Friday, June 29, 2018 5:13:52 PM PDT Jason Ekstrand wrote: > These are very similar to the related function in nir_lower_io except > that they don't handle per-vertex or packed things (that could be added, > in theory) and they take a more detailed size/align function pointer. > One day, we shou

[Mesa-dev] [PATCH v2 4/9] nir/deref: Add helpers for getting offsets

2018-06-29 Thread Jason Ekstrand
These are very similar to the related function in nir_lower_io except that they don't handle per-vertex or packed things (that could be added, in theory) and they take a more detailed size/align function pointer. One day, we should consider switching nir_lower_io over to using the more detailed siz