projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49bdb73
)
Revert "st/mesa: release sampler views when redefining a texture in st_context_teximage"
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 31 Jul 2017 14:53:19 +0000
(16:53 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 31 Jul 2017 15:11:30 +0000
(17:11 +0200)
This reverts commit
5c1241268ba9b240cb79ab9a30c5255b176c83c9
.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101961
Cc: 17.2 <mesa-stable@lists.freedesktop.org>
src/mesa/state_tracker/st_manager.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_manager.c
b/src/mesa/state_tracker/st_manager.c
index 4b4d4ac86e449b5a74c74cc907765102d07a726b..62924b099e93eb8efffd909c7bdefdcee4ac57f3 100644
(file)
--- 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);