diff options
author | Roland Scheidegger <[email protected]> | 2010-05-17 21:23:31 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-05-17 21:23:31 +0200 |
commit | e121a73d629856240a9676a4f0dff832d95c90c3 (patch) | |
tree | 9cedcfdf4ec29d66da0349394e8d51414d64c45f /src/gallium/drivers/llvmpipe/lp_screen.c | |
parent | 57a01712258c9d6063ef36bc359cffba3e7f9be1 (diff) |
llvmpipe: adapt to interface changes
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 111eedc4f23..5f50446f846 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -168,8 +168,9 @@ llvmpipe_get_paramf(struct pipe_screen *screen, int param) */ static boolean llvmpipe_is_format_supported( struct pipe_screen *_screen, - enum pipe_format format, + enum pipe_format format, enum pipe_texture_target target, + unsigned sample_count, unsigned bind, unsigned geom_flags ) { @@ -186,6 +187,9 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, target == PIPE_TEXTURE_3D || target == PIPE_TEXTURE_CUBE); + if (sample_count > 1) + return FALSE; + if (bind & PIPE_BIND_RENDER_TARGET) { if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) return FALSE; |