summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_resource.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-04-03 02:25:58 -0400
committerRob Clark <[email protected]>2015-04-05 16:36:34 -0400
commit1fee3061d531a9f4068952209926ad518aab07ee (patch)
tree06f2281edcc4efd29df1de8b253e768dcdcb99cb /src/gallium/drivers/freedreno/freedreno_resource.h
parentea0952a9db1b5887f915d8f750f5fa9c45719976 (diff)
freedreno: add a reading flag to indicate gpu is reading rsc
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_resource.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_resource.h b/src/gallium/drivers/freedreno/freedreno_resource.h
index bad36813461..1f246328969 100644
--- a/src/gallium/drivers/freedreno/freedreno_resource.h
+++ b/src/gallium/drivers/freedreno/freedreno_resource.h
@@ -66,7 +66,7 @@ struct fd_resource {
uint32_t layer_size;
struct fd_resource_slice slices[MAX_MIP_LEVELS];
uint32_t timestamp;
- bool dirty;
+ bool dirty, reading;
};
static INLINE struct fd_resource *