diff options
author | Samuel Pitoiset <[email protected]> | 2017-06-19 17:34:45 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-20 10:14:52 +0200 |
commit | f00e80e3f7d357d1540f4e743e44b199265d6f56 (patch) | |
tree | 6e86bc193710695224444a10c562ff4c2d7ec183 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | bf5ca4f0b2e145064194ec0470258439b8a2e44e (diff) |
radeonsi: keep track of the sampler state for texture handles
Needed for updating all resident texture descriptors when
dirty_tex_counter changes.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index afe68a3d35d..0c77f933127 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -243,6 +243,7 @@ struct si_texture_handle { struct si_bindless_descriptor *desc; struct pipe_sampler_view *view; + struct si_sampler_state sstate; }; struct si_image_handle |