mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
pvr: add missing multi-arch support for pipeline exec and stats
Entry points must be wrapped in the PVR_PER_ARCH macro else there
will be multiple definitions of the same symbol.
Fixes: dfddb3fe ("pvr: Add support for VK_KHR_pipeline_executable_properties")
Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41238>
This commit is contained in:
parent
20b42f4466
commit
120bd20e49
1 changed files with 3 additions and 3 deletions
|
|
@ -3476,7 +3476,7 @@ static uint32_t pvr_get_executable_count(struct pvr_pipeline *pipeline)
|
|||
return exe_count;
|
||||
}
|
||||
|
||||
VkResult pvr_GetPipelineExecutableStatisticsKHR(
|
||||
VkResult PVR_PER_ARCH(GetPipelineExecutableStatisticsKHR)(
|
||||
UNUSED VkDevice _device,
|
||||
const VkPipelineExecutableInfoKHR *pExecutableInfo,
|
||||
uint32_t *pStatisticCount,
|
||||
|
|
@ -3518,7 +3518,7 @@ VkResult pvr_GetPipelineExecutableStatisticsKHR(
|
|||
return vk_outarray_status(&out);
|
||||
}
|
||||
|
||||
VkResult pvr_GetPipelineExecutablePropertiesKHR(
|
||||
VkResult PVR_PER_ARCH(GetPipelineExecutablePropertiesKHR)(
|
||||
VkDevice _device,
|
||||
const VkPipelineInfoKHR *pPipelineInfo,
|
||||
uint32_t *pExecutableCount,
|
||||
|
|
@ -3607,7 +3607,7 @@ write_ir_text(VkPipelineExecutableInternalRepresentationKHR *ir,
|
|||
return true;
|
||||
}
|
||||
|
||||
VkResult pvr_GetPipelineExecutableInternalRepresentationsKHR(
|
||||
VkResult PVR_PER_ARCH(GetPipelineExecutableInternalRepresentationsKHR)(
|
||||
UNUSED VkDevice _device,
|
||||
UNUSED const VkPipelineExecutableInfoKHR *pExecutableInfo,
|
||||
uint32_t *pInternalRepresentationCount,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue