<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 23, 2015 at 10:28 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Previously (with the inline ones) things were embedded into the<br>
pipe-loader, which means that we cannot control/select what we want in<br>
each target.<br>
<br>
That also meant that at runtime we ended up with the empty<br>
sw_screen_create() as the GALLIUM_SOFTPIPE/LLVMPIPE were not set.<br>
<br>
v2: Cover all the targets, not just dri.<br>
<br>
Cc: "11.1" <<a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</a>><br>
Cc: Oded Gabbay <<a href="mailto:oded.gabbay@gmail.com">oded.gabbay@gmail.com</a>><br>
Cc: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
Cc: Edward O'Callaghan <<a href="mailto:edward.ocallaghan@koparo.com">edward.ocallaghan@koparo.com</a>><br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>><br>
---<br>
 src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 3 ++-<br>
 src/gallium/targets/d3dadapter9/drm.c              | 1 +<br>
 src/gallium/targets/dri/target.c                   | 1 +<br>
 src/gallium/targets/omx/target.c                   | 1 +<br>
 src/gallium/targets/va/target.c                    | 1 +<br>
 src/gallium/targets/vdpau/target.c                 | 1 +<br>
 src/gallium/targets/xa/target.c                    | 1 +<br>
 7 files changed, 8 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c<br>
index 5539a73..1c38750 100644<br>
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c<br>
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c<br>
@@ -33,9 +33,10 @@<br>
 #include "sw/kms-dri/kms_dri_sw_winsys.h"<br>
 #include "sw/null/null_sw_winsys.h"<br>
 #include "sw/wrapper/wrapper_sw_winsys.h"<br>
-#include "target-helpers/inline_sw_helper.h"<br>
+#include "target-helpers/sw_helper_public.h"<br>
 #include "state_tracker/drisw_api.h"<br>
 #include "state_tracker/sw_driver.h"<br>
+#include "state_tracker/sw_winsys.h"<br>
<br>
 struct pipe_loader_sw_device {<br>
    struct pipe_loader_device base;<br>
diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c<br>
index ad712db..5cd1ba7 100644<br>
--- a/src/gallium/targets/d3dadapter9/drm.c<br>
+++ b/src/gallium/targets/d3dadapter9/drm.c<br>
@@ -31,6 +31,7 @@<br>
 #include "pipe/p_state.h"<br>
<br>
 #include "target-helpers/drm_helper.h"<br>
+#include "target-helpers/sw_helper.h"<br>
 #include "state_tracker/drm_driver.h"<br>
<br>
 #include "d3dadapter/d3dadapter9.h"<br>
diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c<br>
index d6fbd01..01532e2 100644<br>
--- a/src/gallium/targets/dri/target.c<br>
+++ b/src/gallium/targets/dri/target.c<br>
@@ -1,4 +1,5 @@<br>
 #include "target-helpers/drm_helper.h"<br>
+#include "target-helpers/sw_helper.h"<br>
<br>
 #include "dri_screen.h"<br>
<br>
diff --git a/src/gallium/targets/omx/target.c b/src/gallium/targets/omx/target.c<br>
index 42b1346..308e23b 100644<br>
--- a/src/gallium/targets/omx/target.c<br>
+++ b/src/gallium/targets/omx/target.c<br>
@@ -1 +1,2 @@<br>
 #include "target-helpers/drm_helper.h"<br>
+#include "target-helpers/sw_helper.h"<br>
diff --git a/src/gallium/targets/va/target.c b/src/gallium/targets/va/target.c<br>
index 42b1346..308e23b 100644<br>
--- a/src/gallium/targets/va/target.c<br>
+++ b/src/gallium/targets/va/target.c<br>
@@ -1 +1,2 @@<br>
 #include "target-helpers/drm_helper.h"<br>
+#include "target-helpers/sw_helper.h"<br>
diff --git a/src/gallium/targets/vdpau/target.c b/src/gallium/targets/vdpau/target.c<br>
index 42b1346..308e23b 100644<br>
--- a/src/gallium/targets/vdpau/target.c<br>
+++ b/src/gallium/targets/vdpau/target.c<br>
@@ -1 +1,2 @@<br>
 #include "target-helpers/drm_helper.h"<br>
+#include "target-helpers/sw_helper.h"<br>
diff --git a/src/gallium/targets/xa/target.c b/src/gallium/targets/xa/target.c<br>
index 42b1346..308e23b 100644<br>
--- a/src/gallium/targets/xa/target.c<br>
+++ b/src/gallium/targets/xa/target.c<br>
@@ -1 +1,2 @@<br>
 #include "target-helpers/drm_helper.h"<br>
+#include "target-helpers/sw_helper.h"<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.6.2<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br><br></div><div class="gmail_extra">Hi,<br><br></div><div class="gmail_extra">This fixes Gallium Nine for me.<br><br></div><div class="gmail_extra">For the series: <br></div><div class="gmail_extra">Tested-by: Nick Sarnie <<a href="mailto:commendsarnex@gmail.com">commendsarnex@gmail.com</a>><br><br></div><div class="gmail_extra">Thanks<br></div></div>