mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 06:00:33 +01:00
rt: add debug markers to see that uploading lights takes >35ms
This commit is contained in:
parent
1d2e763baf
commit
0f0a58d1aa
@ -1218,6 +1218,7 @@ vk_lights_bindings_t VK_LightsUpload( VkCommandBuffer cmdbuf ) {
|
||||
}
|
||||
|
||||
{
|
||||
DEBUG_BEGIN(cmdbuf, "upload lights");
|
||||
const VkBufferCopy regions[] = {
|
||||
{
|
||||
.srcOffset = 0,
|
||||
@ -1239,6 +1240,7 @@ vk_lights_bindings_t VK_LightsUpload( VkCommandBuffer cmdbuf ) {
|
||||
VK_PIPELINE_STAGE_TRANSFER_BIT,
|
||||
VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR,
|
||||
0, 0, NULL, ARRAYSIZE(bmb), bmb, 0, NULL);
|
||||
DEBUG_END(cmdbuf);
|
||||
}
|
||||
|
||||
return (vk_lights_bindings_t){
|
||||
|
Loading…
Reference in New Issue
Block a user