projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e22da1e
)
iris: fix sampler view crashes
author
Kenneth Graunke
<kenneth@whitecape.org>
Sun, 22 Apr 2018 05:44:04 +0000
(22:44 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:06 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index 4460f80d217494f28e7f01a6511a42523bb5e3b6..a3ebf3d0399bfc7e86d8564e9579bca6c72d1462 100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-1296,7
+1296,7
@@
static void
iris_sampler_view_destroy(struct pipe_context *ctx,
struct pipe_sampler_view *state)
{
- struct iris_s
urface
*isv = (void *) state;
+ struct iris_s
ampler_view
*isv = (void *) state;
pipe_resource_reference(&state->texture, NULL);
pipe_resource_reference(&isv->surface_state_resource, NULL);
free(isv);