diff options
author | Tom Stellard <[email protected]> | 2013-07-09 21:21:39 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-07-22 22:43:17 +0200 |
commit | 4e90bc9a12bea93c6b5522abe8151a8cfe1d6d1d (patch) | |
tree | 866d0fdf30df11db8092d75f8bf9aa3a561a5877 /src/gallium/drivers/i915 | |
parent | c09a4cbbafc2c05dd36902400bb066b96c1f26c8 (diff) |
gallium: Add PIPE_CAP_ENDIANNESS
Cc: [email protected]
[ Francisco Jerez: Fix "PIPE_ENDIAN_SMALL" in the documentation,
define PIPE_ENDIAN_NATIVE. ]
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 3c751c51bb0..556dda8d337 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -263,6 +263,8 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER: return 0; + case PIPE_CAP_ENDIANNESS: + return PIPE_ENDIAN_LITTLE; default: debug_printf("%s: Unknown cap %u.\n", __FUNCTION__, cap); |