llvmpipe: update for half float formats

This commit is contained in:
Alan Hourihane 2010-04-23 19:26:03 +01:00
parent f73feb9cd6
commit 00f8e5764d
1 changed files with 1 additions and 1 deletions

View 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'):