Re: [Mesa-dev] [PATCH 20/22] st/nine: Capture also default matrices for D3DSBT_ALL

2018-09-23 Thread Axel Davy
It should be last_index += D3DTS_WORLDMATRIX(0) - 10; I drop this patch from the serie and patch 21/22 as they need more testing. On 9/23/18 7:00 PM, Axel Davy wrote: We avoid allocating space for never unused matrices. However we must do as if we had captured them. Thus when a D3DSBT_ALL

[Mesa-dev] [PATCH 20/22] st/nine: Capture also default matrices for D3DSBT_ALL

2018-09-23 Thread Axel Davy
We avoid allocating space for never unused matrices. However we must do as if we had captured them. Thus when a D3DSBT_ALL stateblock apply has fewer matrices than device state, allocate the default matrices for the stateblock before applying. Signed-off-by: Axel Davy ---