diff options
author | Axel Davy <[email protected]> | 2015-05-14 19:10:41 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-08-21 22:21:48 +0200 |
commit | 98f786b270b3e55a1e8a7bdc8182e436702748a2 (patch) | |
tree | b09732737de2a35d3cf2ca05a58dcfcb52a97378 /src/gallium/state_trackers/nine/device9.h | |
parent | f5effeb8eaf16e39a2f561b4b277f3810a69fc88 (diff) |
st/nine: Calculate dummy sampler state only once
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/device9.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/device9.h b/src/gallium/state_trackers/nine/device9.h index f109f3cefdb..98d9c4df06a 100644 --- a/src/gallium/state_trackers/nine/device9.h +++ b/src/gallium/state_trackers/nine/device9.h @@ -84,7 +84,8 @@ struct NineDevice9 uint16_t max_ps_const_f; struct pipe_resource *dummy_texture; - struct pipe_sampler_view *dummy_sampler; + struct pipe_sampler_view *dummy_sampler_view; + struct pipe_sampler_state dummy_sampler_state; struct gen_mipmap_state *gen_mipmap; |