freedreno/{a4xx,a5xx}: switch to CP_LOAD_STATE4
authorRob Clark <robdclark@gmail.com>
Mon, 3 Apr 2017 17:38:02 +0000 (13:38 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 17 Apr 2017 18:00:05 +0000 (14:00 -0400)
commit9567beab36f3ac0f0d326e0e81f370d80e56a5a8
treef3d4520940310b9aee4b306904de6db5f74e43ef
parentdfdb1fed784d566180e23407d934445462a5d3d9
freedreno/{a4xx,a5xx}: switch to CP_LOAD_STATE4

The layout of CP_LOAD_STATE packet is slightly different on a4xx+.
Switch to the a4xx+ specific CP_LOAD_STATE4 to get the correct encoding.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
src/gallium/drivers/freedreno/a5xx/fd5_format.h
src/gallium/drivers/freedreno/a5xx/fd5_program.c