Re: [Mesa-dev] [PATCH] intel/decoder: Use gen_group::dw_length when available

2018-04-23 Thread Lionel Landwerlin
On 23/04/18 12:20, Topi Pohjolainen wrote: Otherwise gen_group_get_length() will try to use first fields of, for example, CC_VIEWPORT and SF_CLIP to determine the group size. These packets are not present in the state with full header but simply with their contents while equivalent state pointers

[Mesa-dev] [PATCH] intel/decoder: Use gen_group::dw_length when available

2018-04-23 Thread Topi Pohjolainen
Otherwise gen_group_get_length() will try to use first fields of, for example, CC_VIEWPORT and SF_CLIP to determine the group size. These packets are not present in the state with full header but simply with their contents while equivalent state pointers (3DSTATE_VIEWPORT_STATE_POINTERS_CC and 3DST