Re: [Mesa-dev] [PATCH 3/4] anv/pipeline: Put actual pointers in anv_shader_bin

2016-11-02 Thread Pohjolainen, Topi
On Tue, Nov 01, 2016 at 08:09:12PM -0700, Jason Ekstrand wrote: > While we can simply calculate offsets to get to things such as the > prog_data and the key, it's much more user-friendly if there are just > pointers. Also, it's a bit more fool-proof. > > While we're at it, we rework the pipeline

[Mesa-dev] [PATCH 3/4] anv/pipeline: Put actual pointers in anv_shader_bin

2016-11-01 Thread Jason Ekstrand
While we can simply calculate offsets to get to things such as the prog_data and the key, it's much more user-friendly if there are just pointers. Also, it's a bit more fool-proof. While we're at it, we rework the pipeline cache API to use the brw_stage_prog_data type directly. Signed-off-by: Ja