anv: Re-emit all compute state on pipeline switch
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 7 Dec 2019 00:26:59 +0000 (18:26 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Sat, 7 Dec 2019 04:03:35 +0000 (04:03 +0000)
commit0f60aa4037dfb6aa86d5b9524fe649f13b2b8825
treee965d7c301959714404005166153a5a9b663511c
parentbce1c3c668223254c4cb4ba4e83aed8c3e22b469
anv: Re-emit all compute state on pipeline switch

It's a very odd case to hit in the real world.  However, there are some
CTS tests which switch back and forth between dispatch and clear without
changing the pipeline.

Fixes: bc612536eb2f "anv: Emit a dummy MEDIA_VFE_STATE before switching..."
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/vulkan/genX_cmd_buffer.c