From 4e90bc9a12bea93c6b5522abe8151a8cfe1d6d1d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 9 Jul 2013 21:21:39 -0700 Subject: gallium: Add PIPE_CAP_ENDIANNESS Cc: mesa-stable@lists.freedesktop.org [ Francisco Jerez: Fix "PIPE_ENDIAN_SMALL" in the documentation, define PIPE_ENDIAN_NATIVE. ] --- src/gallium/drivers/svga/svga_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/svga') diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 7bf62859048..40b35ccb6f8 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -270,6 +270,8 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param) return 1; case PIPE_CAP_MAX_VIEWPORTS: return 1; + case PIPE_CAP_ENDIANNESS: + return PIPE_ENDIAN_LITTLE; } debug_printf("Unexpected PIPE_CAP_ query %u\n", param); -- cgit v1.2.3