diff options
author | Michel Dänzer <[email protected]> | 2012-11-20 17:33:19 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-11-28 13:35:16 +0100 |
commit | 49003a5cb658751a85383cd6600006e094f453bc (patch) | |
tree | 637026db1e653291467cfc14f0b6f02cb848a539 /src/gallium/drivers/radeonsi/radeonsi_pipe.h | |
parent | 3c024624fd3b5c4c43471ad06120cb988c045196 (diff) |
radeonsi: Fix sampler views for depth textures.
Consistently reference the flushed depth texture in the sampler view, not the
original one.
Signed-off-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h index 1bd8bfbbcfd..1ccf95274dc 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h @@ -71,6 +71,7 @@ struct r600_screen { struct si_pipe_sampler_view { struct pipe_sampler_view base; + struct si_resource *resource; uint32_t state[8]; }; |