diff options
author | Marek Olšák <[email protected]> | 2016-11-04 12:30:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-11-05 18:36:26 +0100 |
commit | 0f72f7292a865e50d6165d4273b529ea656031c8 (patch) | |
tree | 9403761fc0c7a1145fd9cf5201231abfe14c0c3c /src/gallium/winsys/radeon | |
parent | 0c17b0b6f089e325de6a3f871c8d799326be4202 (diff) |
winsys/radeon: don't call surface_best for FMASK
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98518
Acked-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c index 8324d2891b3..4d2aceffec6 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c @@ -231,7 +231,7 @@ static int radeon_winsys_surface_init(struct radeon_winsys *rws, surf_winsys_to_drm(&surf_drm, tex, flags, bpe, mode, surf_ws); - if (!(flags & RADEON_SURF_IMPORTED)) { + if (!(flags & (RADEON_SURF_IMPORTED | RADEON_SURF_FMASK))) { r = radeon_surface_best(ws->surf_man, &surf_drm); if (r) return r; |