Skip to content

Commit 31b18a2

Browse files
archietheheadakien-mga
authored andcommitted
D3D12: Convert non-critical startup warnings to verbose prints
1 parent 7ed0b61 commit 31b18a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/d3d12/rendering_device_driver_d3d12.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4602,7 +4602,6 @@ void RenderingDeviceDriverD3D12::command_bind_push_constants(CommandBufferID p_c
46024602
// ----- CACHE -----
46034603

46044604
bool RenderingDeviceDriverD3D12::pipeline_cache_create(const Vector<uint8_t> &p_data) {
4605-
WARN_PRINT("PSO caching is not implemented yet in the Direct3D 12 driver.");
46064605
return false;
46074606
}
46084607

@@ -6544,7 +6543,7 @@ Error RenderingDeviceDriverD3D12::_initialize_allocator() {
65446543
dynamic_persistent_upload_heap = D3D12_HEAP_TYPE_UPLOAD;
65456544
// Print it as a warning (instead of verbose) because in the rare chance this lesser-used code path
65466545
// causes bugs, we get an inkling of what's going on (i.e. in order to repro bugs locally).
6547-
WARN_PRINT("D3D12: Device does NOT support GPU UPLOAD heap. ReBAR must be enabled for this feature. Regular UPLOAD heaps will be used as fallback.");
6546+
print_verbose("D3D12: Device does NOT support GPU UPLOAD heap. ReBAR must be enabled for this feature. Regular UPLOAD heaps will be used as fallback.");
65486547
}
65496548

65506549
return OK;

0 commit comments

Comments
 (0)