mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
pvr: prepare for multi-gen compilation
Acked-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922>
This commit is contained in:
parent
edca79bc41
commit
6b4577e12d
1 changed files with 29 additions and 1 deletions
|
|
@ -111,15 +111,43 @@ if with_imagination_srv
|
||||||
pvr_flags += '-DPVR_SUPPORT_SERVICES_DRIVER'
|
pvr_flags += '-DPVR_SUPPORT_SERVICES_DRIVER'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libvulkan_powervr_mesa = shared_library(
|
per_arch_files = [
|
||||||
'vulkan_powervr_mesa',
|
pvr_entrypoints[0],
|
||||||
[pvr_files, pvr_entrypoints, sha1_h, u_format_pack_h],
|
sha1_h,
|
||||||
|
]
|
||||||
|
|
||||||
|
powervr_per_arch_libs = []
|
||||||
|
|
||||||
|
foreach arch : ['rogue']
|
||||||
|
powervr_per_arch_libs += static_library(
|
||||||
|
'powervr_@0@'.format(arch),
|
||||||
|
per_arch_files,
|
||||||
include_directories : [
|
include_directories : [
|
||||||
pvr_includes,
|
pvr_includes,
|
||||||
inc_imagination,
|
inc_imagination,
|
||||||
inc_include,
|
inc_include,
|
||||||
inc_src,
|
inc_src,
|
||||||
],
|
],
|
||||||
|
dependencies : [
|
||||||
|
idep_nir_headers,
|
||||||
|
idep_vulkan_util_headers,
|
||||||
|
],
|
||||||
|
c_args : pvr_flags,
|
||||||
|
gnu_symbol_visibility : 'hidden',
|
||||||
|
)
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
|
||||||
|
libvulkan_powervr_mesa = shared_library(
|
||||||
|
'vulkan_powervr_mesa',
|
||||||
|
[pvr_files, pvr_entrypoints, u_format_pack_h],
|
||||||
|
include_directories : [
|
||||||
|
pvr_includes,
|
||||||
|
inc_imagination,
|
||||||
|
inc_include,
|
||||||
|
inc_src,
|
||||||
|
],
|
||||||
|
link_whole : [powervr_per_arch_libs],
|
||||||
link_with : [
|
link_with : [
|
||||||
libpowervr_common,
|
libpowervr_common,
|
||||||
libpowervr_compiler,
|
libpowervr_compiler,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue