st/nine: sm1_declusage_to_tgsi, do not restrict indices with TGSI_SEMANTIC_GENERIC
[mesa.git] / src / gallium / targets / egl-static / SConscript
index dfd0543723131764fb1400973bb9095fbfde310d..e423d5d2b724ddd45af7190fd08e821ac784a481 100644 (file)
@@ -7,6 +7,7 @@ env = env.Clone()
 
 env.Append(CPPPATH = [
     '#/include',
+    '#/src/loader',
     '#/src/egl/main',
     '#/src/gallium/auxiliary',
     '#/src/gallium/drivers',
@@ -30,6 +31,8 @@ env.Prepend(LIBS = [
     rbug,
     trace,
     galahad,
+    libloader,
+    mesautil,
     gallium,
     egl,
     st_egl,
@@ -89,26 +92,7 @@ if env['HAVE_X11']:
 if env['HAVE_DRM']:
     env.PkgUseModules('DRM')
 
-    if env['HAVE_DRM_INTEL']:
-        env.Append(CPPDEFINES = ['_EGL_PIPE_I915', '_EGL_PIPE_I965'])
-        env.Prepend(LIBS = [
-            i915drm,
-            i915,
-            i965drm,
-            i965,
-            ws_wrapper,
-        ])
-
-    if env['HAVE_DRM_RADEON']:
-        env.Append(CPPDEFINES = ['_EGL_PIPE_R300', '_EGL_PIPE_R600'])
-        env.Prepend(LIBS = [
-            radeonwinsys,
-            r300,
-            r600winsys,
-            r600,
-        ])
-
-    env.Append(CPPDEFINES = ['_EGL_PIPE_VMWGFX'])
+    env.Append(CPPDEFINES = ['GALLIUM_VMWGFX'])
     env.Prepend(LIBS = [
         svgadrm,
         svga,