diff options
author | Marek Olšák <[email protected]> | 2017-07-31 16:53:19 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-07-31 17:11:30 +0200 |
commit | d85802e501a67e193a4a363cfe3b4c17c3d9e2e9 (patch) | |
tree | a815a00a3479edf1f222719dadd6ba248e509208 | |
parent | 49bdb73becf11334988d2364980e554ec5319cfc (diff) |
Revert "st/mesa: release sampler views when redefining a texture in st_context_teximage"
This reverts commit 5c1241268ba9b240cb79ab9a30c5255b176c83c9.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101961
Cc: 17.2 <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_manager.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 4b4d4ac86e4..62924b099e9 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -48,7 +48,6 @@ #include "st_cb_fbo.h" #include "st_cb_flush.h" #include "st_manager.h" -#include "st_sampler_view.h" #include "state_tracker/st_gl_api.h" @@ -736,7 +735,6 @@ st_context_teximage(struct st_context_iface *stctxi, pipe_resource_reference(&stImage->pt, tex); stObj->surface_format = pipe_format; - st_texture_release_all_sampler_views(st, stObj); stObj->needs_validation = true; _mesa_dirty_texobj(ctx, texObj); |