diff options
author | Marek Olšák <[email protected]> | 2012-09-13 00:34:56 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-30 18:57:56 +0200 |
commit | ff2d192ec50e6a8cbaa8f14bca989fe5b61a3c46 (patch) | |
tree | a5f32b49c872d2ce0deb7e67348d7de83cacbdbe /src/gallium/drivers/llvmpipe/lp_screen.c | |
parent | 6d2f59ce5494a9435b6b3d3faa1d94ba6caad100 (diff) |
llvmpipe: implement blit
Tested-by: Michel Dänzer <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index e0c229b9dbf..b64a6c0f36c 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -297,6 +297,10 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, if (!format_desc) return FALSE; + /* Z16 support is missing, which breaks the blit */ + if (format == PIPE_FORMAT_Z16_UNORM) + return FALSE; + assert(target == PIPE_BUFFER || target == PIPE_TEXTURE_1D || target == PIPE_TEXTURE_2D || |