Re: [Mesa-dev] [PATCH 4/5] intel: decoder: fix starting dword of struct fields

2018-05-02 Thread Kenneth Graunke
On Wednesday, May 2, 2018 2:57:50 AM PDT Lionel Landwerlin wrote: > On 02/05/18 07:44, Kenneth Graunke wrote: > > On Tuesday, May 1, 2018 4:43:05 PM PDT Lionel Landwerlin wrote: > >> Struct fields might span several dwords, but iter_dword is incremented > >> up to the last dword of the current fiel

Re: [Mesa-dev] [PATCH 4/5] intel: decoder: fix starting dword of struct fields

2018-05-02 Thread Lionel Landwerlin
On 02/05/18 07:44, Kenneth Graunke wrote: On Tuesday, May 1, 2018 4:43:05 PM PDT Lionel Landwerlin wrote: Struct fields might span several dwords, but iter_dword is incremented up to the last dword of the current field before we print out the struct's fields. We can't use iter_dword for computin

Re: [Mesa-dev] [PATCH 4/5] intel: decoder: fix starting dword of struct fields

2018-05-01 Thread Kenneth Graunke
On Tuesday, May 1, 2018 4:43:05 PM PDT Lionel Landwerlin wrote: > Struct fields might span several dwords, but iter_dword is incremented > up to the last dword of the current field before we print out the > struct's fields. We can't use iter_dword for computing the offset into > the pointer of data

[Mesa-dev] [PATCH 4/5] intel: decoder: fix starting dword of struct fields

2018-05-01 Thread Lionel Landwerlin
Struct fields might span several dwords, but iter_dword is incremented up to the last dword of the current field before we print out the struct's fields. We can't use iter_dword for computing the offset into the pointer of data to decode. Signed-off-by: Lionel Landwerlin --- src/intel/common/gen