vc4: Add support for ETC1 textures if the kernel is new enough

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 16 November 2016 21:45 UTC

The kernel changes for exposing the param have now been merged, so we can expose it here.

45c022f vc4: Add support for ETC1 textures if the kernel is new enough.
src/gallium/drivers/vc4/vc4_context.h | 4 ++++
src/gallium/drivers/vc4/vc4_screen.c | 13 ++++++++-----
src/gallium/drivers/vc4/vc4_screen.h | 5 +++++
src/gallium/drivers/vc4/vc4_simulator.c | 1 +
4 files changed, 18 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share