pvr: decouple vulkan driver and compiler from gallium
authorYonggang Luo <luoyonggang@gmail.com>
Sun, 4 Jun 2023 20:43:53 +0000 (04:43 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Aug 2023 07:29:35 +0000 (07:29 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-By: Matt Coster <matt.coster@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23438>

src/imagination/rogue/meson.build
src/imagination/rogue/tools/meson.build
src/imagination/vulkan/meson.build
src/imagination/vulkan/pvr_device.c
src/imagination/vulkan/pvr_tex_state.c

index bb10220..7224ff0 100644 (file)
@@ -63,10 +63,6 @@ libpowervr_rogue = shared_library(
     inc_include,
     inc_compiler,
     inc_src,
-    inc_mapi,
-    inc_mesa,
-    inc_gallium,
-    inc_gallium_aux,
   ],
   c_args : [no_override_init_args],
   gnu_symbol_visibility : 'hidden',
index f3d0e50..41e236d 100644 (file)
@@ -27,13 +27,9 @@ rogue_compiler = executable(
   link_with : [libpowervr_rogue],
   dependencies : [idep_mesautil, idep_nir, idep_vulkan_runtime, dep_csbgen],
   include_directories : [
-    inc_mesa,
     inc_imagination,
     inc_include,
     inc_src,
-    inc_mapi,
-    inc_gallium,
-    inc_gallium_aux,
     inc_compiler,
     inc_rogue,
   ],
index 6a16acf..109f526 100644 (file)
@@ -115,12 +115,9 @@ libvulkan_powervr_mesa = shared_library(
   [pvr_files, pvr_entrypoints, u_format_pack_h],
   include_directories : [
     pvr_includes,
-    inc_gallium_aux,
     inc_imagination,
     inc_include,
     inc_src,
-    inc_mesa,
-    inc_gallium,
     inc_compiler,
   ],
   link_with : [
index 9f380c4..9613b84 100644 (file)
@@ -39,7 +39,6 @@
 #include <xf86drm.h>
 
 #include "hwdef/rogue_hw_utils.h"
-#include "pipe/p_defines.h"
 #include "pvr_bo.h"
 #include "pvr_border.h"
 #include "pvr_clear.h"
index 4de0e99..43d7b0a 100644 (file)
@@ -25,7 +25,6 @@
 #include <vulkan/vulkan.h>
 
 #include "hwdef/rogue_hw_defs.h"
-#include "pipe/p_defines.h"
 #include "pvr_csb.h"
 #include "pvr_device_info.h"
 #include "pvr_formats.h"