Re: [Mesa-dev] [PATCH 11/11] intel/tools/error: Decode compute shaders.

2017-11-13 Thread Lionel Landwerlin
On 13/11/17 21:40, Kenneth Graunke wrote: On Sunday, November 12, 2017 4:06:06 AM PST Lionel Landwerlin wrote: On 12/11/17 08:35, Kenneth Graunke wrote: This is a bit more annoying than your average shader - we need to look at MEDIA_INTERFACE_DESCRIPTOR_LOAD in the batch buffer, then hop over

Re: [Mesa-dev] [PATCH 11/11] intel/tools/error: Decode compute shaders.

2017-11-13 Thread Kenneth Graunke
On Sunday, November 12, 2017 4:06:06 AM PST Lionel Landwerlin wrote: > On 12/11/17 08:35, Kenneth Graunke wrote: > > This is a bit more annoying than your average shader - we need to look > > at MEDIA_INTERFACE_DESCRIPTOR_LOAD in the batch buffer, then hop over > > to the dynamic state buffer to

Re: [Mesa-dev] [PATCH 11/11] intel/tools/error: Decode compute shaders.

2017-11-12 Thread Lionel Landwerlin
On 12/11/17 08:35, Kenneth Graunke wrote: This is a bit more annoying than your average shader - we need to look at MEDIA_INTERFACE_DESCRIPTOR_LOAD in the batch buffer, then hop over to the dynamic state buffer to read the INTERFACE_DESCRIPTOR_DATA, then hop over to the instruction buffer to

[Mesa-dev] [PATCH 11/11] intel/tools/error: Decode compute shaders.

2017-11-12 Thread Kenneth Graunke
This is a bit more annoying than your average shader - we need to look at MEDIA_INTERFACE_DESCRIPTOR_LOAD in the batch buffer, then hop over to the dynamic state buffer to read the INTERFACE_DESCRIPTOR_DATA, then hop over to the instruction buffer to decode the program. Now that we store all the