<div dir="auto">I suspect this doesn't do what you'd expect. IIRC specifying online in a function in a .c file is pretty much useless because it only changes linking mode, not actually online's it.</div><div class="gmail_extra"><br><div class="gmail_quote">On 15 Nov 2017 15:43, "Samuel Pitoiset" <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>><br>
---<br>
src/amd/vulkan/radv_cmd_<wbr>buffer.c | 4 ++--<br>
1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/amd/vulkan/radv_cmd_<wbr>buffer.c b/src/amd/vulkan/radv_cmd_<wbr>buffer.c<br>
index 18503cd513..146dcf439f 100644<br>
--- a/src/amd/vulkan/radv_cmd_<wbr>buffer.c<br>
+++ b/src/amd/vulkan/radv_cmd_<wbr>buffer.c<br>
@@ -1830,7 +1830,7 @@ radv_cmd_buffer_update_vertex_<wbr>descriptors(struct radv_cmd_buffer *cmd_buffer, bo<br>
return true;<br>
}<br>
<br>
-static bool<br>
+static inline bool<br>
radv_upload_graphics_shader_<wbr>descriptors(struct radv_cmd_buffer *cmd_buffer, bool pipeline_is_dirty)<br>
{<br>
if (!radv_cmd_buffer_update_<wbr>vertex_descriptors(cmd_buffer, pipeline_is_dirty))<br>
@@ -3584,7 +3584,7 @@ radv_emit_dispatch_packets(<wbr>struct radv_cmd_buffer *cmd_buffer,<br>
assert(cmd_buffer->cs->cdw <= cdw_max);<br>
}<br>
<br>
-static void<br>
+static inline void<br>
radv_upload_compute_shader_<wbr>descriptors(struct radv_cmd_buffer *cmd_buffer)<br>
{<br>
radv_flush_descriptors(cmd_<wbr>buffer, VK_SHADER_STAGE_COMPUTE_BIT);<br>
--<br>
2.15.0<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>
</blockquote></div></div>