D3D12: Convert non-critical startup warnings to verbose prints

This commit is contained in:
Archie Healy 2025-11-30 19:59:55 +00:00 committed by Rémi Verschelde
parent 7ed0b61676
commit 31b18a2d6c
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -4602,7 +4602,6 @@ void RenderingDeviceDriverD3D12::command_bind_push_constants(CommandBufferID p_c
// ----- CACHE -----
bool RenderingDeviceDriverD3D12::pipeline_cache_create(const Vector<uint8_t> &p_data) {
WARN_PRINT("PSO caching is not implemented yet in the Direct3D 12 driver.");
return false;
}
@ -6544,7 +6543,7 @@ Error RenderingDeviceDriverD3D12::_initialize_allocator() {
dynamic_persistent_upload_heap = D3D12_HEAP_TYPE_UPLOAD;
// Print it as a warning (instead of verbose) because in the rare chance this lesser-used code path
// causes bugs, we get an inkling of what's going on (i.e. in order to repro bugs locally).
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.");
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.");
}
return OK;