Skip to content

Commit 9940ec8

Browse files
committed
metal: fix various issues with Metal rendering; improve presentation
1 parent 8d22f30 commit 9940ec8

16 files changed

Lines changed: 606 additions & 364 deletions

drivers/d3d12/rendering_device_driver_d3d12.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5861,7 +5861,9 @@ uint64_t RenderingDeviceDriverD3D12::api_trait_get(ApiTrait p_trait) {
58615861
return D3D12_TEXTURE_DATA_PITCH_ALIGNMENT;
58625862
case API_TRAIT_SECONDARY_VIEWPORT_SCISSOR:
58635863
return false;
5864-
case API_TRAIT_CLEARS_WITH_COPY_ENGINE:
5864+
case API_TRAIT_BUFFER_CLEARS_WITH_COPY_ENGINE:
5865+
return false;
5866+
case API_TRAIT_TEXTURE_CLEARS_WITH_COPY_ENGINE:
58655867
return false;
58665868
case API_TRAIT_USE_GENERAL_IN_COPY_QUEUES:
58675869
return true;

0 commit comments

Comments
 (0)