コミットグラフ
2792 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 4ad7bba4b8 Add bitwise operators to HLSL vector types 2022-08-25 00:46:25 +02:00
Sergio Pedri 97447fbc68 Move TrueN and OneN properties to T4 templates 2022-08-24 23:56:18 +02:00
Sergio Pedri f5c4e6aacd Move True/False and One/Zero properties to T4 templates 2022-08-24 23:40:15 +02:00
Sergio Pedri 2de22e1cb3 Remove unnecessary using definitions 2022-08-20 16:15:40 +02:00
Sergio Pedri 076607efe8 Merge pull request #359 from Sergio0694/dev/update-nuget-packages
Update nuget packages
2022-08-20 15:27:08 +02:00
Sergio Pedri 534046a5d3 Remove pinning in CommandList.GetD3D12CommandListPinnableAddressOf() 2022-08-20 14:51:17 +02:00
Sergio Pedri e785a949c1 Fix GC holes in CommandList and GraphicsDevice execute logic
These were causing intermittent AVs when dispatching
2022-08-20 14:38:06 +02:00
Sergio Pedri b253fbdfa2 Bump all NuGet packages to latest stable 2022-08-20 02:29:54 +02:00
Sergio Pedri 1f21839f6b Enforce multithread factories for resource texture manager RCW 2022-08-19 18:53:39 +02:00
Sergio Pedri a0e0716c23 Add missing Release() call on ID2D1Multithread objects 2022-08-19 16:53:10 +02:00
Sergio Pedri fc6afdbff4 Fix stack overflow when releasing resource texture managers 2022-08-19 16:52:47 +02:00
Sergio Pedri 8f46bd9b2f Fix resource texture manager not storing created resource textures 2022-08-19 16:12:39 +02:00
Sergio Pedri de3ba7bb20 Release previous manager when setting a new one 2022-08-19 15:29:58 +02:00
Sergio Pedri 5930baf69a Fix method name in generated filename hints 2022-08-18 14:26:10 +02:00
Sergio Pedri 1738f36455 Rename [D2DEmbeddedBytecode] to [D2DShaderProfile] 2022-08-18 14:26:10 +02:00
Sergio Pedri 140aa10a12 Add diagnostic for invalid return type 2022-08-18 14:26:09 +02:00
Sergio Pedri c998002f90 Add diagnostics for [D2DPixelShaderSource] 2022-08-18 14:26:09 +02:00
Sergio Pedri 51f2642e80 Add [StringSyntax] to [D2DPixelShaderSource] parameter 2022-08-18 14:26:09 +02:00
Sergio Pedri 2aa214876c Add StringSyntaxAttribute polyfill 2022-08-18 14:26:09 +02:00
Sergio Pedri 87768dc2b4 Add new models for shader methods, update generators 2022-08-18 14:26:09 +02:00
Sergio Pedri 4e6f4f55d4 Initial implementation of generator for shader methods 2022-08-18 14:26:09 +02:00
Sergio Pedri 06e5a61af7 Add D2DPixelShaderSourceAttribute type 2022-08-18 14:26:09 +02:00
Sergio Pedri 9404ffa1c3 Fix ref kind of Interlocked API parameters 2022-08-18 12:52:16 +02:00
Sergio Pedri fb1c24a623 Fix Interlocked HLSL intrinsics 2022-08-18 12:35:45 +02:00
Sergio Pedri c65ce14524 Rename Buffer property to ConstantBuffer 2022-08-16 17:16:42 +02:00
Sergio Pedri ea2b314267 Support ID2D1Effect::GetValueSize for constant buffer, add unit test 2022-08-16 14:05:25 +02:00
Sergio Pedri ecb28e2382 Add missing validation when initializing managers 2022-08-16 13:55:38 +02:00
Sergio Pedri 44bf64741a Update parameter names for clarity 2022-08-16 13:52:31 +02:00
Sergio Pedri 28ed19c349 Improve D2D1ResourceTextureManager XML docs 2022-08-16 13:47:25 +02:00
Sergio Pedri ec057ce7e4 Add validation for constant buffer initialization and unit test 2022-08-15 15:01:20 +02:00
Sergio Pedri 6de0ca24bf Fix loading of resource textures when rendering effect 2022-08-15 15:01:20 +02:00
Sergio Pedri d5901eb22b Handle optional actualSize in D2D1_PROPERTY_BINDING.setFunction 2022-08-15 15:01:20 +02:00
Sergio Pedri fe3c092090 Update incorrect delegate type name 2022-08-15 15:01:20 +02:00
Sergio Pedri 5c9859fe21 Clarify comment in D2D1ResourceTextureManager 2022-08-15 15:01:20 +02:00
Sergio Pedri 394db47f2c Tweak D2D1ResourceTextureManager XML docs 2022-08-15 15:01:20 +02:00
Sergio Pedri fe33dbdcea Make resource texture index parameters clearer 2022-08-15 15:01:20 +02:00
Sergio Pedri d33270ea2c Add tests to update 3D resource textures, bug fixes 2022-08-15 15:01:20 +02:00
Sergio Pedri edfed9359b Add tests to update 1D resource textures, bug fixes 2022-08-15 15:01:20 +02:00
Sergio Pedri bc90c87837 Minor tweaks and improvements to D2D1ResourceTextureManager 2022-08-15 15:01:20 +02:00
Sergio Pedri 3c2de6c285 Add ID2D1ResourceTextureManager::Initialize dimensions parameter 2022-08-15 15:01:20 +02:00
Sergio Pedri e29a3fad04 Add null checks in public API parameters, add tests 2022-08-15 15:01:19 +02:00
Sergio Pedri 97da012b1b Add null checks when setting a resource texture manager 2022-08-15 15:01:19 +02:00
Sergio Pedri d3a66496c6 Add parameter validation in D2D1ResourceTextureManager 2022-08-15 15:01:19 +02:00
Sergio Pedri 3c44e09304 First draft of partial staging buffer update 2022-08-15 15:01:19 +02:00
Sergio Pedri f2647c1d1f Add ID2D1ResourceTextureManager.Update validation and initialization
Still missing partial updates on existing staging buffer
2022-08-15 15:01:19 +02:00
Sergio Pedri 9334a5e1ce Add SetResourceTextureManagerForD2D1Effect RCW overload 2022-08-15 15:01:19 +02:00
Sergio Pedri b39046d362 Add parameter validation to ID2D1ResourceTextureManager.Initialize 2022-08-15 15:01:19 +02:00
Sergio Pedri 8c59086ee7 Add RCW support to D2D1ResourceTextureManager 2022-08-15 15:01:19 +02:00
Sergio Pedri 4764e285c7 Fix memory leak in D2D1ResourceTextureManagerImpl.Release() 2022-08-15 15:01:19 +02:00
Sergio Pedri d70ce4b618 Rename CCW to D2D1ResourceTextureManagerImpl 2022-08-15 15:01:19 +02:00