llvmpipe: disable half float formats
authorAlan Hourihane <alanh@vmware.com>
Tue, 13 Apr 2010 14:40:29 +0000 (15:40 +0100)
committerAlan Hourihane <alanh@vmware.com>
Tue, 13 Apr 2010 14:40:49 +0000 (15:40 +0100)
src/gallium/drivers/llvmpipe/lp_screen.c

index 6d309c6b6474741b95d2d3be2b01649cd3ff415a..a30f3c4e9f49b461ccbfabf6a4a1dd7bb6a8d266 100644 (file)
@@ -187,6 +187,11 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
    case PIPE_FORMAT_DXT3_RGBA:
    case PIPE_FORMAT_DXT5_RGBA:
       return util_format_s3tc_enabled;
+   case PIPE_FORMAT_R16_FLOAT:
+   case PIPE_FORMAT_R16G16_FLOAT:
+   case PIPE_FORMAT_R16G16B16_FLOAT:
+   case PIPE_FORMAT_R16G16B16A16_FLOAT:
+      return FALSE;
    default:
       break;
    }