mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
radv: Add more RT pipeline stubs.
Entry points have to be provided even if the features are not supported.
Helps Doom Eternal.
Fixes: f1095260a4 ("radv: Experimentally enable RT extensions.")
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15573>
This commit is contained in:
parent
b8c8e3d975
commit
37c0f68500
2 changed files with 21 additions and 0 deletions
|
|
@ -7607,6 +7607,17 @@ radv_CmdTraceRaysKHR(VkCommandBuffer commandBuffer,
|
|||
radv_rt_dispatch(cmd_buffer, &info);
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL
|
||||
radv_CmdTraceRaysIndirectKHR(VkCommandBuffer commandBuffer,
|
||||
const VkStridedDeviceAddressRegionKHR *pRaygenShaderBindingTable,
|
||||
const VkStridedDeviceAddressRegionKHR *pMissShaderBindingTable,
|
||||
const VkStridedDeviceAddressRegionKHR *pHitShaderBindingTable,
|
||||
const VkStridedDeviceAddressRegionKHR *pCallableShaderBindingTable,
|
||||
VkDeviceAddress indirectDeviceAddress)
|
||||
{
|
||||
unreachable("Unimplemented");
|
||||
}
|
||||
|
||||
static void
|
||||
radv_set_rt_stack_size(struct radv_cmd_buffer *cmd_buffer, uint32_t size)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1971,3 +1971,13 @@ radv_GetRayTracingShaderGroupStackSizeKHR(VkDevice device, VkPipeline _pipeline,
|
|||
else
|
||||
return stack_size->recursive_size;
|
||||
}
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL
|
||||
radv_GetRayTracingCaptureReplayShaderGroupHandlesKHR(VkDevice _device, VkPipeline pipeline,
|
||||
uint32_t firstGroup, uint32_t groupCount,
|
||||
size_t dataSize, void *pData)
|
||||
{
|
||||
RADV_FROM_HANDLE(radv_device, device, _device);
|
||||
unreachable("Unimplemented");
|
||||
return vk_error(device, VK_ERROR_FEATURE_NOT_PRESENT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue