intel/batch_decoder: fix decoding of sampler states
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Fri, 19 Mar 2021 08:57:33 +0000 (09:57 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Mar 2021 08:36:55 +0000 (08:36 +0000)
commit56cd91bc7cececd04aeb9fe2d93ebc55b226983e
tree53d10360b882d65cd34d1c832c6225a872c5bd70
parentcd0f9cdb6e372757fd639619d3f9e1883d6fd5eb
intel/batch_decoder: fix decoding of sampler states

There's only 1 sampler state behind
3DSTATE_SAMPLER_STATE_POINTERS[_VS|_HS|_DS|_GS|_PS] and
3DSTATE_SAMPLER_STATE_POINTERS.[PointertoVSSamplerState|PointertoPSSamplerState|PointertoGSSamplerState].

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9707>
src/intel/common/intel_batch_decoder.c