summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-12-27 15:53:12 -0500
committerMarek Olšák <[email protected]>2020-01-03 15:07:11 -0500
commitba10fb3f7f41f7ec9e260117a3e037dadd57b9b5 (patch)
tree6595cd47ac008207f42eb8d6670726f7690d5a2d /src/gallium/drivers/radeon
parent1de06e540a1de6d857c5fd804e21a26840458c02 (diff)
radeonsi: preserve the scanout flag for shared resources on gfx9 and gfx10
Closes: #2195 Closes: #2294 Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/radeon_winsys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h
index 5fef2d11016..15893bd0b28 100644
--- a/src/gallium/drivers/radeon/radeon_winsys.h
+++ b/src/gallium/drivers/radeon/radeon_winsys.h
@@ -220,6 +220,8 @@ struct radeon_bo_metadata {
unsigned dcc_offset_256B:24;
unsigned dcc_pitch_max:14; /* (mip chain pitch - 1) for DCN */
unsigned dcc_independent_64B:1;
+
+ bool scanout;
} gfx9;
} u;