diff options
author | Jakob Bornecrantz <[email protected]> | 2010-03-25 00:41:21 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-03-25 00:45:31 +0100 |
commit | b4b4ac668116d974522df2ce56e30b74ecdfef77 (patch) | |
tree | 3de16a25d26a8728cf70723f07ccc5ed07d64b74 /src/gallium/drivers/i915/i915_screen.c | |
parent | 372011bc892481e61c273a12d9601fd6008751ea (diff) |
i915g: Correct and add supperted texture formats
Diffstat (limited to 'src/gallium/drivers/i915/i915_screen.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index e5bf4a20bd0..48a39edad20 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -165,8 +165,12 @@ i915_is_format_supported(struct pipe_screen *screen, unsigned geom_flags) { static const enum pipe_format tex_supported[] = { - PIPE_FORMAT_A8B8G8R8_UNORM, PIPE_FORMAT_B8G8R8A8_UNORM, + PIPE_FORMAT_B8G8R8X8_UNORM, + PIPE_FORMAT_R8G8B8A8_UNORM, +#if 0 + PIPE_FORMAT_R8G8B8X8_UNORM, +#endif PIPE_FORMAT_B5G6R5_UNORM, PIPE_FORMAT_L8_UNORM, PIPE_FORMAT_A8_UNORM, |