mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +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> (cherry picked from commit37c0f68500)
This commit is contained in:
parent
5c9bdd59c1
commit
c5da1584fe
3 changed files with 22 additions and 1 deletions
|
|
@ -596,7 +596,7 @@
|
|||
"description": "radv: Add more RT pipeline stubs.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"because_sha": "f1095260a411c249af16928f96304ec225a0466b"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7504,6 +7504,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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2347,3 +2347,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