diff options
author | Roland Scheidegger <[email protected]> | 2010-05-17 21:29:17 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-05-17 21:29:17 +0200 |
commit | 39b4bf71b55ce4553e877868dcbf6e7502cbc696 (patch) | |
tree | e4f55aabcda5bdcf341abed1f4010d0b8ee16944 /src/gallium/drivers/r300/r300_screen.c | |
parent | b59b23a51dc17da59ccff0b3f8a73009056746e5 (diff) |
r300g: adapt to interface changes
might need further cleanup. Using surfaces internally for the u_blitter code
seems nonoptimal.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index c0391267031..b7f1c617f03 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -198,6 +198,7 @@ static float r300_get_paramf(struct pipe_screen* pscreen, int param) static boolean r300_is_format_supported(struct pipe_screen* screen, enum pipe_format format, enum pipe_texture_target target, + unsigned sample_count, unsigned usage, unsigned geom_flags) { @@ -221,6 +222,9 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, return FALSE; } + if (sample_count > 1) + return FALSE; + /* Check sampler format support. */ if ((usage & PIPE_BIND_SAMPLER_VIEW) && /* Z24 cannot be sampled from on non-r5xx. */ |