mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
pvr: limit hw-defs to rogue
Because we are using these carefully picked HW-defs in common code here, we need to set PVR_BUILD_ARCH_ROGUE first. 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
13d12b33c0
commit
c1e4c073cd
4 changed files with 15 additions and 10 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#define __pvr_make_address(addr_u64) PVR_DEV_ADDR(addr_u64)
|
||||
/* clang-format on */
|
||||
|
||||
#if defined(PVR_BUILD_ARCH_ROGUE)
|
||||
# include "csbgen/rogue/cdm.h"
|
||||
# include "csbgen/rogue/cr.h"
|
||||
# include "csbgen/rogue/ipf.h"
|
||||
|
|
@ -60,6 +61,7 @@
|
|||
# include "csbgen/rogue/ppp.h"
|
||||
# include "csbgen/rogue/texstate.h"
|
||||
# include "csbgen/rogue/vdm.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief Size of the individual csb buffer object.
|
||||
|
|
|
|||
|
|
@ -317,6 +317,7 @@ void pvr_GetImageSubresourceLayout(VkDevice device,
|
|||
}
|
||||
|
||||
/* Leave this at the very end, to avoid leakage of HW-defs here */
|
||||
#define PVR_BUILD_ARCH_ROGUE
|
||||
#include "pvr_csb.h"
|
||||
|
||||
static unsigned get_pbe_stride_align(const struct pvr_device_info *dev_info)
|
||||
|
|
|
|||
|
|
@ -1238,6 +1238,7 @@ pvr_physical_device_setup_formats(struct pvr_physical_device *const pdevice)
|
|||
}
|
||||
|
||||
/* Leave this at the very end, to avoid leakage of HW-defs here */
|
||||
#define PVR_BUILD_ARCH_ROGUE
|
||||
#include "pvr_border.h"
|
||||
|
||||
static unsigned
|
||||
|
|
|
|||
|
|
@ -399,6 +399,7 @@ void pvr_transfer_frag_store_fini(struct pvr_device *device,
|
|||
}
|
||||
|
||||
/* Leave this at the very end, to avoid leakage of HW-defs here */
|
||||
#define PVR_BUILD_ARCH_ROGUE
|
||||
#include "pvr_csb.h"
|
||||
|
||||
static uint32_t get_doutu_sample_rate(const struct pvr_device_info *dev_info,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue