projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3460e6c
)
vk/meta: Destroy shader modules
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 23 Jul 2015 00:51:26 +0000
(17:51 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 23 Jul 2015 00:51:26 +0000
(17: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 f2629156f3c67a13bda896a17be111fd26ad91a2..8ee7eb012e63efbcec043b264a39cf3971b9c311 100644
(file)
--- a/
src/vulkan/anv_meta.c
+++ b/
src/vulkan/anv_meta.c
@@
-141,6
+141,7
@@
anv_device_init_meta_clear_state(struct anv_device *device)
},
&device->meta_state.clear.pipeline);
+ anv_DestroyShaderModule(anv_device_to_handle(device), fsm);
anv_DestroyShader(anv_device_to_handle(device), fs);
}
@@
-476,7
+477,9
@@
anv_device_init_meta_blit_state(struct anv_device *device)
},
&device->meta_state.blit.pipeline);
+ anv_DestroyShaderModule(anv_device_to_handle(device), vsm);
anv_DestroyShader(anv_device_to_handle(device), vs);
+ anv_DestroyShaderModule(anv_device_to_handle(device), fsm);
anv_DestroyShader(anv_device_to_handle(device), fs);
}