vc4: Add support for all the texture and FBO formats we can.
authorEric Anholt <eric@anholt.net>
Wed, 20 Aug 2014 06:14:51 +0000 (23:14 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 Aug 2014 17:16:57 +0000 (10:16 -0700)
commitb064c9103d8fc0bb4ae8fe597b4d9de82a274638
tree87bc8bcbe21c01bcbf55ac9063da5f622c20185e
parent3a1efcc7f9f99d42cda191ded1eb78140366c708
vc4: Add support for all the texture and FBO formats we can.

Now that tiling is in place, we can expose the other formats.  Depth is
still broken (need to make changes in the shader), but if you don't expose
it things crash all over.  SNORM is dropped, but we could re-add it later
with some shader fixes to handle converting between [0,1] and [-1,1].
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_formats.c [new file with mode: 0644]
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_resource.c
src/gallium/drivers/vc4/vc4_screen.c