diff options
author | Henri Verbeet <[email protected]> | 2011-01-30 18:57:39 +0100 |
---|---|---|
committer | Henri Verbeet <[email protected]> | 2011-01-30 18:59:13 +0100 |
commit | 38b54158b68479e1f97c8452ba0d67f50dce7582 (patch) | |
tree | a899fdb5944ccf2d3e59a80a470ca2cfc673ff4b /src/gallium/drivers/r600/r600_resource.h | |
parent | 3f0a966807f03a364edea0272ddf45f08ab7ce4f (diff) |
r600g: Update the flushed depth texture after drawing to the corresponding texture.
I know Jerome will probably rewrite the way depth textures work sometime
soon. For the time being this should at least make common depth texture usage
for shadowing work properly though.
Diffstat (limited to 'src/gallium/drivers/r600/r600_resource.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h index 6e302444712..5b5df5a5bac 100644 --- a/src/gallium/drivers/r600/r600_resource.h +++ b/src/gallium/drivers/r600/r600_resource.h @@ -63,6 +63,7 @@ struct r600_resource_texture { unsigned depth; unsigned dirty; struct r600_resource_texture *flushed_depth_texture; + bool flushed; }; #define R600_BUFFER_MAGIC 0xabcd1600 |