freedreno/cffdec: Fix unitialized count for pkt2
authorRob Clark <robdclark@chromium.org>
Sat, 5 Nov 2022 19:03:33 +0000 (12:03 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Feb 2023 20:02:26 +0000 (20:02 +0000)
commitcb13e24758c52211ded2f61c89ab389fff2b994d
tree2a8515ba386cd2a0c39ae954ea7b80a721912b48
parent4060cf5772c1a1cd5dfc988d831ed63802d7db2c
freedreno/cffdec: Fix unitialized count for pkt2

This was causing us to use the size of the previous packet.  Which just
happened to land on a valid packet because pkt2 only followed a
CP_INDIRECT_BUFFER.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19551>
src/freedreno/.gitlab-ci/reference/dEQP-GLES2.functional.texture.specification.basic_teximage2d.rgba16f_2d.log
src/freedreno/.gitlab-ci/reference/glxgears-a420.log
src/freedreno/decode/cffdec.c