[Piglit] [PATCH] shader_runner: clean up resident handles at exit time
Samuel Pitoiset
samuel.pitoiset at gmail.com
Thu Apr 27 08:42:50 UTC 2017
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
tests/shaders/shader_runner.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 2047d6cb0..6ac5f9893 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -3765,6 +3765,9 @@ piglit_display(void)
for (i = 0; i < ARRAY_SIZE(texture_bindings); i++)
clear_texture_binding(i);
+ for (i = 0; i < ARRAY_SIZE(resident_handles); i++)
+ clear_resident_handle(i);
+
if (prog != 0) {
glDeleteProgram(prog);
glUseProgram(0);
--
2.12.2
More information about the Piglit
mailing list