freedreno: helper for a3xx/a4xx border-colors
authorRob Clark <robclark@freedesktop.org>
Tue, 15 Sep 2015 13:23:21 +0000 (09:23 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 15 Sep 2015 21:29:01 +0000 (17:29 -0400)
commit9124a49d54af5d7bd8230af4ba3eebfb167a7655
tree2459d22c222a38509fa4c2ba126b5c0f0296f9bb
parent76977222af3dcf6c0915830c7b7af06505f8cd9a
freedreno: helper for a3xx/a4xx border-colors

Both use the same layout for the buffer containing border-color values,
so rather than duplicating the logic in a4xx, split it out into a
helper.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_context.h
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/freedreno_texture.c
src/gallium/drivers/freedreno/freedreno_texture.h