v3d: Make an array for frag/vert texture state in the context.
authorEric Anholt <eric@anholt.net>
Tue, 4 Dec 2018 21:48:10 +0000 (13:48 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 8 Dec 2018 00:48:23 +0000 (16:48 -0800)
commit504d06e4c1c5664c1e208179a43adbbd27fd4522
treed67d493896a530c379508477abc1e4d74f057170
parentd1965344ac26e250f696ff15f6dff8aacbd1d6db
v3d: Make an array for frag/vert texture state in the context.

This simplifies a bunch of our texture handling, while introducing the
slots necessary for adding new shader stages.
src/gallium/drivers/v3d/v3d_blit.c
src/gallium/drivers/v3d/v3d_context.h
src/gallium/drivers/v3d/v3d_program.c
src/gallium/drivers/v3d/v3d_uniforms.c
src/gallium/drivers/v3d/v3dx_draw.c
src/gallium/drivers/v3d/v3dx_emit.c
src/gallium/drivers/v3d/v3dx_state.c