llvmpipe: update for half float formats
authorAlan Hourihane <alanh@vmware.com>
Fri, 23 Apr 2010 18:26:03 +0000 (19:26 +0100)
committerAlan Hourihane <alanh@vmware.com>
Fri, 23 Apr 2010 18:26:03 +0000 (19:26 +0100)
src/gallium/drivers/llvmpipe/lp_tile_soa.py

index 65810b6f8ff2b65570d5472cd5461e5fa1422a88..4e9cd7e123ffc373283d3e9ef3eebccf157301dc 100644 (file)
@@ -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'):