コミットグラフ
2378 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri e045fc2dce Add unit test for InteropServices APIs with disposed device 2022-07-31 23:26:12 +02:00
Sergio Pedri 1ab3931391 Fix reference tracking with ComputeContext and async execution 2022-07-31 23:26:12 +02:00
Sergio Pedri 84ebe36975 Make InteropServices APIs thread safe 2022-07-31 23:26:12 +02:00
Sergio Pedri 65fe7f53c6 Switch all GetLease() calls to using declarations 2022-07-31 23:26:12 +02:00
Sergio Pedri 5100ab471a Move all Guard checks at the start of each method 2022-07-31 23:26:12 +02:00
Sergio Pedri 149a03d92b Move ReferenceTracker logic to NativeObject base class 2022-07-31 23:26:11 +02:00
Sergio Pedri 297aa7ab36 Switch to ReferenceTracker for all device/resource types 2022-07-31 23:26:11 +02:00
Sergio Pedri c5997d2c62 Add ReferenceTracker type 2022-07-31 23:26:11 +02:00
Sergio Pedri c8c779d827 Add lock to synchronize Dispose/DeviceLost logic 2022-07-31 23:26:11 +02:00
Sergio Pedri 8b8ca034db Skip device disposal test on .NET 6 (possible D3D12MA bug) 2022-07-31 23:26:11 +02:00
Sergio Pedri d09d56c573 Fix a NRE due to race condition in device lost callback 2022-07-31 23:26:11 +02:00
Sergio Pedri 93c82feb98 Reset default device on dispose 2022-07-31 23:26:11 +02:00
Sergio Pedri 4e5acba69c Remove GraphicsDevice.Default property and APIs 2022-07-31 23:26:11 +02:00
Sergio Pedri ea0f792ae6 Implement GraphicsDevice.GetDefault() method 2022-07-31 23:26:11 +02:00
Sergio Pedri ca96337b8a Add GraphicsDevice.GetDefault() declaration 2022-07-31 23:26:10 +02:00
Sergio Pedri 701c88983c Add DeviceLostReason.AccessDenied value 2022-07-31 23:26:10 +02:00
Sergio Pedri aa50b02144 Add device disposal reference counting tests 2022-07-31 23:26:10 +02:00
Sergio Pedri 6359b05500 Fix access violation on NS2.0 target due to wrong marshal method 2022-07-31 23:26:10 +02:00
Sergio Pedri c2c7613b47 Fix memory leak in ID3D12DescriptorHandleAllocator 2022-07-31 23:26:10 +02:00
Sergio Pedri d7a5e89dcb Fix race condition in GraphicsDevice GC handle cleanup 2022-07-31 23:26:10 +02:00
Sergio Pedri b50de2528f Fix incorrect cleanup of device lost event handle 2022-07-31 23:26:10 +02:00
Sergio Pedri 3f77e0a9b5 Add more device lost unit tests 2022-07-31 23:26:10 +02:00
Sergio Pedri 90f74bd402 Improve error handling in DeviceExtensions 2022-07-31 23:26:10 +02:00
Sergio Pedri 2aa7c70edd Fix device lost unit test (using ID3D12Device5::RemoveDevice) 2022-07-31 23:26:10 +02:00
Sergio Pedri 8a9368506b Add device lost validation to public APIs 2022-07-31 23:26:10 +02:00
Sergio Pedri 041956b854 Switch device lost detection to fence signal callback 2022-07-31 23:26:10 +02:00
Sergio Pedri 5cb00a8924 Fix use-after-free with ID3D12InfoQueue messages 2022-07-31 23:26:09 +02:00
Sergio Pedri ab8ca32770 Add missing Assert() calls when submitting GPU work 2022-07-31 23:26:09 +02:00
Sergio Pedri 0a75a7f83c Enable device lost tests in CI pipeline 2022-07-31 23:26:09 +02:00
Sergio Pedri ea81ce27f9 Add device lost unit tests 2022-07-31 23:26:09 +02:00
Sergio Pedri 15682c44e6 Ensure DeviceLost event is also raised in debug mode 2022-07-31 23:26:09 +02:00
Sergio Pedri 2317ac8423 Remove unnecessary references from DisableDynamicCompilation tests 2022-07-31 23:26:09 +02:00
Sergio Pedri 7ed91b32d9 Add logic to raise GraphicsDevice.DeviceLost in case of errors 2022-07-31 23:26:09 +02:00
Sergio Pedri b81c140107 Add GraphicsDevice.DeviceLost event 2022-07-31 23:26:09 +02:00
Sergio Pedri 80a2dc50aa Add DeviceLostReason enum type 2022-07-31 23:26:09 +02:00
Sergio Pedri 6f27d78bb7 Merge pull request #327 from Sergio0694/dev/trim-uwp-sample
Enable full trimming for UWP sample app
2022-07-31 14:08:53 -07:00
Sergio Pedri 914977d146 Enable full trimming for UWP sample app 2022-07-31 22:32:17 +02:00
Sergio Pedri 068856d382 Merge pull request #324 from Sergio0694/dev/fix-emty-load-constant-buffer
Fix D2D1PixelShader.GetConstantBuffer with stateless shaders
2022-07-24 14:02:59 +02:00
Sergio Pedri a6209491c9 Fix D2D1PixelShader.GetConstantBuffer with stateless shaders 2022-07-24 13:27:46 +02:00
Sergio Pedri b42a250701 Add temporary polyfill for D3D12MA using an older TerraFX reference 2022-07-02 02:54:41 +02:00
Sergio Pedri 5c324a8c4c Ignore D3D12_MESSAGE_ID_CREATERESOURCE_STATE_IGNORED messages 2022-07-02 02:46:53 +02:00
Sergio Pedri d27f84d65a Add missing D3D12_MESSAGE_ID values 2022-06-28 01:00:52 +02:00
Sergio Pedri 0678b2d9df Merge pull request #317 from Sergio0694/dev/fix-test-assembly-initialize
Fix unit tests assembly initialize methods
2022-06-26 23:48:57 +02:00
Sergio Pedri 01a422f7fc Adjust unit tests delta on .NET Framework 2022-06-26 23:18:18 +02:00
Sergio Pedri 2aa4c5b1d2 Fix HLSL generation for delegates with captured constants 2022-06-26 22:42:54 +02:00
Sergio Pedri 8247d65582 Fix unit tests assembly initialize methods 2022-06-26 22:34:15 +02:00
Sergio Pedri ea3e431f3f Merge pull request #316 from Sergio0694/dev/remove-sample-shared-project
Remove shared sample project, move files to project
2022-06-26 22:33:58 +02:00
Sergio Pedri 29ade3845a Remove shared sample project, move files to project 2022-06-26 21:52:44 +02:00
Sergio Pedri c4f04fe5cd Add ComputeSharp.Pix project to solution filter 2022-06-26 21:52:29 +02:00
Sergio Pedri 405098cd63 Merge pull request #312 from Sergio0694/dev/dred-support
Add DirectX DRED support and PIX extensions
2022-06-25 20:24:54 +02:00