projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72d1669
)
winsys/amdgpu: set addrlib flag opt4Space
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 11 Nov 2016 20:19:34 +0000
(21:19 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 21 Nov 2016 20:44:35 +0000
(21:44 +0100)
Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
index d8ab28b36fdc3cd6a29249ce33213d5ec717de1a..08989b5cf531106a6cdac0a2761b341aaaa2826b 100644
(file)
--- a/
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
+++ b/
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
@@
-405,6
+405,7
@@
static int amdgpu_surface_init(struct radeon_winsys *rws,
!AddrSurfInfoIn.flags.fmask &&
tex->nr_samples <= 1 &&
(flags & RADEON_SURF_OPTIMIZE_FOR_SPACE);
+ AddrSurfInfoIn.flags.opt4Space = AddrSurfInfoIn.flags.degrade4Space;
/* DCC notes:
* - If we add MSAA support, keep in mind that CB can't decompress 8bpp