freedreno/a6xx: Create stateobj for VFD_DECODE
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 21 May 2020 08:38:44 +0000 (01:38 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 May 2020 18:59:56 +0000 (18:59 +0000)
commit7aa809e31c77a7b0fdfa5c3f818edabc288148cd
treeada555a95d40d2edfad9fd62a6ce2b2f1f1d076a
parent8952dd6d991fd5041a48df31f849e8ddbcb74046
freedreno/a6xx: Create stateobj for VFD_DECODE

This now only depends on vertex state and we can create it once
up front in pctx->create_vertex_elements_state().

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5140>
src/gallium/drivers/freedreno/a6xx/fd6_context.c
src/gallium/drivers/freedreno/a6xx/fd6_context.h
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h
src/gallium/drivers/freedreno/freedreno_state.c