Mesa (master): llvmpipe: update for half float formats
Alan Hourihane
alanh at kemper.freedesktop.org
Fri Apr 23 18:26:18 UTC 2010
Module: Mesa
Branch: master
Commit: 00f8e5764d5b41714704c94575a5b6f873340a2f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00f8e5764d5b41714704c94575a5b6f873340a2f
Author: Alan Hourihane <alanh at vmware.com>
Date: Fri Apr 23 19:26:03 2010 +0100
llvmpipe: update for half float formats
---
src/gallium/drivers/llvmpipe/lp_tile_soa.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_tile_soa.py b/src/gallium/drivers/llvmpipe/lp_tile_soa.py
index 65810b6..4e9cd7e 100644
--- a/src/gallium/drivers/llvmpipe/lp_tile_soa.py
+++ b/src/gallium/drivers/llvmpipe/lp_tile_soa.py
@@ -58,7 +58,7 @@ def is_format_supported(format):
channel = format.channels[i]
if channel.type not in (VOID, UNSIGNED, SIGNED, FLOAT):
return False
- if channel.type == FLOAT and channel.size not in (32 ,64):
+ if channel.type == FLOAT and channel.size not in (16, 32 ,64):
return False
if format.colorspace not in ('rgb', 'srgb'):
More information about the mesa-commit
mailing list