diff options
author | Marek Olšák <[email protected]> | 2012-09-08 15:50:30 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-14 05:55:00 +0200 |
commit | df5e2c058f73b72909fa99a2a189f5877525e3bf (patch) | |
tree | 6a53b97f1f29fd95757163d798749e3bc7e9486a /src/gallium/drivers/r600/evergreen_state.c | |
parent | 61706915a3b5644faf7a5e67f47c9c593620bf8c (diff) |
r600g: do not require MSAA renderbuffer support if not asked for
to allow stencil-only sampler-only formats (like X24S8)
NOTE: This is a candidate for the stable branches.
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 8235c719f6b..816e7df4145 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -643,13 +643,6 @@ boolean evergreen_is_format_supported(struct pipe_screen *screen, default: return FALSE; } - - /* require render-target support for multisample resources */ - if (util_format_is_depth_or_stencil(format)) { - usage |= PIPE_BIND_DEPTH_STENCIL; - } else { - usage |= PIPE_BIND_RENDER_TARGET; - } } if ((usage & PIPE_BIND_SAMPLER_VIEW) && |