<div dir="ltr"><div><div>Woohoo! Thanks for doing all this. Series is<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br><br></div>I think I would feel a tiny bit more comfortable if, for each info field, you squashed the 2-5 corresponding patches together.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 20, 2016 at 1:47 AM, Timothy Arceri <span dir="ltr"><<a href="mailto:timothy.arceri@collabora.com" target="_blank">timothy.arceri@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This temporary helper is no longer needed now that we have finished<br>
refactoring common shader metadata.<br>
---<br>
src/compiler/Makefile.sources | 4 +---<br>
src/compiler/shader_info.c | 32 ------------------------------<wbr>--<br>
src/mesa/main/shaderapi.c | 2 --<br>
3 files changed, 1 insertion(+), 37 deletions(-)<br>
delete mode 100644 src/compiler/shader_info.c<br>
<br>
diff --git a/src/compiler/Makefile.<wbr>sources b/src/compiler/Makefile.<wbr>sources<br>
index df1db0c..a30443d 100644<br>
--- a/src/compiler/Makefile.<wbr>sources<br>
+++ b/src/compiler/Makefile.<wbr>sources<br>
@@ -5,9 +5,7 @@ LIBCOMPILER_FILES = \<br>
nir_types.cpp \<br>
nir_types.h \<br>
shader_enums.c \<br>
- shader_enums.h \<br>
- shader_info.c \<br>
- shader_info.h<br>
+ shader_enums.h<br>
<br>
# libglsl<br>
<br>
diff --git a/src/compiler/shader_info.c b/src/compiler/shader_info.c<br>
deleted file mode 100644<br>
index 1171bbf..0000000<br>
--- a/src/compiler/shader_info.c<br>
+++ /dev/null<br>
@@ -1,32 +0,0 @@<br>
-/*<br>
- * Copyright © 2016 Intel Corporation<br>
- *<br>
- * Permission is hereby granted, free of charge, to any person obtaining a<br>
- * copy of this software and associated documentation files (the "Software"),<br>
- * to deal in the Software without restriction, including without limitation<br>
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,<br>
- * and/or sell copies of the Software, and to permit persons to whom the<br>
- * Software is furnished to do so, subject to the following conditions:<br>
- *<br>
- * The above copyright notice and this permission notice (including the next<br>
- * paragraph) shall be included in all copies or substantial portions of the<br>
- * Software.<br>
- *<br>
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br>
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br>
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL<br>
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br>
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING<br>
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS<br>
- * IN THE SOFTWARE.<br>
- *<br>
- */<br>
-<br>
-#include "mesa/main/mtypes.h"<br>
-<br>
-void<br>
-copy_shader_info(const struct gl_shader_program *shader_prog,<br>
- struct gl_linked_shader *sh)<br>
-{<br>
- shader_info *info = &sh->Program->info;<br>
-}<br>
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c<br>
index 73b8931..be3c203 100644<br>
--- a/src/mesa/main/shaderapi.c<br>
+++ b/src/mesa/main/shaderapi.c<br>
@@ -2209,8 +2209,6 @@ _mesa_copy_linked_program_<wbr>data(const struct gl_shader_program *src,<br>
default:<br>
break;<br>
}<br>
-<br>
- copy_shader_info(src, dst_sh);<br>
}<br>
<br>
/**<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.4<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>