Merge pull request #113372 from archiethehead/fix-d3d12-startup-warnings

D3D12: Convert non-critical startup warnings to verbose prints
This commit is contained in:
Rémi Verschelde 2025-12-01 11:50:16 +01:00
commit c1412af255
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;