mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
pvr: add initial pco stub/boilerplate
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32258>
This commit is contained in:
parent
b82793221a
commit
ab1298e926
4 changed files with 39 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ inc_imagination = include_directories([
|
|||
if with_imagination_vk
|
||||
subdir('common')
|
||||
subdir('csbgen')
|
||||
subdir('pco')
|
||||
subdir('rogue')
|
||||
subdir('vulkan')
|
||||
endif
|
||||
|
|
|
|||
26
src/imagination/pco/meson.build
Normal file
26
src/imagination/pco/meson.build
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Copyright © 2024 Imagination Technologies Ltd.
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
inc_powervr_compiler = include_directories([
|
||||
'.',
|
||||
])
|
||||
|
||||
libpowervr_compiler_files = files(
|
||||
'pco.c',
|
||||
)
|
||||
|
||||
libpowervr_compiler = static_library(
|
||||
'powervr_compiler',
|
||||
[libpowervr_compiler_files],
|
||||
include_directories : [
|
||||
inc_imagination,
|
||||
inc_powervr_compiler,
|
||||
inc_include,
|
||||
inc_compiler,
|
||||
inc_src,
|
||||
],
|
||||
c_args : [imagination_c_args, no_override_init_args],
|
||||
dependencies : [idep_mesautil, idep_nir],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
install : false,
|
||||
)
|
||||
11
src/imagination/pco/pco.c
Normal file
11
src/imagination/pco/pco.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright © 2024 Imagination Technologies Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file pco.c
|
||||
*
|
||||
* \brief Main compiler interface.
|
||||
*/
|
||||
|
|
@ -108,6 +108,7 @@ libvulkan_powervr_mesa = shared_library(
|
|||
],
|
||||
link_with : [
|
||||
libpowervr_common,
|
||||
libpowervr_compiler,
|
||||
libpowervr_pds,
|
||||
libpowervr_rogue,
|
||||
libvulkan_wsi,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue