projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d301efb
)
gallium/radeon: clear dirty_level_mask when discarding CMASK
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 19 Aug 2016 23:22:39 +0000
(
01:22
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 29 Aug 2016 12:23:58 +0000
(14:23 +0200)
This fixes: GL45-CTS.texture_barrier.*
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_texture.c
b/src/gallium/drivers/radeon/r600_texture.c
index
9629fbb
..
e19150b
100644
(file)
--- a/
src/gallium/drivers/radeon/r600_texture.c
+++ b/
src/gallium/drivers/radeon/r600_texture.c
@@
-362,6
+362,7
@@
static void r600_texture_discard_cmask(struct r600_common_screen *rscreen,
/* Disable CMASK. */
memset(&rtex->cmask, 0, sizeof(rtex->cmask));
rtex->cmask.base_address_reg = rtex->resource.gpu_address >> 8;
+ rtex->dirty_level_mask = 0;
if (rscreen->chip_class >= SI)
rtex->cb_color_info &= ~SI_S_028C70_FAST_CLEAR(1);