projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb9915
)
vk/meta: Destroy vertex shaders when setting up clearing
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 26 Aug 2015 01:51:26 +0000
(18:51 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 26 Aug 2015 01:51:26 +0000
(18:51 -0700)
src/vulkan/anv_meta.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_meta.c
b/src/vulkan/anv_meta.c
index 858a3daf11c7e31a76320134b3836c47e2cac7af..cdd357ddcc9ca31d3cc9917ace59c1b145ea7081 100644
(file)
--- a/
src/vulkan/anv_meta.c
+++ b/
src/vulkan/anv_meta.c
@@
-187,7
+187,9
@@
anv_device_init_meta_clear_state(struct anv_device *device)
},
&device->meta_state.clear.pipeline);
+ anv_DestroyShaderModule(anv_device_to_handle(device), vsm);
anv_DestroyShaderModule(anv_device_to_handle(device), fsm);
+ anv_DestroyShader(anv_device_to_handle(device), vs);
anv_DestroyShader(anv_device_to_handle(device), fs);
}