summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2010-04-13 15:40:29 +0100
committerAlan Hourihane <alanh@vmware.com>2010-04-13 15:40:49 +0100
commitefc69ca61cf8fe7d2d44d177e7737999b6a114b5 (patch)
tree25fc6d97aa211b87ae4e76322743f719d82ccbc7
parent1e7f191d3a320d14fa6fff161d57ddb7e9299e48 (diff)
llvmpipe: disable half float formats
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 6d309c6b64..a30f3c4e9f 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -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;
}