From e94636b80cc618e2bcf59a53242bb4255066d98d Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 14 Oct 2022 15:46:22 +0200 Subject: [PATCH] Run dotnet format whitespace --- .../Blas/BlasBenchmark.cs | 4 +-- .../Blas/BlasHelpers.cs | 4 +-- .../Dispatching/DispatchingBenchmark.cs | 4 +-- .../Imaging/ImagingBenchmark.cs | 4 +-- samples/ComputeSharp.Benchmark/Program.cs | 4 +-- .../Primitives/Complex64.cs | 4 +-- .../Primitives/ComplexVector4.cs | 2 +- .../Processors/HlslBokehBlurProcessor.cs | 4 +-- .../HlslBokehBlurProcessor{TPixel}.cs | 4 +-- .../Processors/HlslGaussianBlurProcessor.cs | 4 +-- .../HlslGaussianBlurProcessor{TPixel}.cs | 4 +-- .../ComputeSharp.ImageProcessing/Program.cs | 4 +-- .../MultiplyByTwo.cs | 4 +-- .../ComputeSharp.Sample/Helpers/Formatting.cs | 4 +-- samples/ComputeSharp.Sample/Program.cs | 4 +-- .../Constants/Error.cs | 4 +-- .../Constants/Event.cs | 4 +-- .../Converters/RenderingPauseConverter.cs | 4 +-- .../Converters/ResolutionScaleConverter.cs | 4 +-- .../Services/DebugAnalyticsService.cs | 4 +-- .../Services/IAnalyticsService.cs | 4 +-- .../Shaders/Runners/ContouredLayersRunner.cs | 4 +-- .../ViewModels/MainViewModel.cs | 4 +-- .../ViewModels/ShaderRunnerViewModel.cs | 2 +- .../ColorfulInfinity.cs | 4 +-- .../ContouredLayers.cs | 8 +++--- .../ExtrudedTruchetPattern.cs | 4 +-- .../FourColorGradient.cs | 8 +++--- .../FractalTiling.cs | 4 +-- .../HelloWorld.cs | 4 +-- .../MengerJourney.cs | 4 +-- .../Octagrams.cs | 4 +-- .../ProteanClouds.cs | 6 ++--- .../PyramidPattern.cs | 6 ++--- .../TriangleGridContouring.cs | 10 +++---- .../TwoTiledTruchet.cs | 4 +-- .../ComputeSharp.SwapChain.Uwp/App.xaml.cs | 4 +-- .../Extensions/AssemblyExtensions.cs | 4 +-- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/SkipLocalsInitAttribute.cs | 2 +- .../Services/AppCenterService.cs | 4 +-- .../Views/MainView.xaml.cs | 4 +-- .../ComputeSharp.SwapChain.WinUI/App.xaml.cs | 4 +-- .../Views/MainWindow.xaml.cs | 4 +-- .../Backend/SwapChainApplication{T}.cs | 4 +-- .../Backend/Win32Application.cs | 4 +-- .../Backend/Win32ApplicationRunner.cs | 12 ++++----- samples/ComputeSharp.SwapChain/Program.cs | 6 ++--- ...erpolatedStringHandlerArgumentAttribute.cs | 2 +- .../InterpolatedStringHandlerAttribute.cs | 2 +- .../IsExternalInit.cs | 4 +-- .../RuntimeHelpers.cs | 2 +- .../SkipLocalsInitAttribute.cs | 2 +- .../AutoConstructorGenerator.cs | 4 +-- .../GlobalUsingDirectivesGenerator.cs | 4 +-- .../Models/ConstructorInfo.cs | 2 +- .../Models/ParameterInfo.cs | 4 +-- .../Attributes/AutoConstructorAttribute.cs | 4 +-- .../Internals/AutoConstructorBehavior.cs | 4 +-- .../AutoConstructorBehaviorAttribute.cs | 2 +- .../InvalidExecutionContextException.cs | 4 +-- .../FormatInterpolatedStringHandler.cs | 2 +- ...TryWriteFormatInterpolatedStringHandler.cs | 2 +- .../Attributes/HlslIntrinsicNameAttribute.cs | 4 +-- src/ComputeSharp.Core/Intrinsics/Hlsl.cs | 4 +-- src/ComputeSharp.Core/Primitives/Bool/Bool.cs | 4 +-- .../Primitives/Bool/Bool2.cs | 4 +-- .../Primitives/Bool/Bool3.cs | 4 +-- .../Primitives/Bool/Bool4.cs | 4 +-- .../Primitives/Double/Double2.cs | 4 +-- .../Primitives/Double/Double3.cs | 4 +-- .../Primitives/Double/Double4.cs | 4 +-- .../Primitives/Float/Float2.cs | 4 +-- .../Primitives/Float/Float3.cs | 4 +-- .../Primitives/Float/Float4.cs | 4 +-- src/ComputeSharp.Core/Primitives/Int/Int2.cs | 4 +-- src/ComputeSharp.Core/Primitives/Int/Int3.cs | 4 +-- src/ComputeSharp.Core/Primitives/Int/Int4.cs | 4 +-- .../Primitives/MatrixIndex.cs | 4 +-- .../Primitives/UInt/UInt2.cs | 4 +-- .../Primitives/UInt/UInt3.cs | 4 +-- .../Primitives/UInt/UInt4.cs | 4 +-- .../Polyfills/UnscopedRefAttribute.cs | 2 +- .../System/Buffers/BitOperations.cs | 2 +- .../DoesNotReturnAttribute.cs | 2 +- .../System/Math.cs | 4 +-- .../CompilerServices/RuntimeHelpers.cs | 2 +- .../System/Text/EncodingExtensions.cs | 2 +- ...xelShaderSourceGenerator.Execute.Syntax.cs | 4 +-- .../D2DPixelShaderSourceGenerator.Execute.cs | 4 +-- .../D2DPixelShaderSourceGenerator.cs | 4 +-- ...alidAssemblyLevelCompileOptionsAnalyzer.cs | 2 +- ...validD2DResourceTextureIndexUseAnalyzer.cs | 2 +- .../Diagnostics/DiagnosticDescriptors.cs | 4 +-- .../Diagnostics/SuppressionDescriptors.cs | 4 +-- ...eUninitializedFieldDiagnosticSuppressor.cs | 4 +-- ...ator.CreateBuildHlslSourceMethod.Syntax.cs | 4 +-- ...erGenerator.CreateBuildHlslSourceMethod.cs | 6 ++--- ...erator.CreateGetInputCountMethod.Syntax.cs | 4 +-- ...nerator.CreateGetInputTypeMethod.Syntax.cs | 4 +-- ...haderGenerator.CreateGetInputTypeMethod.cs | 4 +-- ...ator.CreateGetOutputBufferMethod.Syntax.cs | 4 +-- ...erGenerator.CreateGetOutputBufferMethod.cs | 4 +-- ...ator.CreateGetPixelOptionsMethod.Syntax.cs | 4 +-- ...erGenerator.CreateGetPixelOptionsMethod.cs | 4 +-- ...InitializeFromDispatchDataMethod.Syntax.cs | 4 +-- ...nerator.CreateLoadBytecodeMethod.Syntax.cs | 4 +-- ...haderGenerator.CreateLoadBytecodeMethod.cs | 4 +-- ...tor.CreateLoadDispatchDataMethod.Syntax.cs | 4 +-- ...rGenerator.CreateLoadDispatchDataMethod.cs | 4 +-- ...reateLoadInputDescriptionsMethod.Syntax.cs | 4 +-- ...rator.CreateLoadInputDescriptionsMethod.cs | 4 +-- ...esourceTextureDescriptionsMethod.Syntax.cs | 4 +-- ...teLoadResourceTextureDescriptionsMethod.cs | 4 +-- .../ID2D1ShaderGenerator.Helpers.cs | 4 +-- .../ID2D1ShaderGenerator.cs | 6 ++--- .../Mappings/HlslKnownKeywords.cs | 4 +-- .../Mappings/HlslKnownMethods.cs | 2 +- .../Mappings/HlslKnownProperties.cs | 4 +-- .../Mappings/HlslKnownTypes.cs | 4 +-- .../Models/D2D1PixelShaderSourceInfo.cs | 4 +-- .../Models/D2D1ShaderInfo.cs | 4 +-- .../Models/DispatchDataInfo.cs | 4 +-- .../Models/EmbeddedBytecodeInfo.cs | 4 +-- .../Models/EmbeddedBytecodeMethodInfo.cs | 4 +-- .../Models/FieldInfo.cs | 4 +-- .../Models/HlslShaderMethodSourceInfo.cs | 4 +-- .../Models/HlslShaderSourceInfo.cs | 4 +-- .../Models/InputDescription.cs | 4 +-- .../Models/InputDescriptionsInfo.cs | 2 +- .../Models/InputTypesInfo.cs | 4 +-- .../Models/OutputBufferInfo.cs | 4 +-- .../Models/ResourceTextureDescription.cs | 4 +-- .../Models/ResourceTextureDescriptionsInfo.cs | 2 +- .../SyntaxRewriters/ShaderSourceRewriter.cs | 4 +-- .../SyntaxRewriters/StaticFieldRewriter.cs | 4 +-- .../Attributes/D2DCompileOptionsAttribute.cs | 4 +-- .../Attributes/D2DInputComplexAttribute.cs | 4 +-- .../Attributes/D2DInputCountAttribute.cs | 4 +-- .../D2DInputDescriptionAttribute.cs | 4 +-- .../Attributes/D2DInputSimpleAttribute.cs | 4 +-- .../Attributes/D2DOutputBufferAttribute.cs | 4 +-- .../Attributes/D2DPixelOptionsAttribute.cs | 4 +-- .../D2DPixelShaderSourceAttribute.cs | 4 +-- .../D2DRequiresScenePositionAttribute.cs | 4 +-- .../D2DResourceTextureIndexAttribute.cs | 4 +-- .../Attributes/D2DShaderProfileAttribute.cs | 4 +-- .../Attributes/Enums/D2D1BufferPrecision.cs | 4 +-- .../Attributes/Enums/D2D1ChannelDepth.cs | 4 +-- .../Attributes/Enums/D2D1CompileOptions.cs | 4 +-- .../Attributes/Enums/D2D1Filter.cs | 4 +-- .../Attributes/Enums/D2D1PixelOptions.cs | 4 +-- .../Attributes/Enums/D2D1ShaderProfile.cs | 4 +-- .../Extensions/ComPtrExtensions.cs | 4 +-- .../Extensions/HRESULTExtensions.cs | 4 +-- .../Extensions/RECTExtensions.cs | 4 +-- .../Extensions/RectangleExtensions.cs | 4 +-- src/ComputeSharp.D2D1/Helpers/ThrowHelper.cs | 2 +- .../Interfaces/ID2D1PixelShader.cs | 2 +- .../ID2D1TransformMapperFactory{T}.cs | 4 +-- .../Interfaces/ID2D1TransformMapper{T}.cs | 4 +-- .../__Internals/ID2D1BytecodeLoader.cs | 4 +-- .../__Internals/ID2D1DispatchDataLoader.cs | 4 +-- .../ID2D1InputDescriptionsLoader.cs | 4 +-- .../ID2D1ResourceTextureDescriptionsLoader.cs | 4 +-- .../Interfaces/__Internals/ID2D1Shader.cs | 4 +-- src/ComputeSharp.D2D1/Intrinsics/D2D.cs | 6 ++--- .../CompilerFeatureRequiredAttribute.cs | 2 +- .../Polyfills/RequiredMemberAttribute.cs | 2 +- .../Polyfills/StringSyntaxAttribute.cs | 2 +- .../Resources/D2D1ResourceTexture1D{T}.cs | 4 +-- .../Resources/D2D1ResourceTexture2D{T}.cs | 4 +-- .../Resources/D2D1ResourceTexture3D{T}.cs | 4 +-- .../Exceptions/FxcCompilationException.cs | 6 ++--- .../ArrayPoolBinaryWriterExtensions.cs | 2 +- .../Buffers/ArrayPoolBinaryWriter{T}.cs | 4 +-- .../Buffers/PinnedBufferMemoryManager.cs | 4 +-- .../Interop/D2D1EffectRegistrationData.cs | 4 +-- .../Shaders/Interop/D2D1ExtendMode.cs | 4 +-- .../Shaders/Interop/D2D1InputDescription.cs | 4 +-- .../Shaders/Interop/D2D1PixelShader.cs | 4 +-- .../Shaders/Interop/D2D1PixelShaderEffect.cs | 6 ++--- .../Interop/D2D1PixelShaderEffectProperty.cs | 4 +-- .../Interop/D2D1PixelShaderInputType.cs | 4 +-- .../Shaders/Interop/D2D1PropertyBinding.cs | 2 +- .../Shaders/Interop/D2D1ReflectionServices.cs | 6 ++--- .../Interop/D2D1ResourceTextureDescription.cs | 4 +-- .../Interop/D2D1ResourceTextureManager.cs | 4 +-- .../Shaders/Interop/D2D1ShaderCompiler.cs | 4 +-- .../Shaders/Interop/D2D1ShaderInfo.cs | 4 +-- .../Interop/D2D1TransformMapperFactory{T}.cs | 6 ++--- .../Interop/Effects/D2D1TransformMapper.cs | 4 +-- .../Effects/PixelShaderEffect.For{T}.cs | 2 +- ...lShaderEffect.ID2D1DrawTransformMethods.cs | 2 +- ...ixelShaderEffect.ID2D1EffectImplMethods.cs | 6 ++--- .../Effects/PixelShaderEffect.Properties.cs | 2 +- ...aderEffect.ResourceTextureManagerBuffer.cs | 2 +- .../Interop/Effects/PixelShaderEffect.cs | 2 +- ...ManagerImpl.ID2D1ResourceTextureManager.cs | 4 +-- ...mpl.ID2D1ResourceTextureManagerInternal.cs | 4 +-- .../D2D1ResourceTextureManagerImpl.cs | 4 +-- .../ID2D1ResourceTextureManager.cs | 4 +-- .../ID2D1ResourceTextureManagerInternal.cs | 6 ++--- .../ID2D1EffectContextExtensions.cs | 4 +-- ...ctory{T, TParameters, TTransformMapper}.cs | 2 +- ...apperParametersAccessor{T, TParameters}.cs | 2 +- .../D2D1TransformMapper{T, TParameters}.cs | 2 +- .../D2D1AffineTransformMapperFactory.cs | 2 +- .../D2D1InflateTransformMapperFactory.cs | 2 +- .../Shaders/Interop/Helpers/Point64.cs | 2 +- .../Shaders/Interop/Helpers/Rectangle64.cs | 2 +- .../D2D1BufferSizeDispatchDataLoader.cs | 4 +-- .../D2D1ByteArrayDispatchDataLoader.cs | 4 +-- .../D2D1ByteArrayInputDescriptionsLoader.cs | 4 +-- ...eArrayResourceTextureDescriptionsLoader.cs | 4 +-- .../D2D1ByteBufferDispatchDataLoader.cs | 4 +-- .../Loaders/D2D1DrawInfoDispatchDataLoader.cs | 4 +-- .../Loaders/D2D1EffectDispatchDataLoader.cs | 4 +-- .../Loaders/D2D1ShaderBytecodeLoader.cs | 4 +-- .../Translation/D3DCompiler.ID3DInclude.cs | 4 +-- .../Shaders/Translation/D3DCompiler.cs | 4 +-- .../Headers/d2d1effecthelpers.hlsli.cs | 4 +-- .../__Internals/D2D1ShaderCompiler.cs | 4 +-- .../Attributes/ShaderMethodAttribute.cs | 4 +-- ...derMethodSourceAttribute.HlslGeneration.cs | 4 +-- .../ShaderMethodSourceAttribute.cs | 4 +-- .../Exceptions/DxcCompilationException.cs | 6 ++--- .../Shaders/Interop/ReflectionServices.cs | 4 +-- .../Shaders/Interop/ShaderInfo.cs | 4 +-- .../ShaderCompiler.LibraryLoading.cs | 4 +-- .../Shaders/Translation/ShaderCompiler.cs | 2 +- .../Translation/__Internals/ShaderCompiler.cs | 4 +-- .../DictionaryExtensions.cs | 2 +- .../Collections.Generic/QueueExtensions.cs | 2 +- .../MemberNotNullAttribute.cs | 2 +- .../RequiresUnreferencedCodeAttribute.cs | 2 +- src/ComputeSharp.NetStandard/System/Enum.cs | 2 +- .../System/FormatExtensions.cs | 2 +- src/ComputeSharp.NetStandard/System/GC.cs | 2 +- .../System/IO/StreamExtensions.cs | 4 +-- .../System/IntPtrExtensions.cs | 2 +- src/ComputeSharp.NetStandard/System/Path.cs | 2 +- .../CompilerServices/RuntimeHelpers.cs | 2 +- .../Runtime/InteropServices/MemoryMarshal.cs | 2 +- .../Runtime/InteropServices/NativeMemory.cs | 2 +- .../UnmanagedCallersOnlyAttribute.cs | 2 +- .../Runtime/Versioning/OSPlatformAttribute.cs | 2 +- .../SupportedOSPlatformAttribute.cs | 2 +- .../ComputeContextExtensions.cs | 4 +-- .../ID3D12GraphicsCommandListExtensions.cs | 4 +-- src/ComputeSharp.Pix/Interop/Pix.cs | 4 +-- src/ComputeSharp.Pix/Interop/Pix.h.cs | 4 +-- .../Diagnostics/DiagnosticDescriptors.cs | 4 +-- .../Extensions/StringExtensions.cs | 4 +-- .../Extensions/SyntaxNodeExtensions.cs | 4 +-- .../Helpers/SemanticModelProvider.cs | 4 +-- .../Helpers/SyntaxTokenHelper.cs | 6 ++--- .../Mappings/HlslKnownFields.cs | 4 +-- .../Mappings/HlslKnownKeywords.cs | 4 +-- .../Mappings/HlslKnownMethods.cs | 2 +- .../Mappings/HlslKnownOperators.cs | 4 +-- .../Mappings/HlslKnownProperties.cs | 4 +-- .../Mappings/HlslKnownSizes.cs | 4 +-- .../Mappings/HlslKnownTypes.cs | 4 +-- .../HlslSourceRewriter.Diagnostics.cs | 4 +-- .../SyntaxRewriters/HlslSourceRewriter.cs | 8 +++--- .../SyntaxRewriters/ShaderSourceRewriter.cs | 6 ++--- .../SyntaxRewriters/StaticFieldRewriter.cs | 4 +-- .../Extensions/AttributeDataExtensions.cs | 4 +-- .../Extensions/CompilationExtensions.cs | 2 +- .../Extensions/DiagnosticsExtensions.cs | 4 +-- .../Extensions/HashCodeExtensions.cs | 4 +-- .../Extensions/IEqualityComparerExtensions.cs | 4 +-- .../Extensions/ISymbolExtensions.cs | 4 +-- .../Extensions/ImmutableArrayExtensions.cs | 4 +-- .../IncrementalValueProviderExtensions.cs | 2 +- .../Helpers/Comparer{T,TSelf}.cs | 4 +-- .../Helpers/HashCode.cs | 2 +- .../Models/DeferredDiagnosticInfo.cs | 4 +-- .../Models/DiagnosticInfo.cs | 4 +-- .../Models/HierarchyInfo.cs | 4 +-- .../Models/TypeInfo.cs | 4 +-- .../Core/Interfaces/__Internals/IShader.cs | 4 +-- .../Extensions/Interop/HRESULTExtensions.cs | 4 +-- .../InvalidComputeContextCopyAnalyzer.cs | 4 +-- .../Diagnostics/DiagnosticDescriptors.cs | 4 +-- .../Helpers/SyntaxFactoryHelper.cs | 4 +-- ...ator.CreateBuildHlslSourceMethod.Syntax.cs | 4 +-- ...erGenerator.CreateBuildHlslSourceMethod.cs | 8 +++--- ...erator.CreateGetDispatchIdMethod.Syntax.cs | 4 +-- ...aderGenerator.CreateGetDispatchIdMethod.cs | 4 +-- ...nerator.CreateLoadBytecodeMethod.Syntax.cs | 4 +-- ...haderGenerator.CreateLoadBytecodeMethod.cs | 4 +-- ...tor.CreateLoadDispatchDataMethod.Syntax.cs | 4 +-- ...rGenerator.CreateLoadDispatchDataMethod.cs | 4 +-- ...CreateLoadDispatchMetadataMethod.Syntax.cs | 4 +-- ...erator.CreateLoadDispatchMetadataMethod.cs | 4 +-- .../IShaderGenerator.Helpers.cs | 4 +-- .../IShaderGenerator.cs | 6 ++--- .../Mappings/HlslKnownKeywords.cs | 4 +-- .../Mappings/HlslKnownMethods.cs | 2 +- .../Mappings/HlslKnownProperties.cs | 4 +-- .../Mappings/HlslKnownTypes.cs | 8 +++--- .../Models/DispatchDataInfo.cs | 4 +-- .../Models/DispatchIdInfo.cs | 4 +-- .../Models/DispatchMetadataInfo.cs | 2 +- .../Models/EmbeddedBytecodeInfo.cs | 4 +-- .../Models/FieldInfo.cs | 4 +-- .../Models/HlslMethodSourceInfo.cs | 4 +-- .../Models/HlslShaderSourceInfo.cs | 4 +-- .../Models/ResourceDescriptor.cs | 4 +-- .../Models/ShaderInfo.cs | 4 +-- .../Models/ShaderMethodInfo.cs | 4 +-- .../Models/ShaderType.cs | 2 +- .../Models/ThreadIdsInfo.cs | 4 +-- .../ShaderMethodSourceGenerator.cs | 4 +-- .../SyntaxRewriters/ExecuteMethodRewriter.cs | 4 +-- .../SyntaxRewriters/ShaderSourceRewriter.cs | 4 +-- .../SyntaxRewriters/StaticFieldRewriter.cs | 4 +-- .../AnimatedComputeShaderPanel.Properties.cs | 6 ++--- .../Controls/AnimatedComputeShaderPanel.cs | 4 +-- .../Controls/ComputeShaderPanel.Properties.cs | 4 +-- .../Controls/ComputeShaderPanel.cs | 4 +-- .../Controls/RenderingFailedEventArgs.cs | 4 +-- .../Extensions/IDXGIAdapterExtensions.cs | 4 +-- .../Extensions/SemaphoreSlimExtensions.cs | 4 +-- .../Helpers/DynamicResolutionManager.cs | 4 +-- .../Helpers/SwapChainManager.Rendering.cs | 6 ++--- .../Helpers/SwapChainManager.cs | 18 ++++++------- src/ComputeSharp.UI/IFrameRequestQueue.cs | 4 +-- src/ComputeSharp.UI/IShaderRunner.cs | 4 +-- src/ComputeSharp.UI/ShaderRunner{T}.cs | 4 +-- .../Properties/AssemblyInfo.cs | 2 +- .../Attributes/EmbeddedBytecodeAttribute.cs | 4 +-- .../Core/Attributes/GroupSharedAttribute.cs | 4 +-- .../Core/Dispatch/DispatchAxis.cs | 4 +-- .../Core/Dispatch/DispatchSize.cs | 4 +-- src/ComputeSharp/Core/Dispatch/GridIds.cs | 4 +-- src/ComputeSharp/Core/Dispatch/GroupIds.cs | 4 +-- src/ComputeSharp/Core/Dispatch/GroupSize.cs | 4 +-- .../Core/Dispatch/ThreadIds.Normalized.cs | 4 +-- src/ComputeSharp/Core/Dispatch/ThreadIds.cs | 4 +-- .../Core/Extensions/FloatExtensions.cs | 4 +-- .../Core/Extensions/MethodInfoExtensions.cs | 4 +-- .../Core/Extensions/VectorExtensions.cs | 4 +-- .../Core/Helpers/AlignmentHelper.cs | 4 +-- src/ComputeSharp/Core/Imaging/Bgra32.cs | 4 +-- .../Core/Imaging/Formats/ImageFormat.cs | 4 +-- .../Imaging/Interfaces/IPixel{T,TPixel}.cs | 4 +-- src/ComputeSharp/Core/Imaging/R16.cs | 4 +-- src/ComputeSharp/Core/Imaging/R8.cs | 4 +-- src/ComputeSharp/Core/Imaging/Rg16.cs | 4 +-- src/ComputeSharp/Core/Imaging/Rg32.cs | 4 +-- src/ComputeSharp/Core/Imaging/Rgba32.cs | 4 +-- src/ComputeSharp/Core/Imaging/Rgba64.cs | 4 +-- .../Core/Interfaces/IComputeShader.cs | 4 +-- .../Core/Interfaces/IPixelShader{TPixel}.cs | 4 +-- .../Interfaces/__Internals/IBytecodeLoader.cs | 4 +-- .../__Internals/IDispatchDataLoader.cs | 4 +-- .../__Internals/IDispatchMetadataLoader.cs | 4 +-- .../Core/Interfaces/__Internals/IShader.cs | 4 +-- .../Graphics/Commands/CommandList.cs | 4 +-- .../Commands/Interop/ID3D12CommandListPool.cs | 4 +-- .../ID3D12DescriptorHandleAllocator.cs | 4 +-- .../ID3D12ResourceDescriptorHandles.cs | 4 +-- .../Graphics/DeviceLostEventArgs.cs | 4 +-- src/ComputeSharp/Graphics/DeviceLostReason.cs | 4 +-- .../GraphicsDeviceMismatchException.cs | 4 +-- .../UnsupportedDoubleOperationsException.cs | 4 +-- .../UnsupportedTextureTypeException.cs | 4 +-- .../Graphics/Extensions/BufferExtensions.cs | 4 +-- .../GraphicsDeviceExtensions.Dispatching.cs | 4 +-- .../GraphicsDeviceExtensions.Resources.cs | 4 +-- .../Extensions/Interop/AllocatorExtensions.cs | 4 +-- .../Extensions/Interop/ComPtrExtensions.cs | 4 +-- .../Extensions/Interop/HRESULTExtensions.cs | 4 +-- .../Interop/ID3D12DeviceExtensions.cs | 4 +-- .../ID3D12GraphicsCommandListExtensions.cs | 4 +-- .../Interop/ID3D12ResourceExtensions.cs | 4 +-- .../IWICStreamExtensions.IBufferWriter.cs | 4 +-- .../Interop/IWICStreamExtensions.Stream.cs | 4 +-- .../Extensions/ReadBackBufferExtensions.cs | 4 +-- .../Extensions/ReadBackTexture1DExtensions.cs | 4 +-- .../Extensions/ReadBackTexture2DExtensions.cs | 4 +-- .../Extensions/ReadBackTexture3DExtensions.cs | 4 +-- .../ReadWriteTexture1DExtensions.cs | 4 +-- .../ReadWriteTexture2DExtensions.cs | 4 +-- .../ReadWriteTexture3DExtensions.cs | 4 +-- .../Extensions/StructuredBufferExtensions.cs | 4 +-- .../Extensions/Texture1DExtensions.cs | 4 +-- .../Extensions/Texture2DExtensions.cs | 4 +-- .../Extensions/Texture3DExtensions.cs | 4 +-- .../Extensions/UploadBufferExtensions.cs | 4 +-- .../Extensions/UploadTexture1DExtensions.cs | 4 +-- .../Extensions/UploadTexture2DExtensions.cs | 6 ++--- .../Extensions/UploadTexture3DExtensions.cs | 4 +-- .../Graphics/GraphicsDevice.DeviceLost.cs | 4 +-- .../Graphics/GraphicsDevice.Execute.cs | 4 +-- .../Graphics/GraphicsDevice.GetDevice.cs | 4 +-- src/ComputeSharp/Graphics/GraphicsDevice.cs | 4 +-- .../Graphics/GraphicsDeviceInfo.cs | 4 +-- .../Graphics/Helpers/DXGIFormatHelper.cs | 6 ++--- .../Helpers/DeviceHelper.Enumerator.cs | 4 +-- .../Graphics/Helpers/DeviceHelper.Factory.cs | 4 +-- .../Helpers/DeviceHelper.ID3D12InfoQueue.cs | 4 +-- .../Helpers/DeviceHelper.IDXGIFactory6.cs | 4 +-- .../Graphics/Helpers/DeviceHelper.cs | 6 ++--- .../Graphics/Helpers/MemoryHelper.cs | 6 ++--- .../Graphics/Helpers/TypeInfo{T}.cs | 4 +-- .../Graphics/Helpers/WICFormatHelper.cs | 4 +-- .../Graphics/Helpers/WICHelper.cs | 4 +-- .../__Internals/GraphicsResourceHelper.cs | 4 +-- .../Graphics/Interop/InteropServices.cs | 4 +-- .../Interop/NativeObject.ReferenceTracking.cs | 4 +-- .../Graphics/Interop/NativeObject.cs | 2 +- src/ComputeSharp/Graphics/Luid.cs | 4 +-- .../Graphics/Resources/Abstract/Buffer{T}.cs | 4 +-- .../Resources/Abstract/StructuredBuffer{T}.cs | 26 +++++++++---------- .../Resources/Abstract/Texture1D{T}.cs | 20 +++++++------- .../Resources/Abstract/Texture2D{T}.cs | 22 ++++++++-------- .../Resources/Abstract/Texture3D{T}.cs | 26 +++++++++---------- .../Resources/Abstract/TransferBuffer{T}.cs | 4 +-- .../Abstract/TransferTexture1D{T}.cs | 4 +-- .../Abstract/TransferTexture2D{T}.cs | 4 +-- .../Abstract/TransferTexture3D{T}.cs | 4 +-- .../Graphics/Resources/ConstantBuffer{T}.cs | 4 +-- .../Resources/Debug/BufferDebugView{T}.cs | 4 +-- .../Resources/Debug/Texture1DDebugView{T}.cs | 4 +-- .../Resources/Debug/Texture2DDebugView{T}.cs | 4 +-- .../Resources/Debug/Texture3DDebugView{T}.cs | 4 +-- .../Debug/TransferBufferDebugView{T}.cs | 4 +-- .../Debug/TransferTexture1DDebugView{T}.cs | 4 +-- .../Debug/TransferTexture2DDebugView{T}.cs | 4 +-- .../Debug/TransferTexture3DDebugView{T}.cs | 4 +-- .../Resources/Enums/AllocationMode.cs | 4 +-- .../Graphics/Resources/Enums/ResourceState.cs | 4 +-- .../Graphics/Resources/Enums/ResourceType.cs | 4 +-- .../Resources/Helpers/ResourceStateHelper.cs | 8 +++--- .../Resources/Interfaces/IGraphicsResource.cs | 4 +-- .../IReadOnlyNormalizedTexture1D{TPixel}.cs | 4 +-- .../IReadOnlyNormalizedTexture2D{TPixel}.cs | 4 +-- .../IReadOnlyNormalizedTexture3D{TPixel}.cs | 4 +-- .../Interfaces/IReadOnlyTexture1D{T}.cs | 4 +-- .../Interfaces/IReadOnlyTexture2D{T}.cs | 4 +-- .../Interfaces/IReadOnlyTexture3D{T}.cs | 4 +-- .../IReadWriteNormalizedTexture1D{TPixel}.cs | 4 +-- .../IReadWriteNormalizedTexture2D{TPixel}.cs | 4 +-- .../IReadWriteNormalizedTexture3D{TPixel}.cs | 4 +-- .../Resources/Interop/ID3D12ResourceMap.cs | 4 +-- .../Interop/__Internals/ResourceDescriptor.cs | 4 +-- .../Graphics/Resources/ReadBackBuffer{T}.cs | 4 +-- .../Resources/ReadBackTexture1D{T}.cs | 4 +-- .../Resources/ReadBackTexture2D{T}.cs | 4 +-- .../Resources/ReadBackTexture3D{T}.cs | 4 +-- .../Graphics/Resources/ReadOnlyBuffer{T}.cs | 4 +-- .../Resources/ReadOnlyTexture1D{T,TPixel}.cs | 4 +-- .../Resources/ReadOnlyTexture1D{T}.cs | 4 +-- .../Resources/ReadOnlyTexture2D{T,TPixel}.cs | 6 ++--- .../Resources/ReadOnlyTexture2D{T}.cs | 4 +-- .../Resources/ReadOnlyTexture3D{T,TPixel}.cs | 4 +-- .../Resources/ReadOnlyTexture3D{T}.cs | 4 +-- .../Graphics/Resources/ReadWriteBuffer{T}.cs | 4 +-- .../ReadWriteTexture1D{T,TPixel}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture1D{T,TPixel}.cs | 4 +-- .../ReadWriteTexture1D{T}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture1D{T}.cs | 4 +-- .../ReadWriteTexture2D{T,TPixel}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture2D{T,TPixel}.cs | 4 +-- .../ReadWriteTexture2D{T}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture2D{T}.cs | 4 +-- .../ReadWriteTexture3D{T,TPixel}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture3D{T,TPixel}.cs | 4 +-- .../ReadWriteTexture3D{T}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture3D{T}.cs | 4 +-- .../Graphics/Resources/UploadBuffer{T}.cs | 4 +-- .../Graphics/Resources/UploadTexture1D{T}.cs | 4 +-- .../Graphics/Resources/UploadTexture2D{T}.cs | 4 +-- .../Graphics/Resources/UploadTexture3D{T}.cs | 4 +-- .../Resources/Views/TextureView2D{T}.cs | 4 +-- .../Resources/Views/TextureView3D{T}.cs | 4 +-- src/ComputeSharp/Properties/Configuration.cs | 2 +- src/ComputeSharp/Shaders/ComputeContext.cs | 4 +-- .../ComputeShaderDispatchDataLoader.cs | 4 +-- .../PixelShaderDispatchDataLoader.cs | 4 +-- .../Dispatching/ShaderBytecodeLoader.cs | 4 +-- .../ShaderDispatchMetadataLoader.cs | 4 +-- .../__Internals/ArrayPoolStringBuilder.cs | 4 +-- .../Extensions/ComputeContextExtensions.cs | 4 +-- .../Interop/ID3D12DeviceExtensions.cs | 4 +-- .../Shaders/Loading/PipelineDataLoader{T}.cs | 6 ++--- .../Shaders/Models/ICachedShader.cs | 6 ++--- .../Shaders/Models/PipelineData.cs | 4 +-- src/ComputeSharp/Shaders/Models/ShaderKey.cs | 4 +-- .../DirectX/um/d2d1/D2D1_EXTEND_MODE.cs | 2 +- .../DirectX/um/d2d1/ID2D1Factory.cs | 2 +- .../DirectX/um/d2d1/ID2D1Image.cs | 2 +- .../um/d2d1_1/D2D1_BUFFER_PRECISION.cs | 2 +- .../DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs | 2 +- .../DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs | 2 +- .../DirectX/um/d2d1_1/ID2D1DeviceContext.cs | 2 +- .../DirectX/um/d2d1_1/ID2D1Effect.cs | 2 +- .../DirectX/um/d2d1_1/ID2D1Factory1.cs | 2 +- .../DirectX/um/d2d1_1/ID2D1Multithread.cs | 2 +- .../um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs | 2 +- .../um/d2d1effectauthor/D2D1_FEATURE.cs | 2 +- .../D2D1_FEATURE_DATA_DOUBLES.cs | 2 +- .../um/d2d1effectauthor/D2D1_FILTER.cs | 2 +- .../D2D1_INPUT_DESCRIPTION.cs | 2 +- .../um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs | 2 +- .../d2d1effectauthor/D2D1_PROPERTY_BINDING.cs | 2 +- .../D2D1_RESOURCE_TEXTURE_PROPERTIES.cs | 2 +- .../um/d2d1effectauthor/ID2D1DrawInfo.cs | 2 +- .../um/d2d1effectauthor/ID2D1DrawTransform.cs | 2 +- .../um/d2d1effectauthor/ID2D1EffectContext.cs | 2 +- .../um/d2d1effectauthor/ID2D1EffectImpl.cs | 2 +- .../d2d1effectauthor/ID2D1ResourceTexture.cs | 2 +- .../um/d2d1effectauthor/ID2D1Transform.cs | 2 +- .../d2d1effectauthor/ID2D1TransformGraph.cs | 2 +- .../um/d2d1effectauthor/ID2D1TransformNode.cs | 2 +- .../DirectX/um/d2d1effects/CLSID.cs | 2 +- .../um/d3d11shader/D3D11_SHADER_DESC.cs | 2 +- .../um/d3d11shader/ID3D11ShaderReflection.cs | 2 +- .../DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs | 2 +- .../DirectX/um/d3dcommon/ID3DInclude.cs | 2 +- .../DirectX/um/d3dcompiler/D3DCOMPILE.cs | 2 +- .../DirectX/um/d3dcompiler/D3D_BLOB_PART.cs | 2 +- .../DirectX/um/d3dcompiler/DirectX.cs | 2 +- .../Windows/shared/uuids/Windows.Manual.cs | 4 +-- .../Windows/shared/windef/RECT.cs | 2 +- .../Windows/shared/winerror/D2DERR.cs | 2 +- .../Windows/shared/winerror/E.cs | 2 +- .../Windows/shared/winerror/Windows.cs | 2 +- .../DirectX.cs | 2 +- .../DirectX/other/d3dx12/D3D12_BOX.Manual.cs | 2 +- .../D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs | 2 +- .../D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs | 2 +- .../D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs | 2 +- .../d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs | 2 +- .../d3dx12/D3D12_RESOURCE_DESC.Manual.cs | 2 +- .../d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs | 2 +- .../d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs | 2 +- .../d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs | 2 +- .../D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs | 2 +- .../d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs | 2 +- .../d3dx12/D3D12_SHADER_BYTECODE.Manual.cs | 2 +- .../D3D12_STATIC_SAMPLER_DESC.Manual.cs | 2 +- .../D3D12_TEXTURE_COPY_LOCATION.Manual.cs | 2 +- ...12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs | 2 +- .../DirectX/shared/dxgi/DXGI.cs | 2 +- .../DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs | 2 +- .../DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs | 2 +- .../DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs | 2 +- .../shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs | 2 +- .../DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs | 2 +- .../DirectX/shared/dxgi/IDXGIAdapter.cs | 2 +- .../DirectX/shared/dxgi/IDXGIAdapter1.cs | 2 +- .../DirectX/shared/dxgi/IDXGIFactory.cs | 2 +- .../DirectX/shared/dxgi/IDXGIOutput.cs | 2 +- .../DirectX/shared/dxgi/IDXGISwapChain.cs | 2 +- .../DirectX/shared/dxgi1_2/DXGIOutput1.cs | 2 +- .../DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs | 2 +- .../DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs | 2 +- .../DirectX/shared/dxgi1_2/DXGI_SCALING.cs | 2 +- .../shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs | 2 +- .../DirectX/shared/dxgi1_2/IDXGIFactory2.cs | 2 +- .../DirectX/shared/dxgi1_2/IDXGISwapChain1.cs | 2 +- .../DirectX/shared/dxgi1_3/DXGI.cs | 2 +- .../shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs | 2 +- .../DirectX/shared/dxgi1_3/DirectX.cs | 2 +- .../DirectX/shared/dxgi1_4/IDXGIFactory4.cs | 2 +- .../DirectX/shared/dxgi1_4/IDXGISwapChain3.cs | 2 +- .../DirectX/shared/dxgi1_5/DXGI_FEATURE.cs | 2 +- .../shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs | 2 +- .../DirectX/shared/dxgi1_6/IDXGIFactory6.cs | 2 +- .../shared/dxgicommon/DXGI_RATIONAL.cs | 2 +- .../dxgicommon/DXGI_SAMPLE_DESC.Manual.cs | 2 +- .../shared/dxgicommon/DXGI_SAMPLE_DESC.cs | 2 +- .../DirectX/shared/dxgiformat/DXGI_FORMAT.cs | 2 +- .../shared/dxgitype/DXGI_MODE_SCALING.cs | 2 +- .../dxgitype/DXGI_MODE_SCANLINE_ORDER.cs | 2 +- .../DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs | 2 +- .../DirectX/um/d3d11/D3D11.cs | 2 +- .../DirectX/um/d3d11shader/D3D.cs | 2 +- .../DirectX/um/d3d12/D3D12.cs | 2 +- .../um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs | 2 +- .../um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs | 2 +- .../DirectX/um/d3d12/D3D12_BOX.cs | 2 +- .../DirectX/um/d3d12/D3D12_BUFFER_SRV.cs | 2 +- .../um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_BUFFER_UAV.cs | 2 +- .../um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs | 2 +- .../um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs | 2 +- .../DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs | 2 +- .../um/d3d12/D3D12_COMMAND_LIST_TYPE.cs | 2 +- .../um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs | 2 +- .../um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs | 2 +- .../um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs | 2 +- .../DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs | 2 +- .../D3D12_COMPUTE_PIPELINE_STATE_DESC.cs | 2 +- .../D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs | 2 +- .../d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs | 2 +- .../um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs | 2 +- .../um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs | 2 +- .../um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs | 2 +- .../um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs | 2 +- .../um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs | 2 +- .../um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs | 2 +- .../um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs | 2 +- .../um/d3d12/D3D12_DESCRIPTOR_RANGE.cs | 2 +- .../um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs | 2 +- .../um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs | 2 +- .../um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs | 2 +- .../D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs | 2 +- .../um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs | 2 +- .../DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs | 2 +- .../DirectX/um/d3d12/D3D12_FEATURE.cs | 2 +- .../d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs | 2 +- .../d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs | 2 +- .../d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs | 2 +- .../D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs | 2 +- .../D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs | 2 +- .../D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs | 2 +- .../d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs | 2 +- .../DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_FILTER.cs | 2 +- .../DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs | 2 +- .../DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs | 2 +- .../um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs | 2 +- .../DirectX/um/d3d12/D3D12_HEAP_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs | 2 +- .../DirectX/um/d3d12/D3D12_HEAP_TYPE.cs | 2 +- .../DirectX/um/d3d12/D3D12_MEMORY_POOL.cs | 2 +- .../um/d3d12/D3D12_MESH_SHADER_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_MIP_REGION.cs | 2 +- .../um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs | 2 +- .../D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs | 2 +- .../DirectX/um/d3d12/D3D12_RANGE.cs | 2 +- ...2_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs | 2 +- .../d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs | 2 +- .../d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs | 2 +- .../d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs | 2 +- .../um/d3d12/D3D12_RESOURCE_BARRIER.cs | 2 +- .../um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs | 2 +- .../um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs | 2 +- .../um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs | 2 +- .../um/d3d12/D3D12_RESOURCE_DIMENSION.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs | 2 +- .../um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs | 2 +- .../D3D12_RESOURCE_TRANSITION_BARRIER.cs | 2 +- .../um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs | 2 +- .../um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs | 2 +- .../um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs | 2 +- .../um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs | 2 +- .../um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs | 2 +- .../um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs | 2 +- .../um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs | 2 +- .../um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs | 2 +- .../um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs | 2 +- .../um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs | 2 +- .../D3D12_SHADER_MIN_PRECISION_SUPPORT.cs | 2 +- .../d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs | 2 +- .../um/d3d12/D3D12_SHADER_VISIBILITY.cs | 2 +- .../DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs | 2 +- .../um/d3d12/D3D12_STATIC_BORDER_COLOR.cs | 2 +- .../um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs | 2 +- .../um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX1D_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX1D_UAV.cs | 2 +- .../um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX2D_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX2D_UAV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX3D_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEX3D_UAV.cs | 2 +- .../um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs | 2 +- .../um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs | 2 +- .../um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs | 2 +- .../um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs | 2 +- .../um/d3d12/D3D12_TILED_RESOURCES_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs | 2 +- .../d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs | 2 +- .../D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs | 2 +- .../um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs | 2 +- .../DirectX/um/d3d12/D3D_SHADER_MODEL.cs | 2 +- .../DirectX/um/d3d12/DirectX.cs | 2 +- .../um/d3d12/ID3D12CommandAllocator.cs | 2 +- .../DirectX/um/d3d12/ID3D12CommandList.cs | 2 +- .../DirectX/um/d3d12/ID3D12CommandQueue.cs | 2 +- .../DirectX/um/d3d12/ID3D12DescriptorHeap.cs | 2 +- .../DirectX/um/d3d12/ID3D12Device.cs | 2 +- .../d3d12/ID3D12DeviceRemovedExtendedData1.cs | 2 +- ...D3D12DeviceRemovedExtendedDataSettings1.cs | 2 +- .../DirectX/um/d3d12/ID3D12Fence.cs | 2 +- .../um/d3d12/ID3D12GraphicsCommandList.cs | 2 +- .../DirectX/um/d3d12/ID3D12Heap.cs | 2 +- .../DirectX/um/d3d12/ID3D12PipelineState.cs | 2 +- .../DirectX/um/d3d12/ID3D12Resource.cs | 2 +- .../DirectX/um/d3d12/ID3D12RootSignature.cs | 2 +- .../d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs | 2 +- .../D3D12_INFO_QUEUE_FILTER_DESC.cs | 2 +- .../um/d3d12sdklayers/D3D12_MESSAGE.cs | 2 +- .../d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs | 2 +- .../um/d3d12sdklayers/D3D12_MESSAGE_ID.cs | 2 +- .../d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs | 2 +- .../DirectX/um/d3d12sdklayers/ID3D12Debug.cs | 2 +- .../DirectX/um/d3d12sdklayers/ID3D12Debug1.cs | 2 +- .../um/d3d12sdklayers/ID3D12InfoQueue.cs | 2 +- .../um/d3d12shader/D3D12_SHADER_DESC.cs | 2 +- .../um/d3d12shader/ID3D12ShaderReflection.cs | 2 +- .../DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs | 2 +- .../DirectX/um/d3dcommon/D3D_PRIMITIVE.cs | 2 +- .../um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs | 2 +- .../um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs | 2 +- .../D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs | 2 +- .../d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs | 2 +- .../DirectX/um/d3dcommon/ID3DBlob.cs | 2 +- .../DirectX/um/dxcapi/CLSID.cs | 2 +- .../DirectX/um/dxcapi/DxcBuffer.cs | 2 +- .../DirectX/um/dxcapi/DxcDefine.cs | 2 +- .../DirectX/um/dxcapi/IDxcBlob.cs | 2 +- .../DirectX/um/dxcapi/IDxcBlobEncoding.cs | 2 +- .../DirectX/um/dxcapi/IDxcCompiler.cs | 2 +- .../DirectX/um/dxcapi/IDxcIncludeHandler.cs | 2 +- .../DirectX/um/dxcapi/IDxcLibrary.cs | 2 +- .../DirectX/um/dxcapi/IDxcOperationResult.cs | 2 +- .../DirectX/um/dxcapi/IDxcUtils.cs | 2 +- .../ISwapChainPanelNative.cs | 2 +- .../Windows/other/helper-types/BOOL.cs | 2 +- .../Windows/other/helper-types/HANDLE.cs | 2 +- .../Windows/other/helper-types/HRESULT.cs | 2 +- .../Windows/other/helper-types/HWND.cs | 2 +- .../Windows/other/helper-types/LPARAM.cs | 2 +- .../Windows/other/helper-types/LRESULT.cs | 2 +- .../NativeInheritanceAttribute.cs | 2 +- .../helper-types/NativeTypeNameAttribute.cs | 2 +- .../other/helper-types/VtblIndexAttribute.cs | 2 +- .../Windows/other/helper-types/WPARAM.cs | 2 +- .../Windows/shared/minwindef/FILETIME.cs | 2 +- .../Windows/shared/minwindef/Windows.cs | 2 +- .../Windows/shared/uuids/Windows.Manual.cs | 4 +-- .../Windows/shared/winerror/DXGI.cs | 2 +- .../Windows/shared/winerror/E.cs | 2 +- .../Windows/shared/winerror/S.cs | 2 +- .../Windows/shared/winerror/STG.cs | 2 +- .../Windows/shared/winerror/Windows.Manual.cs | 2 +- .../Windows/shared/wtypes/STATFLAG.cs | 2 +- .../Windows/shared/wtypesbase/CLSCTX.cs | 2 +- .../Windows/um/Unknwnbase/IID.cs | 2 +- .../Windows/um/Unknwnbase/IUnknown.cs | 2 +- .../Windows/um/WinBase/Windows.cs | 2 +- .../Windows/um/combaseapi/Windows.cs | 2 +- .../Windows/um/coml2api/STGM.cs | 2 +- .../Windows/um/handleapi/Windows.cs | 2 +- .../um/minwinbase/SECURITY_ATTRIBUTES.cs | 2 +- .../Windows/um/objidlbase/IID.cs | 2 +- .../Windows/um/objidlbase/IStream.cs | 2 +- .../Windows/um/objidlbase/STATSTG.cs | 2 +- .../Windows/um/objidlbase/STGTY.cs | 2 +- .../Windows/um/synchapi/Windows.cs | 2 +- .../Windows/um/wincodec/CLSID.cs | 2 +- .../Windows/um/wincodec/GUID.cs | 2 +- .../Windows/um/wincodec/IWICBitmap.cs | 2 +- .../Windows/um/wincodec/IWICBitmapDecoder.cs | 2 +- .../Windows/um/wincodec/IWICBitmapEncoder.cs | 2 +- .../um/wincodec/IWICBitmapFrameDecode.cs | 2 +- .../um/wincodec/IWICBitmapFrameEncode.cs | 2 +- .../Windows/um/wincodec/IWICBitmapSource.cs | 2 +- .../um/wincodec/IWICFormatConverter.cs | 2 +- .../um/wincodec/IWICImagingFactory2.cs | 2 +- .../Windows/um/wincodec/IWICPalette.cs | 2 +- .../Windows/um/wincodec/IWICStream.cs | 2 +- .../wincodec/WICBitmapAlphaChannelOption.cs | 2 +- .../um/wincodec/WICBitmapCreateCacheOption.cs | 2 +- .../um/wincodec/WICBitmapDitherType.cs | 2 +- .../wincodec/WICBitmapEncoderCacheOption.cs | 2 +- .../um/wincodec/WICBitmapPaletteType.cs | 2 +- .../Windows/um/wincodec/WICDecodeOptions.cs | 2 +- .../Windows/um/wincodec/WICRect.cs | 2 +- .../Windows/um/winnt/LARGE_INTEGER.cs | 2 +- .../Windows/um/winnt/LUID.cs | 2 +- .../Windows/um/winnt/ULARGE_INTEGER.cs | 2 +- .../Windows/um/winnt/Windows.cs | 2 +- .../D2D1PixelShaderTests.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../D2D1EffectRegistrationDataTests.cs | 2 +- .../D2D1PixelShaderEffectTests.cs | 2 +- .../D2D1PixelShaderTests.cs | 2 +- .../D2D1ResourceTextureManagerTests.cs | 2 +- ...itializedFieldDiagnosticSuppressorTests.cs | 4 +-- .../D2D1ShaderCompilerTests.cs | 2 +- .../D2DPixelShaderSourceTests.cs | 2 +- .../Effects/BokehBlurEffect.cs | 4 +-- .../Effects/CheckerboardClipEffect.cs | 4 +-- .../Effects/InvertEffect.cs | 4 +-- .../Effects/InvertWithThresholdEffect.cs | 4 +-- .../Effects/PixelateEffect.cs | 2 +- .../Effects/ZonePlateEffect.cs | 4 +-- .../ComputeSharp.D2D1.Tests/EndToEndTests.cs | 2 +- .../Extensions/ComPtrExtensions.cs | 4 +-- .../Extensions/HRESULTExtensions.cs | 4 +-- .../Helpers/D2D1Helper.cs | 4 +-- .../Helpers/D2D1TestRunner.cs | 4 +-- .../Helpers/ImageHelper.cs | 4 +-- tests/ComputeSharp.Dynamic.NuGet/Program.cs | 4 +-- tests/ComputeSharp.NuGet/Program.cs | 4 +-- tests/ComputeSharp.Pix.NuGet/Program.cs | 4 +-- .../DeviceDisposalTests.cs | 4 +-- .../DeviceLostTests.cs | 4 +-- .../Extensions/DeviceExtensions.cs | 6 ++--- .../GetDefaultDeviceTests.cs | 4 +-- .../Helpers/GraphicsDeviceHelper.cs | 4 +-- .../Properties/AssemblyInfo.cs | 4 +-- .../TerraFX.Interop.Windows/ID3D12Device5.cs | 2 +- .../DispatchTests.cs | 4 +-- .../Program.cs | 2 +- .../AlignmentHelperTests.cs | 4 +-- .../DebugViewTests.cs | 4 +-- .../Helpers/DebugDispatchDataLoader.cs | 4 +-- .../NativeObjectTests.cs | 4 +-- .../ShaderCompilerTests.cs | 4 +-- .../ShaderDataLoaderTests.cs | 6 ++--- .../ShaderHashCodeTests.cs | 4 +-- .../DynamicNativeLibrariesResolverTests.cs | 4 +-- .../NativeLibrariesResolverTestsBase.cs | 2 +- .../NativeLibrariesResolverTests.cs | 4 +-- .../PixNativeLibrariesResolverTests.cs | 4 +-- .../Properties/AssemblyInfo.cs | 2 +- .../AutoConstructorGeneratorTests.cs | 4 +-- .../DiagnosticsTests.cs | 4 +-- .../Attributes/AdditionalDataAttribute.cs | 4 +-- .../Attributes/AdditionalResourceAttribute.cs | 4 +-- .../Attributes/AllDevicesAttribute.cs | 4 +-- .../CombinatorialTestMethodAttribute.cs | 4 +-- .../Attributes/DataAttribute.cs | 4 +-- .../Attributes/DeviceAttribute.cs | 4 +-- .../Attributes/ResourceAttribute.cs | 4 +-- .../AutoConstructorAttributeTests.cs | 4 +-- tests/ComputeSharp.Tests/BufferTests.cs | 6 ++--- .../ComputeSharp.Tests/ComputeContextTests.cs | 6 ++--- tests/ComputeSharp.Tests/DispatchTests.cs | 6 ++--- .../Extensions/DeviceExtensions.cs | 6 ++--- .../Extensions/GraphicsDeviceExtensions.cs | 4 +-- .../Extensions/ImagingExtensions.cs | 4 +-- .../GlobalUsingDirectivesTests.cs | 4 +-- .../ComputeSharp.Tests/Helpers/TestHelper.cs | 4 +-- .../Helpers/TolerantImageComparer.cs | 4 +-- tests/ComputeSharp.Tests/IPixelShaderTests.cs | 4 +-- .../ImageProcessingTests.cs | 6 ++--- tests/ComputeSharp.Tests/ImagingTests.cs | 4 +-- .../ComputeSharp.Tests/InitializationTests.cs | 4 +-- .../InteropServicesTests.cs | 4 +-- .../MetaprogrammingTests.cs | 4 +-- .../Misc/ExternalStructType.cs | 4 +-- .../Polyfills/RandomExtensions.cs | 4 +-- .../Properties/AssemblyInfo.cs | 4 +-- .../ComputeSharp.Tests/ShaderCompilerTests.cs | 4 +-- .../ComputeSharp.Tests/ShaderMembersTests.cs | 4 +-- .../ComputeSharp.Tests/ShaderRewriterTests.cs | 4 +-- .../Shaders/Compute/ColorfulInfinity.cs | 4 +-- .../Shaders/Compute/ContouredLayers.cs | 8 +++--- .../Shaders/Compute/ExtrudedTruchetPattern.cs | 4 +-- .../Shaders/Compute/FourColorGradient.cs | 8 +++--- .../Shaders/Compute/FractalTiling.cs | 4 +-- .../Shaders/Compute/HelloWorld.cs | 4 +-- .../Shaders/Compute/MengerJourney.cs | 4 +-- .../Shaders/Compute/Octagrams.cs | 4 +-- .../Shaders/Compute/ProteanClouds.cs | 4 +-- .../Shaders/Compute/PyramidPattern.cs | 4 +-- .../Shaders/Compute/TriangleGridContouring.cs | 4 +-- .../Shaders/Compute/TwoTiledTruchet.cs | 4 +-- tests/ComputeSharp.Tests/ShadersTests.cs | 4 +-- .../Texture1DTests.Pixels.cs | 4 +-- tests/ComputeSharp.Tests/Texture1DTests.cs | 6 ++--- .../Texture2DTests.Pixels.cs | 4 +-- tests/ComputeSharp.Tests/Texture2DTests.cs | 4 +-- .../Texture3DTests.Pixels.cs | 4 +-- tests/ComputeSharp.Tests/Texture3DTests.cs | 4 +-- .../ComputeSharp.Tests/TransferBufferTests.cs | 4 +-- .../TransferTexture1DTests.cs | 4 +-- .../TransferTexture2DTests.cs | 4 +-- .../TransferTexture3DTests.cs | 4 +-- 896 files changed, 1511 insertions(+), 1511 deletions(-) diff --git a/samples/ComputeSharp.Benchmark/Blas/BlasBenchmark.cs b/samples/ComputeSharp.Benchmark/Blas/BlasBenchmark.cs index 9f2478ba..e786756b 100644 --- a/samples/ComputeSharp.Benchmark/Blas/BlasBenchmark.cs +++ b/samples/ComputeSharp.Benchmark/Blas/BlasBenchmark.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Engines; @@ -160,4 +160,4 @@ public class BlasBenchmark : IDisposable y.CopyTo(this.y); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.Benchmark/Blas/BlasHelpers.cs b/samples/ComputeSharp.Benchmark/Blas/BlasHelpers.cs index b58acb8e..8f789cc9 100644 --- a/samples/ComputeSharp.Benchmark/Blas/BlasHelpers.cs +++ b/samples/ComputeSharp.Benchmark/Blas/BlasHelpers.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace ComputeSharp.Benchmark.Blas; @@ -105,4 +105,4 @@ internal static partial class BlasHelpers y[ThreadIds.X * n * p + ThreadIds.Y * p + ThreadIds.Z] = result + b[ThreadIds.Z]; } } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.Benchmark/Dispatching/DispatchingBenchmark.cs b/samples/ComputeSharp.Benchmark/Dispatching/DispatchingBenchmark.cs index 53a1f1cf..4fa7a91e 100644 --- a/samples/ComputeSharp.Benchmark/Dispatching/DispatchingBenchmark.cs +++ b/samples/ComputeSharp.Benchmark/Dispatching/DispatchingBenchmark.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Configs; @@ -118,4 +118,4 @@ public partial class DispatchingBenchmark : IDisposable { } } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.Benchmark/Imaging/ImagingBenchmark.cs b/samples/ComputeSharp.Benchmark/Imaging/ImagingBenchmark.cs index 82967c70..84ef323f 100644 --- a/samples/ComputeSharp.Benchmark/Imaging/ImagingBenchmark.cs +++ b/samples/ComputeSharp.Benchmark/Imaging/ImagingBenchmark.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Reflection; using BenchmarkDotNet.Attributes; @@ -91,4 +91,4 @@ public class ImagingBenchmark : IDisposable { this.image!.Mutate(c => c.ApplyProcessor(new HlslGaussianBlurProcessor(80))); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.Benchmark/Program.cs b/samples/ComputeSharp.Benchmark/Program.cs index c6be10ee..d095abb2 100644 --- a/samples/ComputeSharp.Benchmark/Program.cs +++ b/samples/ComputeSharp.Benchmark/Program.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; using BenchmarkDotNet.Running; // ================= @@ -8,4 +8,4 @@ using BenchmarkDotNet.Running; // it as the startup project for the solution and run it without the debugger // (CTRL + F5), or compile it and then go to its bin\Release\net6.0 folder, // open a cmd prompt and run "dotnet ComputeSharp.Benchmark.dll". -BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()).Run(args); +BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()).Run(args); \ No newline at end of file diff --git a/samples/ComputeSharp.ImageProcessing/Primitives/Complex64.cs b/samples/ComputeSharp.ImageProcessing/Primitives/Complex64.cs index 37aeea99..6425a07e 100644 --- a/samples/ComputeSharp.ImageProcessing/Primitives/Complex64.cs +++ b/samples/ComputeSharp.ImageProcessing/Primitives/Complex64.cs @@ -1,4 +1,4 @@ -// Copyright (c) Six Labors. +// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System.Runtime.CompilerServices; @@ -42,4 +42,4 @@ internal readonly struct Complex64 /// The result. [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Complex64 operator *(Complex64 value, float scalar) => new Complex64(value.Real * scalar, value.Imaginary * scalar); -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.ImageProcessing/Primitives/ComplexVector4.cs b/samples/ComputeSharp.ImageProcessing/Primitives/ComplexVector4.cs index 3d3431f4..27e3808d 100644 --- a/samples/ComputeSharp.ImageProcessing/Primitives/ComplexVector4.cs +++ b/samples/ComputeSharp.ImageProcessing/Primitives/ComplexVector4.cs @@ -1,4 +1,4 @@ -// Copyright (c) Six Labors. +// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System.Numerics; diff --git a/samples/ComputeSharp.ImageProcessing/Processors/HlslBokehBlurProcessor.cs b/samples/ComputeSharp.ImageProcessing/Processors/HlslBokehBlurProcessor.cs index f2b1f4c7..c514dc91 100644 --- a/samples/ComputeSharp.ImageProcessing/Processors/HlslBokehBlurProcessor.cs +++ b/samples/ComputeSharp.ImageProcessing/Processors/HlslBokehBlurProcessor.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; @@ -81,4 +81,4 @@ public sealed partial class HlslBokehBlurProcessor : IImageProcessor return Unsafe.As>(processor); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.ImageProcessing/Processors/HlslBokehBlurProcessor{TPixel}.cs b/samples/ComputeSharp.ImageProcessing/Processors/HlslBokehBlurProcessor{TPixel}.cs index 2677d2a2..d5577809 100644 --- a/samples/ComputeSharp.ImageProcessing/Processors/HlslBokehBlurProcessor{TPixel}.cs +++ b/samples/ComputeSharp.ImageProcessing/Processors/HlslBokehBlurProcessor{TPixel}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Numerics; @@ -435,4 +435,4 @@ public sealed partial class HlslBokehBlurProcessor } } } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.ImageProcessing/Processors/HlslGaussianBlurProcessor.cs b/samples/ComputeSharp.ImageProcessing/Processors/HlslGaussianBlurProcessor.cs index b046b334..a677568b 100644 --- a/samples/ComputeSharp.ImageProcessing/Processors/HlslGaussianBlurProcessor.cs +++ b/samples/ComputeSharp.ImageProcessing/Processors/HlslGaussianBlurProcessor.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; @@ -85,4 +85,4 @@ public sealed partial class HlslGaussianBlurProcessor : IImageProcessor return Unsafe.As>(processor); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.ImageProcessing/Processors/HlslGaussianBlurProcessor{TPixel}.cs b/samples/ComputeSharp.ImageProcessing/Processors/HlslGaussianBlurProcessor{TPixel}.cs index d6edd6e6..725a1c41 100644 --- a/samples/ComputeSharp.ImageProcessing/Processors/HlslGaussianBlurProcessor{TPixel}.cs +++ b/samples/ComputeSharp.ImageProcessing/Processors/HlslGaussianBlurProcessor{TPixel}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using CommunityToolkit.Diagnostics; @@ -178,4 +178,4 @@ public sealed partial class HlslGaussianBlurProcessor } } } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.ImageProcessing/Program.cs b/samples/ComputeSharp.ImageProcessing/Program.cs index 9d862a93..bc1113fb 100644 --- a/samples/ComputeSharp.ImageProcessing/Program.cs +++ b/samples/ComputeSharp.ImageProcessing/Program.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Reflection; using ComputeSharp.BokehBlur.Processors; @@ -37,4 +37,4 @@ foreach (var effect in new (string Name, IImageProcessor Processor)[] targetPath = Path.Combine(targetPath, $"{Path.GetFileNameWithoutExtension(path)}_{effect.Name}{Path.GetExtension(path)}"); copy.Save(targetPath); -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.Sample.FSharp.Shaders/MultiplyByTwo.cs b/samples/ComputeSharp.Sample.FSharp.Shaders/MultiplyByTwo.cs index 4d20dfb6..dc935c28 100644 --- a/samples/ComputeSharp.Sample.FSharp.Shaders/MultiplyByTwo.cs +++ b/samples/ComputeSharp.Sample.FSharp.Shaders/MultiplyByTwo.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.Sample.FSharp.Shaders; +namespace ComputeSharp.Sample.FSharp.Shaders; /// /// A sample shader thaat just multiplies items in a buffer by two. @@ -13,4 +13,4 @@ public readonly partial struct MultiplyByTwo : IComputeShader { buffer[ThreadIds.X] *= 2; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.Sample/Helpers/Formatting.cs b/samples/ComputeSharp.Sample/Helpers/Formatting.cs index 6fbe1b6e..6cb14ea9 100644 --- a/samples/ComputeSharp.Sample/Helpers/Formatting.cs +++ b/samples/ComputeSharp.Sample/Helpers/Formatting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Linq; using CommunityToolkit.Diagnostics; @@ -42,4 +42,4 @@ internal static class Formatting Console.WriteLine(new string('=', 50)); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.Sample/Program.cs b/samples/ComputeSharp.Sample/Program.cs index 64294e81..1ccc2b9e 100644 --- a/samples/ComputeSharp.Sample/Program.cs +++ b/samples/ComputeSharp.Sample/Program.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using ComputeSharp; using ComputeSharp.Sample; @@ -33,4 +33,4 @@ internal readonly partial struct MultiplyByTwo : IComputeShader { buffer[ThreadIds.X] *= 2; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Error.cs b/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Error.cs index fa6f2fce..3665d3dd 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Error.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Error.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Core.Constants; +namespace ComputeSharp.SwapChain.Core.Constants; /// /// A with the collection of tracked errors for analytics. @@ -7,4 +7,4 @@ public static class Error { public const string RenderingFailedOnMainPanel = "[SHELL] RenderingFailed (main panel)"; public const string RenderingFailedOnSelectionPanel = "[SHELL] RenderingFailed (selection panel)"; -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Event.cs b/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Event.cs index 171865b4..67d2b89d 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Event.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Event.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Core.Constants; +namespace ComputeSharp.SwapChain.Core.Constants; /// /// A with the collection of tracked events for analytics. @@ -12,4 +12,4 @@ public static class Event public const string IsRenderingPausedChanged = "[SETTINGS] IsRenderingPaused"; public const string OpenShaderSelectionPanel = "[SHELL] Open ShaderSelectionPanel"; public const string CloseShaderSelectionPanel = "[SHELL] Close ShaderSelectionPanel"; -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Converters/RenderingPauseConverter.cs b/samples/ComputeSharp.SwapChain.Core.Shared/Converters/RenderingPauseConverter.cs index 18c8479b..3a04208c 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/Converters/RenderingPauseConverter.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/Converters/RenderingPauseConverter.cs @@ -1,4 +1,4 @@ -#if WINDOWS_UWP +#if WINDOWS_UWP using Windows.UI.Xaml.Controls; #else using Microsoft.UI.Xaml.Controls; @@ -20,4 +20,4 @@ public static class RenderingPauseConverter { return value ? Symbol.Play : Symbol.Pause; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Converters/ResolutionScaleConverter.cs b/samples/ComputeSharp.SwapChain.Core.Shared/Converters/ResolutionScaleConverter.cs index b13c844a..a7be9a73 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/Converters/ResolutionScaleConverter.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/Converters/ResolutionScaleConverter.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Core.Converters; +namespace ComputeSharp.SwapChain.Core.Converters; /// /// A class with some static converters for resolution scale settings. @@ -24,4 +24,4 @@ public static class ResolutionScaleConverter { return value / 100.0; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Services/DebugAnalyticsService.cs b/samples/ComputeSharp.SwapChain.Core.Shared/Services/DebugAnalyticsService.cs index c3945e56..1ce14814 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/Services/DebugAnalyticsService.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/Services/DebugAnalyticsService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Text; @@ -48,4 +48,4 @@ public sealed class DebugAnalyticsService : IAnalyticsService Trace.Write(builder); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Services/IAnalyticsService.cs b/samples/ComputeSharp.SwapChain.Core.Shared/Services/IAnalyticsService.cs index d5c0a92e..34313347 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/Services/IAnalyticsService.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/Services/IAnalyticsService.cs @@ -1,4 +1,4 @@ -using System; +using System; #nullable enable @@ -22,4 +22,4 @@ public interface IAnalyticsService /// The exception that has been thrown. /// The optional event properties. void Log(Exception exception, params (string Property, object? Value)[]? data); -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/ContouredLayersRunner.cs b/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/ContouredLayersRunner.cs index 09804b6b..43e65539 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/ContouredLayersRunner.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/ContouredLayersRunner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using ComputeSharp.SwapChain.Shaders; #if WINDOWS_UWP @@ -39,4 +39,4 @@ public sealed class ContouredLayersRunner : IShaderRunner return true; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs b/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs index e4e2cbae..ebcd4a34 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using CommunityToolkit.Diagnostics; using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.Input; @@ -170,4 +170,4 @@ public sealed partial class MainViewModel : ObservableObject { IsRenderingPaused = !IsRenderingPaused; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/ShaderRunnerViewModel.cs b/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/ShaderRunnerViewModel.cs index c8cafd7c..7931cbd8 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/ShaderRunnerViewModel.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/ShaderRunnerViewModel.cs @@ -1,4 +1,4 @@ -using System; +using System; using CommunityToolkit.Mvvm.ComponentModel; #if WINDOWS_UWP using ComputeSharp.Uwp; diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/ColorfulInfinity.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/ColorfulInfinity.cs index 13437cbd..22d6f40d 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/ColorfulInfinity.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/ColorfulInfinity.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// A shader creating an abstract and colorful animation. @@ -68,4 +68,4 @@ internal readonly partial struct ColorfulInfinity : IPixelShader return new(col.X, col.Y, col.Z, 1.0f); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/ContouredLayers.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/ContouredLayers.cs index 91b0b04d..7093a284 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/ContouredLayers.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/ContouredLayers.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// Constructing some concise contoured layers, then applying various edge and shading effects to produce some faux depth. @@ -68,7 +68,7 @@ internal readonly partial struct ContouredLayers : IPixelShader private float Noise2D3G(float2 p) { float2 i = Hlsl.Floor(p); - + p -= i; float4 v = default; @@ -112,7 +112,7 @@ internal readonly partial struct ContouredLayers : IPixelShader private float3 GetColor(float2 p, float sh, float fi) { float3 tx = texture.Sample(p + Hash21(new float2(sh, fi))).XYZ; - + tx *= tx; float3 col; @@ -196,4 +196,4 @@ internal readonly partial struct ContouredLayers : IPixelShader return new float4(Hlsl.Sqrt(Hlsl.Max(col, 0.0f)), 1); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/ExtrudedTruchetPattern.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/ExtrudedTruchetPattern.cs index dbaf8d63..d6ae933d 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/ExtrudedTruchetPattern.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/ExtrudedTruchetPattern.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// A basic extruded square grid-based blobby Truchet pattern. @@ -295,4 +295,4 @@ internal readonly partial struct ExtrudedTruchetPattern : IPixelShader return c; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/FourColorGradient.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/FourColorGradient.cs index 7fa9a2ef..86bcccf9 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/FourColorGradient.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/FourColorGradient.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// A shader which interpolates four different colors into a rotating gradient pattern. @@ -65,8 +65,8 @@ internal readonly partial struct FourColorGradient : IPixelShader u.X), Hlsl.Lerp( Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(0.0f, 1.0f)), f - new float2(0.0f, 1.0f)), - Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(1.0f, 1.0f)), f - new float2(1.0f, 1.0f)), - u.X), + Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(1.0f, 1.0f)), f - new float2(1.0f, 1.0f)), + u.X), u.Y); return 0.5f + 0.5f * n; @@ -105,4 +105,4 @@ internal readonly partial struct FourColorGradient : IPixelShader return new(col, 1.0f); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/FractalTiling.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/FractalTiling.cs index 06cf1d1e..44e06949 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/FractalTiling.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/FractalTiling.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// A shader creating a fractal tiling animation. @@ -45,4 +45,4 @@ internal readonly partial struct FractalTiling : IPixelShader return color; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/HelloWorld.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/HelloWorld.cs index 793c234a..b26396fd 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/HelloWorld.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/HelloWorld.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// A simple shader to get started with based on shadertoy new shader template. @@ -27,4 +27,4 @@ internal readonly partial struct HelloWorld : IPixelShader // Output to screen return new(col, 1f); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/MengerJourney.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/MengerJourney.cs index 37f655d6..fe38fc7f 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/MengerJourney.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/MengerJourney.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// A shader creating a flythrough in a Menger system. @@ -169,4 +169,4 @@ internal readonly partial struct MengerJourney : IPixelShader return RayMarch(camPos, rayDir, ThreadIds.XY); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/Octagrams.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/Octagrams.cs index cf09264b..f29287e2 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/Octagrams.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/Octagrams.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// A shader creating an octagram animation, inspired by arabesque. @@ -123,4 +123,4 @@ internal readonly partial struct Octagrams : IPixelShader return color; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/ProteanClouds.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/ProteanClouds.cs index 550ef977..eb98e798 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/ProteanClouds.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/ProteanClouds.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// Fully procedural 3D animated volume with three evaluations per step (for shading). @@ -23,7 +23,7 @@ internal readonly partial struct ProteanClouds : IPixelShader { float c = Hlsl.Cos(a); float s = Hlsl.Sin(a); - + return new(c, s, -s, c); } @@ -168,4 +168,4 @@ internal readonly partial struct ProteanClouds : IPixelShader return new(col, 1.0f); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/PyramidPattern.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/PyramidPattern.cs index b441299e..e7fee5db 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/PyramidPattern.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/PyramidPattern.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// An offset grid of square-based pyramids whose tips have been offset according to an underlying directional noise field. @@ -44,7 +44,7 @@ internal readonly partial struct PyramidPattern : IPixelShader private static float N2D3G(float2 p) { float2 i = Hlsl.Floor(p); - + p -= i; float4 v = default; @@ -175,4 +175,4 @@ internal readonly partial struct PyramidPattern : IPixelShader return new(Hlsl.Sqrt(Hlsl.Max(col, 0.0f)), 1); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/TriangleGridContouring.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/TriangleGridContouring.cs index a54daecf..134552d8 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/TriangleGridContouring.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/TriangleGridContouring.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// Utilizing a 2D simplex grid to construct the isolines of a noise function. @@ -45,7 +45,7 @@ internal readonly partial struct TriangleGridContouring : IPixelShader private float N2D3G(float2 p) { float2 i = Hlsl.Floor(p); - + p -= i; float4 v = default; @@ -130,7 +130,7 @@ internal readonly partial struct TriangleGridContouring : IPixelShader if (iTh >= 4 && iTh <= 6) { float2 tmp = p0; - + p0 = p1; p1 = tmp; } @@ -138,7 +138,7 @@ internal readonly partial struct TriangleGridContouring : IPixelShader if (i == 0.0f) { float2 tmp = p0; - + p0 = p1; p1 = tmp; } @@ -277,4 +277,4 @@ internal readonly partial struct TriangleGridContouring : IPixelShader return new(Hlsl.Sqrt(Hlsl.Max(col, 0.0f)), 1); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Shaders.Shared/TwoTiledTruchet.cs b/samples/ComputeSharp.SwapChain.Shaders.Shared/TwoTiledTruchet.cs index 9c07eaac..6096f4bb 100644 --- a/samples/ComputeSharp.SwapChain.Shaders.Shared/TwoTiledTruchet.cs +++ b/samples/ComputeSharp.SwapChain.Shaders.Shared/TwoTiledTruchet.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders; +namespace ComputeSharp.SwapChain.Shaders; /// /// A shader creating an animated two-tiles Truchet arrangement. @@ -143,4 +143,4 @@ internal readonly partial struct TwoTiledTruchet : IPixelShader return color; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Uwp/App.xaml.cs b/samples/ComputeSharp.SwapChain.Uwp/App.xaml.cs index 4db963a7..763ad27f 100644 --- a/samples/ComputeSharp.SwapChain.Uwp/App.xaml.cs +++ b/samples/ComputeSharp.SwapChain.Uwp/App.xaml.cs @@ -1,4 +1,4 @@ -#if !DEBUG +#if !DEBUG using System; using System.Diagnostics; using System.Reflection; @@ -112,4 +112,4 @@ sealed partial class App : Application coreTitleBar.ExtendViewIntoTitleBar = true; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Uwp/Extensions/AssemblyExtensions.cs b/samples/ComputeSharp.SwapChain.Uwp/Extensions/AssemblyExtensions.cs index 52587761..61e44ce9 100644 --- a/samples/ComputeSharp.SwapChain.Uwp/Extensions/AssemblyExtensions.cs +++ b/samples/ComputeSharp.SwapChain.Uwp/Extensions/AssemblyExtensions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Reflection; using CommunityToolkit.Diagnostics; @@ -41,4 +41,4 @@ public static class AssemblyExtensions return false; } } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Uwp/Properties/AssemblyInfo.cs b/samples/ComputeSharp.SwapChain.Uwp/Properties/AssemblyInfo.cs index 0ed0ddff..bf5595ef 100644 --- a/samples/ComputeSharp.SwapChain.Uwp/Properties/AssemblyInfo.cs +++ b/samples/ComputeSharp.SwapChain.Uwp/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/samples/ComputeSharp.SwapChain.Uwp/Properties/SkipLocalsInitAttribute.cs b/samples/ComputeSharp.SwapChain.Uwp/Properties/SkipLocalsInitAttribute.cs index 894d04db..56e0896b 100644 --- a/samples/ComputeSharp.SwapChain.Uwp/Properties/SkipLocalsInitAttribute.cs +++ b/samples/ComputeSharp.SwapChain.Uwp/Properties/SkipLocalsInitAttribute.cs @@ -1,4 +1,4 @@ -namespace System.Runtime.CompilerServices; +namespace System.Runtime.CompilerServices; /// /// Used to indicate to the compiler that the .locals init flag should not be set in method headers. diff --git a/samples/ComputeSharp.SwapChain.Uwp/Services/AppCenterService.cs b/samples/ComputeSharp.SwapChain.Uwp/Services/AppCenterService.cs index 13f204c7..af5e4f99 100644 --- a/samples/ComputeSharp.SwapChain.Uwp/Services/AppCenterService.cs +++ b/samples/ComputeSharp.SwapChain.Uwp/Services/AppCenterService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using ComputeSharp.SwapChain.Core.Services; @@ -58,4 +58,4 @@ public sealed class AppCenterService : IAnalyticsService : $"|{text.Substring(text.Length - PropertyStringMaxLength)}"; }); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml.cs b/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml.cs index 2b3f0f9e..4528f462 100644 --- a/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml.cs +++ b/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml.cs @@ -1,4 +1,4 @@ -using System; +using System; using CommunityToolkit.Mvvm.DependencyInjection; using ComputeSharp.SwapChain.Core.Constants; using ComputeSharp.SwapChain.Core.Services; @@ -64,4 +64,4 @@ public sealed partial class MainView : UserControl RenderingErrorInfoBar.IsOpen = true; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.WinUI/App.xaml.cs b/samples/ComputeSharp.SwapChain.WinUI/App.xaml.cs index 9d6f7953..67e0cd58 100644 --- a/samples/ComputeSharp.SwapChain.WinUI/App.xaml.cs +++ b/samples/ComputeSharp.SwapChain.WinUI/App.xaml.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using ComputeSharp.SwapChain.WinUI.Views; using Microsoft.UI.Xaml; @@ -51,4 +51,4 @@ public sealed partial class App : Application this.mainWindow.Activate(); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs b/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs index 3c7257c3..37076f21 100644 --- a/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs +++ b/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.SwapChain.Core.Services; using ComputeSharp.SwapChain.Core.ViewModels; @@ -70,4 +70,4 @@ public sealed partial class MainWindow : Window { this.shaderPanels.AddOrUpdate((AnimatedComputeShaderPanel)sender, null); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain/Backend/SwapChainApplication{T}.cs b/samples/ComputeSharp.SwapChain/Backend/SwapChainApplication{T}.cs index 4931207c..e0146e4c 100644 --- a/samples/ComputeSharp.SwapChain/Backend/SwapChainApplication{T}.cs +++ b/samples/ComputeSharp.SwapChain/Backend/SwapChainApplication{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Interop; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -299,4 +299,4 @@ internal sealed class SwapChainApplication : Win32Application this.nextD3D12FenceValue++; } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain/Backend/Win32Application.cs b/samples/ComputeSharp.SwapChain/Backend/Win32Application.cs index a097a84b..fbb03e37 100644 --- a/samples/ComputeSharp.SwapChain/Backend/Win32Application.cs +++ b/samples/ComputeSharp.SwapChain/Backend/Win32Application.cs @@ -1,4 +1,4 @@ -using System; +using System; using TerraFX.Interop.Windows; namespace ComputeSharp.SwapChain.Backend; @@ -24,4 +24,4 @@ internal abstract class Win32Application /// /// The current time since the start of the application. public abstract void OnUpdate(TimeSpan time); -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain/Backend/Win32ApplicationRunner.cs b/samples/ComputeSharp.SwapChain/Backend/Win32ApplicationRunner.cs index 475a2210..43d8c818 100644 --- a/samples/ComputeSharp.SwapChain/Backend/Win32ApplicationRunner.cs +++ b/samples/ComputeSharp.SwapChain/Backend/Win32ApplicationRunner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Drawing; using System.Reflection; @@ -252,10 +252,10 @@ internal unsafe static class Win32ApplicationRunner _ = Windows.GetCursorPos(&point); _ = Windows.GetWindowRect(hwnd, &rect); - bool isAtTop = Math.Abs(point.y - rect.top) < 12; - bool isAtRight = Math.Abs(point.x - rect.right) < 12; - bool isAtBottom = Math.Abs(point.y - rect.bottom) < 12; - bool isAtLeft = Math.Abs(point.x - rect.left) < 12; + bool isAtTop = Math.Abs(point.y - rect.top) < 12; + bool isAtRight = Math.Abs(point.x - rect.right) < 12; + bool isAtBottom = Math.Abs(point.y - rect.bottom) < 12; + bool isAtLeft = Math.Abs(point.x - rect.left) < 12; if (isAtTop) { @@ -312,4 +312,4 @@ internal unsafe static class Win32ApplicationRunner return Windows.DefWindowProcW(hwnd, uMsg, wParam, lParam); } -} +} \ No newline at end of file diff --git a/samples/ComputeSharp.SwapChain/Program.cs b/samples/ComputeSharp.SwapChain/Program.cs index 29381a57..a94a3b16 100644 --- a/samples/ComputeSharp.SwapChain/Program.cs +++ b/samples/ComputeSharp.SwapChain/Program.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Runtime.CompilerServices; using ComputeSharp.SwapChain.Backend; @@ -48,7 +48,7 @@ class Program } Console.WriteLine($"{Samples.Length}+: Exit (Use Escape, 'Q', or Alt + F4 to exit a sample once chosen)"); - Console.WriteLine(); + Console.WriteLine(); do { @@ -78,4 +78,4 @@ class Program return GraphicsDevice.GetDefault().LoadReadOnlyTexture2D(filename); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerArgumentAttribute.cs b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerArgumentAttribute.cs index 7fe883be..edf68330 100644 --- a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerArgumentAttribute.cs +++ b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerArgumentAttribute.cs @@ -1,4 +1,4 @@ -namespace System.Runtime.CompilerServices; +namespace System.Runtime.CompilerServices; /// /// Indicates which arguments to a method involving an interpolated string handler should be passed to that handler. diff --git a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerAttribute.cs b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerAttribute.cs index 75904a51..0ef12b61 100644 --- a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerAttribute.cs +++ b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerAttribute.cs @@ -1,4 +1,4 @@ -namespace System.Runtime.CompilerServices; +namespace System.Runtime.CompilerServices; /// /// Indicates the attributed type is to be used as an interpolated string handler. diff --git a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/IsExternalInit.cs b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/IsExternalInit.cs index 775f605a..c02e30d6 100644 --- a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/IsExternalInit.cs +++ b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/IsExternalInit.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; @@ -12,4 +12,4 @@ namespace System.Runtime.CompilerServices; [EditorBrowsable(EditorBrowsableState.Never)] internal static class IsExternalInit { -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/RuntimeHelpers.cs b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/RuntimeHelpers.cs index 9d2046fc..70c1f18b 100644 --- a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/RuntimeHelpers.cs +++ b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/RuntimeHelpers.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; namespace ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices; diff --git a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/SkipLocalsInitAttribute.cs b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/SkipLocalsInitAttribute.cs index 1339a5ae..6d63a804 100644 --- a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/SkipLocalsInitAttribute.cs +++ b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/SkipLocalsInitAttribute.cs @@ -1,4 +1,4 @@ -namespace System.Runtime.CompilerServices; +namespace System.Runtime.CompilerServices; /// /// Used to indicate to the compiler that the .locals init diff --git a/src/ComputeSharp.Core.SourceGenerators/AutoConstructorGenerator.cs b/src/ComputeSharp.Core.SourceGenerators/AutoConstructorGenerator.cs index 9d573fd3..288d6eae 100644 --- a/src/ComputeSharp.Core.SourceGenerators/AutoConstructorGenerator.cs +++ b/src/ComputeSharp.Core.SourceGenerators/AutoConstructorGenerator.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Text; using ComputeSharp.Core.SourceGenerators.Models; using ComputeSharp.SourceGeneration.Extensions; @@ -145,4 +145,4 @@ public sealed class AutoConstructorGenerator : IIncrementalGenerator return hierarchyInfo.GetSyntax(constructorDeclaration.AddAttributeLists(attributes)); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core.SourceGenerators/GlobalUsingDirectivesGenerator.cs b/src/ComputeSharp.Core.SourceGenerators/GlobalUsingDirectivesGenerator.cs index 8afd2642..1892174c 100644 --- a/src/ComputeSharp.Core.SourceGenerators/GlobalUsingDirectivesGenerator.cs +++ b/src/ComputeSharp.Core.SourceGenerators/GlobalUsingDirectivesGenerator.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Reflection; using Microsoft.CodeAnalysis; @@ -25,4 +25,4 @@ public sealed class GlobalUsingDirectivesGenerator : IIncrementalGenerator context.AddSource("GlobalUsingDirectives.g.cs", globalUsingDirectives); }); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core.SourceGenerators/Models/ConstructorInfo.cs b/src/ComputeSharp.Core.SourceGenerators/Models/ConstructorInfo.cs index 93075030..7220e2a9 100644 --- a/src/ComputeSharp.Core.SourceGenerators/Models/ConstructorInfo.cs +++ b/src/ComputeSharp.Core.SourceGenerators/Models/ConstructorInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; diff --git a/src/ComputeSharp.Core.SourceGenerators/Models/ParameterInfo.cs b/src/ComputeSharp.Core.SourceGenerators/Models/ParameterInfo.cs index ff276e79..3f45388a 100644 --- a/src/ComputeSharp.Core.SourceGenerators/Models/ParameterInfo.cs +++ b/src/ComputeSharp.Core.SourceGenerators/Models/ParameterInfo.cs @@ -1,8 +1,8 @@ -namespace ComputeSharp.Core.SourceGenerators.Models; +namespace ComputeSharp.Core.SourceGenerators.Models; /// /// A model describing info on a constructor parameter. /// /// The fully qualified type name. /// The parameter name. -internal sealed record ParameterInfo(string Type, string Name); +internal sealed record ParameterInfo(string Type, string Name); \ No newline at end of file diff --git a/src/ComputeSharp.Core/Attributes/AutoConstructorAttribute.cs b/src/ComputeSharp.Core/Attributes/AutoConstructorAttribute.cs index 048876af..20737a4c 100644 --- a/src/ComputeSharp.Core/Attributes/AutoConstructorAttribute.cs +++ b/src/ComputeSharp.Core/Attributes/AutoConstructorAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp; @@ -8,4 +8,4 @@ namespace ComputeSharp; [AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)] public sealed class AutoConstructorAttribute : Attribute { -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Attributes/Internals/AutoConstructorBehavior.cs b/src/ComputeSharp.Core/Attributes/Internals/AutoConstructorBehavior.cs index 0690f9f7..465bc2b7 100644 --- a/src/ComputeSharp.Core/Attributes/Internals/AutoConstructorBehavior.cs +++ b/src/ComputeSharp.Core/Attributes/Internals/AutoConstructorBehavior.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// Indicates the behavior of fields annotated with . @@ -9,4 +9,4 @@ internal enum AutoConstructorBehavior /// Causes to ignore fields and set their values to . /// IgnoreAndSetToDefault -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Attributes/Internals/AutoConstructorBehaviorAttribute.cs b/src/ComputeSharp.Core/Attributes/Internals/AutoConstructorBehaviorAttribute.cs index f25456c6..b9dbbb8a 100644 --- a/src/ComputeSharp.Core/Attributes/Internals/AutoConstructorBehaviorAttribute.cs +++ b/src/ComputeSharp.Core/Attributes/Internals/AutoConstructorBehaviorAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp; diff --git a/src/ComputeSharp.Core/Exceptions/InvalidExecutionContextException.cs b/src/ComputeSharp.Core/Exceptions/InvalidExecutionContextException.cs index 274cad30..b8661343 100644 --- a/src/ComputeSharp.Core/Exceptions/InvalidExecutionContextException.cs +++ b/src/ComputeSharp.Core/Exceptions/InvalidExecutionContextException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.Exceptions; @@ -15,4 +15,4 @@ public sealed class InvalidExecutionContextException : InvalidOperationException : base($"The API {name} can only be used from within an HLSL shader.") { } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Helpers/FormatInterpolatedStringHandler.cs b/src/ComputeSharp.Core/Helpers/FormatInterpolatedStringHandler.cs index de7c0dcf..0857714a 100644 --- a/src/ComputeSharp.Core/Helpers/FormatInterpolatedStringHandler.cs +++ b/src/ComputeSharp.Core/Helpers/FormatInterpolatedStringHandler.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; diff --git a/src/ComputeSharp.Core/Helpers/TryWriteFormatInterpolatedStringHandler.cs b/src/ComputeSharp.Core/Helpers/TryWriteFormatInterpolatedStringHandler.cs index bfb0ffe0..18e5a14a 100644 --- a/src/ComputeSharp.Core/Helpers/TryWriteFormatInterpolatedStringHandler.cs +++ b/src/ComputeSharp.Core/Helpers/TryWriteFormatInterpolatedStringHandler.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.InteropServices; diff --git a/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs b/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs index 5a5b0df5..ffc2fdad 100644 --- a/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs +++ b/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; namespace ComputeSharp.Core.Intrinsics.Attributes; @@ -28,4 +28,4 @@ internal sealed class HlslIntrinsicNameAttribute : Attribute /// Gets whether or not matching parameters is also required to extract the name of this intrinsic. /// public bool RequiresParametersMatching { get; init; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Intrinsics/Hlsl.cs b/src/ComputeSharp.Core/Intrinsics/Hlsl.cs index 03fb5bb7..73c9f47c 100644 --- a/src/ComputeSharp.Core/Intrinsics/Hlsl.cs +++ b/src/ComputeSharp.Core/Intrinsics/Hlsl.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Core.Intrinsics.Attributes; +using ComputeSharp.Core.Intrinsics.Attributes; using ComputeSharp.Exceptions; namespace ComputeSharp; @@ -88,4 +88,4 @@ public static partial class Hlsl /// [HlslIntrinsicName("lit")] public static float Lit(float nDotL, float nDotH, float m) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool.cs index 774676c6..231f3a17 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; namespace ComputeSharp; @@ -114,4 +114,4 @@ public readonly struct Bool /// /// The input value. public static implicit operator Bool(bool x) => new(x); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs index 2257036a..5ae6f9dd 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -23,4 +23,4 @@ public partial struct Bool2 /// /// The value to use for the components of the new instance. public static implicit operator Bool2(bool x) => new(x, x); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool3.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool3.cs index 35eee2fa..1e1b3c5d 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool3.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool3.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -49,4 +49,4 @@ public partial struct Bool3 /// /// The value to use for the components of the new instance. public static implicit operator Bool3(bool x) => new(x, x, x); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool4.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool4.cs index 3694225d..fbcc45d4 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool4.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool4.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -94,4 +94,4 @@ public partial struct Bool4 /// /// The value to use for the components of the new instance. public static implicit operator Bool4(bool x) => new(x, x, x, x); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Double/Double2.cs b/src/ComputeSharp.Core/Primitives/Double/Double2.cs index 15bec764..4df36386 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double2.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double2.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -44,4 +44,4 @@ public partial struct Double2 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static explicit operator Float2(Double2 xy) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Double/Double3.cs b/src/ComputeSharp.Core/Primitives/Double/Double3.cs index aadd36e5..7a913297 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double3.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double3.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -70,4 +70,4 @@ public partial struct Double3 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static explicit operator Float3(Double3 xyz) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Double/Double4.cs b/src/ComputeSharp.Core/Primitives/Double/Double4.cs index 345e51a9..e17e3fce 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double4.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double4.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -115,4 +115,4 @@ public partial struct Double4 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static explicit operator Float4(Double4 xyzw) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Float/Float2.cs b/src/ComputeSharp.Core/Primitives/Float/Float2.cs index aa9a566f..bae3c788 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float2.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float2.cs @@ -1,4 +1,4 @@ -using System.Numerics; +using System.Numerics; #pragma warning disable CS0660, CS0661 @@ -58,4 +58,4 @@ public partial struct Float2 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static explicit operator UInt2(Float2 xy) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Float/Float3.cs b/src/ComputeSharp.Core/Primitives/Float/Float3.cs index b934c43b..538a6000 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float3.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float3.cs @@ -1,4 +1,4 @@ -using System.Numerics; +using System.Numerics; #pragma warning disable CS0660, CS0661 @@ -84,4 +84,4 @@ public partial struct Float3 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static explicit operator UInt3(Float3 xyz) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Float/Float4.cs b/src/ComputeSharp.Core/Primitives/Float/Float4.cs index 8796eda4..3cbe2622 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float4.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float4.cs @@ -1,4 +1,4 @@ -using System.Numerics; +using System.Numerics; #pragma warning disable CS0660, CS0661 @@ -129,4 +129,4 @@ public partial struct Float4 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static explicit operator UInt4(Float4 xyzw) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Int/Int2.cs b/src/ComputeSharp.Core/Primitives/Int/Int2.cs index 2093f902..b9ce5e58 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int2.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int2.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -44,4 +44,4 @@ public partial struct Int2 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static implicit operator Double2(Int2 xy) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Int/Int3.cs b/src/ComputeSharp.Core/Primitives/Int/Int3.cs index cdfd9641..90c1b94c 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int3.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int3.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -70,4 +70,4 @@ public partial struct Int3 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static implicit operator Double3(Int3 xyz) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/Int/Int4.cs b/src/ComputeSharp.Core/Primitives/Int/Int4.cs index d5f44c49..41e6fb60 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int4.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int4.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -115,4 +115,4 @@ public partial struct Int4 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static implicit operator Double4(Int4 xyzw) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/MatrixIndex.cs b/src/ComputeSharp.Core/Primitives/MatrixIndex.cs index d5044d3c..2b2bfd1c 100644 --- a/src/ComputeSharp.Core/Primitives/MatrixIndex.cs +++ b/src/ComputeSharp.Core/Primitives/MatrixIndex.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// A type indicating a base-1 index into a matrix type. This can be used to extract references to swizzled vectors within a given matrix value. @@ -93,4 +93,4 @@ public enum MatrixIndex /// The fourth item in the fourth row. /// M44 -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt2.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt2.cs index 782624e7..48ef484e 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt2.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt2.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -44,4 +44,4 @@ public partial struct UInt2 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static implicit operator Double2(UInt2 xy) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt3.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt3.cs index 88fab923..65c4f468 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt3.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt3.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -70,4 +70,4 @@ public partial struct UInt3 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static implicit operator Double3(UInt3 xyz) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt4.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt4.cs index 3be7d78d..a7b776b1 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt4.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt4.cs @@ -1,4 +1,4 @@ -#pragma warning disable CS0660, CS0661 +#pragma warning disable CS0660, CS0661 namespace ComputeSharp; @@ -115,4 +115,4 @@ public partial struct UInt4 /// The input value to cast. /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static implicit operator Double4(UInt4 xyzw) => default; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Core/Properties/Polyfills/UnscopedRefAttribute.cs b/src/ComputeSharp.Core/Properties/Polyfills/UnscopedRefAttribute.cs index c57a296a..f6f5776c 100644 --- a/src/ComputeSharp.Core/Properties/Polyfills/UnscopedRefAttribute.cs +++ b/src/ComputeSharp.Core/Properties/Polyfills/UnscopedRefAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Diagnostics.CodeAnalysis; diff --git a/src/ComputeSharp.D2D1.NetStandard/System/Buffers/BitOperations.cs b/src/ComputeSharp.D2D1.NetStandard/System/Buffers/BitOperations.cs index a8f36d90..fa177274 100644 --- a/src/ComputeSharp.D2D1.NetStandard/System/Buffers/BitOperations.cs +++ b/src/ComputeSharp.D2D1.NetStandard/System/Buffers/BitOperations.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; namespace ComputeSharp.D2D1.NetStandard.System.Buffers; diff --git a/src/ComputeSharp.D2D1.NetStandard/System/Diagnostics.CodeAnalysis/DoesNotReturnAttribute.cs b/src/ComputeSharp.D2D1.NetStandard/System/Diagnostics.CodeAnalysis/DoesNotReturnAttribute.cs index 1c6a222e..1c661961 100644 --- a/src/ComputeSharp.D2D1.NetStandard/System/Diagnostics.CodeAnalysis/DoesNotReturnAttribute.cs +++ b/src/ComputeSharp.D2D1.NetStandard/System/Diagnostics.CodeAnalysis/DoesNotReturnAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. diff --git a/src/ComputeSharp.D2D1.NetStandard/System/Math.cs b/src/ComputeSharp.D2D1.NetStandard/System/Math.cs index 7885d997..8d011f9a 100644 --- a/src/ComputeSharp.D2D1.NetStandard/System/Math.cs +++ b/src/ComputeSharp.D2D1.NetStandard/System/Math.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; namespace ComputeSharp.D2D1.NetStandard.System; @@ -21,7 +21,7 @@ internal static class Math { return min; } - + if (value > max) { return max; diff --git a/src/ComputeSharp.D2D1.NetStandard/System/Runtime/CompilerServices/RuntimeHelpers.cs b/src/ComputeSharp.D2D1.NetStandard/System/Runtime/CompilerServices/RuntimeHelpers.cs index b7a2c4ee..5885e0fc 100644 --- a/src/ComputeSharp.D2D1.NetStandard/System/Runtime/CompilerServices/RuntimeHelpers.cs +++ b/src/ComputeSharp.D2D1.NetStandard/System/Runtime/CompilerServices/RuntimeHelpers.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; namespace ComputeSharp.D2D1.NetStandard.System.Runtime.CompilerServices; diff --git a/src/ComputeSharp.D2D1.NetStandard/System/Text/EncodingExtensions.cs b/src/ComputeSharp.D2D1.NetStandard/System/Text/EncodingExtensions.cs index 4f9f5f47..9be7852d 100644 --- a/src/ComputeSharp.D2D1.NetStandard/System/Text/EncodingExtensions.cs +++ b/src/ComputeSharp.D2D1.NetStandard/System/Text/EncodingExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using System.Text; diff --git a/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.Execute.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.Execute.Syntax.cs index 93ef05c5..ac2bead8 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.Execute.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.Execute.Syntax.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Text; using ComputeSharp.D2D1.SourceGenerators.Models; @@ -101,4 +101,4 @@ partial class D2DPixelShaderSourceGenerator .WithBody(methodBlock); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.Execute.cs b/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.Execute.cs index b346673b..65a2f074 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.Execute.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.Execute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using System.ComponentModel; using System.Runtime.CompilerServices; @@ -188,4 +188,4 @@ partial class D2DPixelShaderSourceGenerator return bytecode; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.cs b/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.cs index 0d96cb7e..0e653800 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/D2DPixelShaderSourceGenerator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -119,4 +119,4 @@ public sealed partial class D2DPixelShaderSourceGenerator : IIncrementalGenerato context.AddSource($"{item.Hierarchy.FilenameHint}.{item.BytecodeInfo.MethodName}.g.cs", text); }); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Analyzers/InvalidAssemblyLevelCompileOptionsAnalyzer.cs b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Analyzers/InvalidAssemblyLevelCompileOptionsAnalyzer.cs index 50d4843b..a0cf5ce7 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Analyzers/InvalidAssemblyLevelCompileOptionsAnalyzer.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Analyzers/InvalidAssemblyLevelCompileOptionsAnalyzer.cs @@ -45,4 +45,4 @@ public sealed class InvalidAssemblyLevelCompileOptionsAnalyzer : DiagnosticAnaly } }); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Analyzers/InvalidD2DResourceTextureIndexUseAnalyzer.cs b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Analyzers/InvalidD2DResourceTextureIndexUseAnalyzer.cs index 1b599546..55caff9d 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Analyzers/InvalidD2DResourceTextureIndexUseAnalyzer.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Analyzers/InvalidD2DResourceTextureIndexUseAnalyzer.cs @@ -45,4 +45,4 @@ public sealed class InvalidD2DResourceTextureIndexUseAnalyzer : DiagnosticAnalyz } }, SymbolKind.Field); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs index 4dceab78..48bd1fd5 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; namespace ComputeSharp.SourceGeneration.Diagnostics; @@ -856,4 +856,4 @@ partial class DiagnosticDescriptors isEnabledByDefault: true, description: "A D2D1 shader must be annotated with the [D2DInputCount] attribute.", helpLinkUri: "https://github.com/Sergio0694/ComputeSharp"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/SuppressionDescriptors.cs b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/SuppressionDescriptors.cs index b9b3864b..1b4fe29e 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/SuppressionDescriptors.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/SuppressionDescriptors.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; namespace ComputeSharp.D2D1.SourceGenerators.Diagnostics; @@ -14,4 +14,4 @@ internal static class SuppressionDescriptors id: "CMPSD2DSPR0001", suppressedDiagnosticId: "CS0649", justification: "Fields of type D2D1ResourceTexture1D, D2D1ResourceTexture2D and D2D1ResourceTexture3D are implicitly mapped to resource texture objects into the resulting D2D1 pixel shader for their containing type, and don't need to be initialized"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Suppressors/D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor.cs b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Suppressors/D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor.cs index 6a34ff49..d7c3ba60 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Suppressors/D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/Suppressors/D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; using ComputeSharp.SourceGeneration.Mappings; using Microsoft.CodeAnalysis; @@ -68,4 +68,4 @@ public sealed class D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor : } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateBuildHlslSourceMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateBuildHlslSourceMethod.Syntax.cs index 3ba67836..9cfecca8 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateBuildHlslSourceMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateBuildHlslSourceMethod.Syntax.cs @@ -1,4 +1,4 @@ -using ComputeSharp.D2D1.__Internals; +using ComputeSharp.D2D1.__Internals; using ComputeSharp.SourceGeneration.Helpers; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; @@ -49,4 +49,4 @@ partial class ID2D1ShaderGenerator LiteralExpression(SyntaxKind.StringLiteralExpression, hlslSourceLiteralExpression))))); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateBuildHlslSourceMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateBuildHlslSourceMethod.cs index f9687982..e7bfa22b 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateBuildHlslSourceMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateBuildHlslSourceMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -389,7 +389,7 @@ partial class ID2D1ShaderGenerator { using ImmutableArrayBuilder<(string, string)> builder = ImmutableArrayBuilder<(string, string)>.Rent(); - IReadOnlyCollection invalidTypes; + IReadOnlyCollection invalidTypes; // Process the discovered types foreach (var type in HlslKnownTypes.GetCustomTypes(types, out invalidTypes)) @@ -646,4 +646,4 @@ partial class ID2D1ShaderGenerator return hlslBuilder.ToString(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputCountMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputCountMethod.Syntax.cs index 80028804..92326c75 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputCountMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputCountMethod.Syntax.cs @@ -1,4 +1,4 @@ -using ComputeSharp.D2D1.__Internals; +using ComputeSharp.D2D1.__Internals; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; @@ -35,4 +35,4 @@ partial class ID2D1ShaderGenerator .WithBody(Block(ReturnStatement(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(inputCount))))); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.Syntax.cs index fcf9c5cc..6bb75339 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.D2D1.__Internals; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; @@ -78,4 +78,4 @@ partial class ID2D1ShaderGenerator LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(1))); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs index b6e85408..c6e23620 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; using ComputeSharp.SourceGeneration.Helpers; @@ -169,4 +169,4 @@ partial class ID2D1ShaderGenerator combinedInputTypes = combinedBuilder.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetOutputBufferMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetOutputBufferMethod.Syntax.cs index 427d89b7..02b0cd88 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetOutputBufferMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetOutputBufferMethod.Syntax.cs @@ -1,4 +1,4 @@ -using ComputeSharp.D2D1.__Internals; +using ComputeSharp.D2D1.__Internals; using ComputeSharp.D2D1.SourceGenerators.Models; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; @@ -48,4 +48,4 @@ partial class ID2D1ShaderGenerator LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal((int)info.ChannelDepth)))))); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetOutputBufferMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetOutputBufferMethod.cs index f0af8afe..3c746fb1 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetOutputBufferMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetOutputBufferMethod.cs @@ -1,4 +1,4 @@ -using ComputeSharp.SourceGeneration.Extensions; +using ComputeSharp.SourceGeneration.Extensions; using Microsoft.CodeAnalysis; namespace ComputeSharp.D2D1.SourceGenerators; @@ -59,4 +59,4 @@ partial class ID2D1ShaderGenerator } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetPixelOptionsMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetPixelOptionsMethod.Syntax.cs index b583ae38..e5d9b082 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetPixelOptionsMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetPixelOptionsMethod.Syntax.cs @@ -1,4 +1,4 @@ -using ComputeSharp.D2D1.__Internals; +using ComputeSharp.D2D1.__Internals; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; @@ -33,4 +33,4 @@ partial class ID2D1ShaderGenerator .WithBody(Block(ReturnStatement(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal((int)pixelOptions))))); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetPixelOptionsMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetPixelOptionsMethod.cs index d1f52c2c..18102a14 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetPixelOptionsMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetPixelOptionsMethod.cs @@ -1,4 +1,4 @@ -using ComputeSharp.SourceGeneration.Extensions; +using ComputeSharp.SourceGeneration.Extensions; using Microsoft.CodeAnalysis; namespace ComputeSharp.D2D1.SourceGenerators; @@ -28,4 +28,4 @@ partial class ID2D1ShaderGenerator } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateInitializeFromDispatchDataMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateInitializeFromDispatchDataMethod.Syntax.cs index fc8709d8..919d5b31 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateInitializeFromDispatchDataMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateInitializeFromDispatchDataMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.D2D1.__Internals; using ComputeSharp.D2D1.SourceGenerators.Models; using ComputeSharp.SourceGeneration.Helpers; @@ -131,4 +131,4 @@ partial class ID2D1ShaderGenerator return statements.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadBytecodeMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadBytecodeMethod.Syntax.cs index fea4c8b3..e623a8d2 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadBytecodeMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadBytecodeMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Linq; using System.Text; @@ -229,4 +229,4 @@ partial class ID2D1ShaderGenerator return builder.ToString(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadBytecodeMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadBytecodeMethod.cs index 624f9b69..8c684364 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadBytecodeMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadBytecodeMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using System.ComponentModel; using System.Linq; @@ -191,4 +191,4 @@ partial class ID2D1ShaderGenerator return message.NormalizeToSingleLine(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadDispatchDataMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadDispatchDataMethod.Syntax.cs index aaace9de..15faf4b4 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadDispatchDataMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadDispatchDataMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.D2D1.__Internals; using ComputeSharp.D2D1.SourceGenerators.Models; using ComputeSharp.SourceGeneration.Helpers; @@ -166,4 +166,4 @@ partial class ID2D1ShaderGenerator return statements.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadDispatchDataMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadDispatchDataMethod.cs index fa90409d..eefa62ba 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadDispatchDataMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadDispatchDataMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -160,4 +160,4 @@ partial class ID2D1ShaderGenerator } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.Syntax.cs index 952fb95a..b2413cfe 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.D2D1.__Internals; using ComputeSharp.D2D1.SourceGenerators.Models; using ComputeSharp.SourceGeneration.Helpers; @@ -146,4 +146,4 @@ partial class ID2D1ShaderGenerator return statements.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs index 7813b71e..382e7bb4 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using ComputeSharp.D2D1.SourceGenerators.Models; using ComputeSharp.SourceGeneration.Extensions; @@ -96,4 +96,4 @@ partial class ID2D1ShaderGenerator inputDescriptions = inputDescriptionsBuilder.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.Syntax.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.Syntax.cs index 6ebafc2c..805f7726 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.Syntax.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.D2D1.__Internals; using ComputeSharp.D2D1.SourceGenerators.Models; using ComputeSharp.SourceGeneration.Helpers; @@ -137,4 +137,4 @@ partial class ID2D1ShaderGenerator return statements.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.cs index f1bf3151..a2225374 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using ComputeSharp.D2D1.SourceGenerators.Models; using ComputeSharp.SourceGeneration.Extensions; @@ -133,4 +133,4 @@ partial class ID2D1ShaderGenerator } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.Helpers.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.Helpers.cs index 6d1c78fc..e0a8ca76 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.Helpers.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.Helpers.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using ComputeSharp.SourceGeneration.Models; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; @@ -73,4 +73,4 @@ partial class ID2D1ShaderGenerator return hierarchyInfo.GetSyntax(methodDeclaration.AddAttributeLists(attributes.ToArray())); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.cs index 6dbd90ca..01ee8226 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -301,7 +301,7 @@ public sealed partial class ID2D1ShaderGenerator : IIncrementalGenerator }); // Get the LoadInputDescriptions() info (hierarchy and input descriptions) - IncrementalValuesProvider<((HierarchyInfo Hierarchy, InputDescriptionsInfo InputDescriptions) Info, bool CanUseSkipLocalsInit) > inputDescriptionsInfo = + IncrementalValuesProvider<((HierarchyInfo Hierarchy, InputDescriptionsInfo InputDescriptions) Info, bool CanUseSkipLocalsInit)> inputDescriptionsInfo = shaderInfoWithErrors .Select(static (item, _) => (item.Hierarchy, item.InputDescriptions)) .Combine(canUseSkipLocalsInit); @@ -329,4 +329,4 @@ public sealed partial class ID2D1ShaderGenerator : IIncrementalGenerator context.AddSource($"{item.Hierarchy.FilenameHint}.{nameof(GetPixelOptions)}.g.cs", compilationUnit.GetText(Encoding.UTF8)); }); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownKeywords.cs b/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownKeywords.cs index 78098a82..0da0cb58 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownKeywords.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownKeywords.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Reflection; using ComputeSharp.Core.Intrinsics.Attributes; using ComputeSharp.D2D1; @@ -19,4 +19,4 @@ partial class HlslKnownKeywords knownKeywords.Add(name); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownMethods.cs b/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownMethods.cs index c99d7315..fb335ed0 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownMethods.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownMethods.cs @@ -50,4 +50,4 @@ partial class HlslKnownMethods [$"ComputeSharp.D2D1.D2D1ResourceTexture3D`1.Sample({typeof(Float3).FullName})"] = null }; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownProperties.cs b/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownProperties.cs index 578bf8a5..af7c3fb6 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownProperties.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownProperties.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace ComputeSharp.SourceGeneration.Mappings; @@ -28,4 +28,4 @@ partial class HlslKnownProperties ["ComputeSharp.D2D1.D2D1ResourceTexture3D`1.Depth"] = (3, 2) }; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownTypes.cs b/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownTypes.cs index 5569583a..1ebec150 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownTypes.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Mappings/HlslKnownTypes.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.SourceGeneration.Extensions; using Microsoft.CodeAnalysis; @@ -54,4 +54,4 @@ partial class HlslKnownTypes // The captured field is of a custom struct type return typeName.ToHlslIdentifierName(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/D2D1PixelShaderSourceInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/D2D1PixelShaderSourceInfo.cs index 2a3e64dc..3dd79945 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/D2D1PixelShaderSourceInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/D2D1PixelShaderSourceInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -46,4 +46,4 @@ internal sealed record D2D1PixelShaderSourceInfo( x.Diagnostcs.SequenceEqual(y.Diagnostcs); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/D2D1ShaderInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/D2D1ShaderInfo.cs index 643889ba..7261bb3f 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/D2D1ShaderInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/D2D1ShaderInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -70,4 +70,4 @@ internal sealed record D2D1ShaderInfo( x.Diagnostcs.SequenceEqual(y.Diagnostcs); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/DispatchDataInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/DispatchDataInfo.cs index e99830bb..1a1972b4 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/DispatchDataInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/DispatchDataInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -39,4 +39,4 @@ internal sealed record DispatchDataInfo(ImmutableArray FieldInfos, in x.ConstantBufferSizeInBytes == y.ConstantBufferSizeInBytes; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/EmbeddedBytecodeInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/EmbeddedBytecodeInfo.cs index 2a901c51..4f5555bb 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/EmbeddedBytecodeInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/EmbeddedBytecodeInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -45,4 +45,4 @@ internal sealed record EmbeddedBytecodeInfo(string HlslSource, D2D1ShaderProfile x.Bytecode.SequenceEqual(y.Bytecode); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/EmbeddedBytecodeMethodInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/EmbeddedBytecodeMethodInfo.cs index 9e8c1298..ba4b7396 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/EmbeddedBytecodeMethodInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/EmbeddedBytecodeMethodInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Runtime.InteropServices; @@ -55,4 +55,4 @@ internal sealed record EmbeddedBytecodeMethodInfo( x.Bytecode.SequenceEqual(y.Bytecode); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/FieldInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/FieldInfo.cs index fc65ddbb..d9ffcc78 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/FieldInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/FieldInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -101,4 +101,4 @@ internal abstract record FieldInfo } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/HlslShaderMethodSourceInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/HlslShaderMethodSourceInfo.cs index 6e252b26..0dcd099b 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/HlslShaderMethodSourceInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/HlslShaderMethodSourceInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using System.Runtime.InteropServices; using ComputeSharp.SourceGeneration.Extensions; @@ -62,4 +62,4 @@ internal sealed record HlslShaderMethodSourceInfo( x.HasErrors == y.HasErrors; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/HlslShaderSourceInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/HlslShaderSourceInfo.cs index efb0eb1a..d6dea5d5 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/HlslShaderSourceInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/HlslShaderSourceInfo.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.SourceGenerators.Models; +namespace ComputeSharp.D2D1.SourceGenerators.Models; /// /// A model for extracted info on a processed HLSL shader. @@ -13,4 +13,4 @@ internal sealed record HlslShaderSourceInfo( D2D1ShaderProfile? ShaderProfile, D2D1CompileOptions? CompileOptions, bool IsLinkingSupported, - bool HasErrors); + bool HasErrors); \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/InputDescription.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/InputDescription.cs index c92757ab..8beeb22b 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/InputDescription.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/InputDescription.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.SourceGenerators.Models; +namespace ComputeSharp.D2D1.SourceGenerators.Models; /// /// A model representing an input description for a shader. @@ -6,4 +6,4 @@ /// The index of the input resource the description is for. /// The input filter to use. /// The level of detail to use. -internal sealed record InputDescription(uint Index, D2D1Filter Filter, int LevelOfDetail); +internal sealed record InputDescription(uint Index, D2D1Filter Filter, int LevelOfDetail); \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/InputDescriptionsInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/InputDescriptionsInfo.cs index 644ab2cb..47f522cf 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/InputDescriptionsInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/InputDescriptionsInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; using ComputeSharp.SourceGeneration.Helpers; diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/InputTypesInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/InputTypesInfo.cs index e8169190..66086e5a 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/InputTypesInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/InputTypesInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -35,4 +35,4 @@ internal sealed record InputTypesInfo(ImmutableArray InputTypes) return x.InputTypes.SequenceEqual(y.InputTypes); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/OutputBufferInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/OutputBufferInfo.cs index fc821cae..98f3b85e 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/OutputBufferInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/OutputBufferInfo.cs @@ -1,8 +1,8 @@ -namespace ComputeSharp.D2D1.SourceGenerators.Models; +namespace ComputeSharp.D2D1.SourceGenerators.Models; /// /// A model representing the output buffer info for a shader. /// /// The buffer precision for the resulting output buffer. /// The channel depth for the resulting output buffer. -internal sealed record OutputBufferInfo(D2D1BufferPrecision BufferPrecision, D2D1ChannelDepth ChannelDepth); +internal sealed record OutputBufferInfo(D2D1BufferPrecision BufferPrecision, D2D1ChannelDepth ChannelDepth); \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/ResourceTextureDescription.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/ResourceTextureDescription.cs index 63f0d842..65eee9b3 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/ResourceTextureDescription.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/ResourceTextureDescription.cs @@ -1,8 +1,8 @@ -namespace ComputeSharp.D2D1.SourceGenerators.Models; +namespace ComputeSharp.D2D1.SourceGenerators.Models; /// /// A model representing a resource texture description for a shader. /// /// The index of the resource texture resource the description is for. /// The rank of the resource texture. -internal sealed record ResourceTextureDescription(uint Index, uint Rank); +internal sealed record ResourceTextureDescription(uint Index, uint Rank); \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Models/ResourceTextureDescriptionsInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Models/ResourceTextureDescriptionsInfo.cs index b0d9a817..4c00a175 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Models/ResourceTextureDescriptionsInfo.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Models/ResourceTextureDescriptionsInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; using ComputeSharp.SourceGeneration.Helpers; diff --git a/src/ComputeSharp.D2D1.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs b/src/ComputeSharp.D2D1.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs index f472a4c2..4ddd4301 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs @@ -1,4 +1,4 @@ -using ComputeSharp.SourceGeneration.Mappings; +using ComputeSharp.SourceGeneration.Mappings; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Operations; @@ -43,4 +43,4 @@ partial class ShaderSourceRewriter NeedsD2DRequiresScenePositionAttribute = true; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/SyntaxRewriters/StaticFieldRewriter.cs b/src/ComputeSharp.D2D1.SourceGenerators/SyntaxRewriters/StaticFieldRewriter.cs index 1a5c5410..242d527b 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/SyntaxRewriters/StaticFieldRewriter.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/SyntaxRewriters/StaticFieldRewriter.cs @@ -1,4 +1,4 @@ -using ComputeSharp.SourceGeneration.Mappings; +using ComputeSharp.SourceGeneration.Mappings; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Operations; @@ -25,4 +25,4 @@ partial class StaticFieldRewriter NeedsD2DRequiresScenePositionAttribute = true; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DCompileOptionsAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DCompileOptionsAttribute.cs index ba474e40..a2ef6fee 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DCompileOptionsAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DCompileOptionsAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -42,4 +42,4 @@ public sealed class D2DCompileOptionsAttribute : Attribute /// Gets the number of threads in each thread group for the X axis /// public D2D1CompileOptions Options { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DInputComplexAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DInputComplexAttribute.cs index c3d5717c..36f26fcc 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DInputComplexAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DInputComplexAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -26,4 +26,4 @@ public sealed class D2DInputComplexAttribute : Attribute /// Gets the index of the resource declared as using complex sampling. /// public int Index { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DInputCountAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DInputCountAttribute.cs index 92e1f84f..125e759f 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DInputCountAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DInputCountAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -26,4 +26,4 @@ public sealed class D2DInputCountAttribute : Attribute /// Gets the number of texture inputs for the shader. /// public int Count { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DInputDescriptionAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DInputDescriptionAttribute.cs index 75c2fe3a..fdcd8d41 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DInputDescriptionAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DInputDescriptionAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -38,4 +38,4 @@ public sealed class D2DInputDescriptionAttribute : Attribute /// Gets the mip level to retrieve from the upstream transform, if specified. /// public int LevelOfDetailCount { get; init; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DInputSimpleAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DInputSimpleAttribute.cs index 4845e32b..77750358 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DInputSimpleAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DInputSimpleAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -26,4 +26,4 @@ public sealed class D2DInputSimpleAttribute : Attribute /// Gets the index of the resource declared as using simple sampling. /// public int Index { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DOutputBufferAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DOutputBufferAttribute.cs index 615d8a4d..5a206a5f 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DOutputBufferAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DOutputBufferAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -50,4 +50,4 @@ public sealed class D2DOutputBufferAttribute : Attribute /// Gets the channel depth for the resulting output buffer. /// public D2D1ChannelDepth ChannelDepth { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DPixelOptionsAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DPixelOptionsAttribute.cs index 11bc6de2..459eced3 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DPixelOptionsAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DPixelOptionsAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -25,4 +25,4 @@ public sealed class D2DPixelOptionsAttribute : Attribute /// Gets the options to specify for the shader. /// public D2D1PixelOptions Options { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DPixelShaderSourceAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DPixelShaderSourceAttribute.cs index 00e23ace..1eb515e9 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DPixelShaderSourceAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DPixelShaderSourceAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace ComputeSharp.D2D1; @@ -48,4 +48,4 @@ public sealed class D2DPixelShaderSourceAttribute : Attribute /// Gets the number of texture inputs for the shader. /// public string HlslSource { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DRequiresScenePositionAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DRequiresScenePositionAttribute.cs index f351bb93..8355261d 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DRequiresScenePositionAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DRequiresScenePositionAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -14,4 +14,4 @@ namespace ComputeSharp.D2D1; [AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)] public sealed class D2DRequiresScenePositionAttribute : Attribute { -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DResourceTextureIndexAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DResourceTextureIndexAttribute.cs index 1bf4938e..60b6e2a5 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DResourceTextureIndexAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DResourceTextureIndexAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -25,4 +25,4 @@ public sealed class D2DResourceTextureIndexAttribute : Attribute /// Gets the index of the annotated resource field. /// public int Index { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/D2DShaderProfileAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DShaderProfileAttribute.cs index 15ca30f8..5ae6332f 100644 --- a/src/ComputeSharp.D2D1/Attributes/D2DShaderProfileAttribute.cs +++ b/src/ComputeSharp.D2D1/Attributes/D2DShaderProfileAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1; @@ -40,4 +40,4 @@ public sealed class D2DShaderProfileAttribute : Attribute /// The shader profile used to compile the annotated D2D1 pixel shader. /// public D2D1ShaderProfile ShaderProfile { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs index 55c0bfd4..14f5326e 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs @@ -1,4 +1,4 @@ -using static TerraFX.Interop.DirectX.D2D1_BUFFER_PRECISION; +using static TerraFX.Interop.DirectX.D2D1_BUFFER_PRECISION; namespace ComputeSharp.D2D1; @@ -40,4 +40,4 @@ public enum D2D1BufferPrecision /// The buffer precision uses 32-bit float values per channel. /// Float32 = (int)D2D1_BUFFER_PRECISION_32BPC_FLOAT -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs index a83794ec..1d9eff34 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs @@ -1,4 +1,4 @@ -using static TerraFX.Interop.DirectX.D2D1_CHANNEL_DEPTH; +using static TerraFX.Interop.DirectX.D2D1_CHANNEL_DEPTH; namespace ComputeSharp.D2D1; @@ -25,4 +25,4 @@ public enum D2D1ChannelDepth /// The channel depth is 4. /// Four = (int)D2D1_CHANNEL_DEPTH_4 -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs index 5727953a..525de704 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; #if !SOURCE_GENERATOR using ComputeSharp.D2D1.Interop; #endif @@ -172,4 +172,4 @@ public enum D2D1CompileOptions /// from instance, should be manually used when needed. /// Default = OptimizationLevel3 | WarningsAreErrors | PackMatrixRowMajor -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs index 986e7e55..7b1d38cc 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs @@ -1,4 +1,4 @@ -using static TerraFX.Interop.DirectX.D2D1_FILTER; +using static TerraFX.Interop.DirectX.D2D1_FILTER; namespace ComputeSharp.D2D1; @@ -62,4 +62,4 @@ public enum D2D1Filter /// Use anisotropic interpolation for minification, magnification, and mip-level sampling. /// Anisotropic = (int)D2D1_FILTER_ANISOTROPIC -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs index d6c0fbd9..f0aefc17 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using static TerraFX.Interop.DirectX.D2D1_PIXEL_OPTIONS; namespace ComputeSharp.D2D1; @@ -22,4 +22,4 @@ public enum D2D1PixelOptions /// and returns transparent black whenever the input pixels are also transparent black. /// TrivialSampling = (int)D2D1_PIXEL_OPTIONS_TRIVIAL_SAMPLING -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ShaderProfile.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ShaderProfile.cs index e68a8aad..7fcc0290 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ShaderProfile.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ShaderProfile.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1; +namespace ComputeSharp.D2D1; /// /// A to be used with to indicate the shader profile to use to precompile a shader. @@ -66,4 +66,4 @@ public enum D2D1ShaderProfile /// For more info, see . /// PixelShader50 -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs b/src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs index ef82e319..43613112 100644 --- a/src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs +++ b/src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using TerraFX.Interop.Windows; namespace ComputeSharp.D2D1.Extensions; @@ -39,4 +39,4 @@ internal static class ComPtrExtensions return copy; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs b/src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs index 6ed9aa4e..656d8d96 100644 --- a/src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs +++ b/src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; @@ -50,4 +50,4 @@ internal static class HRESULTExtensions { throw new Win32Exception(result); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs b/src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs index b2118fc9..ce9bdacc 100644 --- a/src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs +++ b/src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs @@ -1,4 +1,4 @@ -using System.Drawing; +using System.Drawing; using System.Runtime.CompilerServices; using TerraFX.Interop.Windows; #if NET6_0_OR_GREATER @@ -98,4 +98,4 @@ internal static class RECTExtensions bottom = bottom }; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Extensions/RectangleExtensions.cs b/src/ComputeSharp.D2D1/Extensions/RectangleExtensions.cs index 8826f625..22151150 100644 --- a/src/ComputeSharp.D2D1/Extensions/RectangleExtensions.cs +++ b/src/ComputeSharp.D2D1/Extensions/RectangleExtensions.cs @@ -1,4 +1,4 @@ -using System.Drawing; +using System.Drawing; using System.Runtime.CompilerServices; namespace ComputeSharp.D2D1; @@ -36,4 +36,4 @@ public static class RectangleExtensions int.MaxValue, int.MaxValue); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Helpers/ThrowHelper.cs b/src/ComputeSharp.D2D1/Helpers/ThrowHelper.cs index 288452c9..f80e64f4 100644 --- a/src/ComputeSharp.D2D1/Helpers/ThrowHelper.cs +++ b/src/ComputeSharp.D2D1/Helpers/ThrowHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace ComputeSharp.D2D1.Helpers; diff --git a/src/ComputeSharp.D2D1/Interfaces/ID2D1PixelShader.cs b/src/ComputeSharp.D2D1/Interfaces/ID2D1PixelShader.cs index c748211a..c327733f 100644 --- a/src/ComputeSharp.D2D1/Interfaces/ID2D1PixelShader.cs +++ b/src/ComputeSharp.D2D1/Interfaces/ID2D1PixelShader.cs @@ -1,4 +1,4 @@ -using ComputeSharp.D2D1.__Internals; +using ComputeSharp.D2D1.__Internals; #pragma warning disable CS0618 diff --git a/src/ComputeSharp.D2D1/Interfaces/ID2D1TransformMapperFactory{T}.cs b/src/ComputeSharp.D2D1/Interfaces/ID2D1TransformMapperFactory{T}.cs index 16b10fbf..a5b122ea 100644 --- a/src/ComputeSharp.D2D1/Interfaces/ID2D1TransformMapperFactory{T}.cs +++ b/src/ComputeSharp.D2D1/Interfaces/ID2D1TransformMapperFactory{T}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1; +namespace ComputeSharp.D2D1; /// /// An acting as a factory for instances. @@ -12,4 +12,4 @@ public interface ID2D1TransformMapperFactory /// /// A new instance for the input shader. ID2D1TransformMapper Create(); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Interfaces/ID2D1TransformMapper{T}.cs b/src/ComputeSharp.D2D1/Interfaces/ID2D1TransformMapper{T}.cs index 82c3035e..7d4ae285 100644 --- a/src/ComputeSharp.D2D1/Interfaces/ID2D1TransformMapper{T}.cs +++ b/src/ComputeSharp.D2D1/Interfaces/ID2D1TransformMapper{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Drawing; namespace ComputeSharp.D2D1; @@ -75,4 +75,4 @@ public interface ID2D1TransformMapper /// /// void MapInvalidOutput(int inputIndex, Rectangle invalidInput, out Rectangle invalidOutput); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1BytecodeLoader.cs b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1BytecodeLoader.cs index 1a20a785..3d4ccfa6 100644 --- a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1BytecodeLoader.cs +++ b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1BytecodeLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.D2D1.__Internals; @@ -23,4 +23,4 @@ public interface ID2D1BytecodeLoader /// The shader bytecode. /// Thrown if the shader has already been initialized. void LoadEmbeddedBytecode(ReadOnlySpan bytecode); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1DispatchDataLoader.cs b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1DispatchDataLoader.cs index 96e35357..d380bf7d 100644 --- a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1DispatchDataLoader.cs +++ b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1DispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.D2D1.__Internals; @@ -15,4 +15,4 @@ public interface ID2D1DispatchDataLoader /// /// The sequence of serialized captured values. void LoadConstantBuffer(ReadOnlySpan data); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1InputDescriptionsLoader.cs b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1InputDescriptionsLoader.cs index b5ebd493..d1795a3f 100644 --- a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1InputDescriptionsLoader.cs +++ b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1InputDescriptionsLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.D2D1.__Internals; @@ -15,4 +15,4 @@ public interface ID2D1InputDescriptionsLoader /// /// The sequence of serialized input descriptions. void LoadInputDescriptions(ReadOnlySpan data); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1ResourceTextureDescriptionsLoader.cs b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1ResourceTextureDescriptionsLoader.cs index 76b0014e..c0dc2ec5 100644 --- a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1ResourceTextureDescriptionsLoader.cs +++ b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1ResourceTextureDescriptionsLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.D2D1.__Internals; @@ -15,4 +15,4 @@ public interface ID2D1ResourceTextureDescriptionsLoader /// /// The sequence of serialized resource texture descriptions. void LoadResourceTextureDescriptions(ReadOnlySpan data); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1Shader.cs b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1Shader.cs index 554b138c..e4e84512 100644 --- a/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1Shader.cs +++ b/src/ComputeSharp.D2D1/Interfaces/__Internals/ID2D1Shader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.D2D1.__Internals; @@ -104,4 +104,4 @@ public interface ID2D1Shader [Obsolete("This method is not intended to be used directly by user code")] void LoadBytecode(ref TLoader loader, D2D1ShaderProfile? shaderProfile, D2D1CompileOptions? options) where TLoader : struct, ID2D1BytecodeLoader; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Intrinsics/D2D.cs b/src/ComputeSharp.D2D1/Intrinsics/D2D.cs index 328e7dbd..aa6254c9 100644 --- a/src/ComputeSharp.D2D1/Intrinsics/D2D.cs +++ b/src/ComputeSharp.D2D1/Intrinsics/D2D.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Core.Intrinsics.Attributes; +using ComputeSharp.Core.Intrinsics.Attributes; using ComputeSharp.Exceptions; namespace ComputeSharp.D2D1; @@ -26,7 +26,7 @@ public static class D2D /// This method is only available for complex inputs. [HlslIntrinsicName("D2DGetInputCoordinate")] public static Float4 GetInputCoordinate(int index) => throw new InvalidExecutionContextException($"{typeof(D2D)}.{nameof(GetInputCoordinate)}({typeof(int)})"); - + /// /// Returns the value of the current scene position. /// @@ -64,4 +64,4 @@ public static class D2D /// This method is only available for complex inputs. [HlslIntrinsicName("D2DSampleInputAtPosition")] public static Float4 SampleInputAtPosition(int index, Float2 uv) => throw new InvalidExecutionContextException($"{typeof(D2D)}.{nameof(SampleInputAtPosition)}({typeof(int)}, {typeof(Float2)})"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Properties/Polyfills/CompilerFeatureRequiredAttribute.cs b/src/ComputeSharp.D2D1/Properties/Polyfills/CompilerFeatureRequiredAttribute.cs index ab911b2a..3da8c78b 100644 --- a/src/ComputeSharp.D2D1/Properties/Polyfills/CompilerFeatureRequiredAttribute.cs +++ b/src/ComputeSharp.D2D1/Properties/Polyfills/CompilerFeatureRequiredAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Runtime.CompilerServices; diff --git a/src/ComputeSharp.D2D1/Properties/Polyfills/RequiredMemberAttribute.cs b/src/ComputeSharp.D2D1/Properties/Polyfills/RequiredMemberAttribute.cs index a9bc75c6..8b14f9a2 100644 --- a/src/ComputeSharp.D2D1/Properties/Polyfills/RequiredMemberAttribute.cs +++ b/src/ComputeSharp.D2D1/Properties/Polyfills/RequiredMemberAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Runtime.CompilerServices; diff --git a/src/ComputeSharp.D2D1/Properties/Polyfills/StringSyntaxAttribute.cs b/src/ComputeSharp.D2D1/Properties/Polyfills/StringSyntaxAttribute.cs index 02abeb35..bb9a2248 100644 --- a/src/ComputeSharp.D2D1/Properties/Polyfills/StringSyntaxAttribute.cs +++ b/src/ComputeSharp.D2D1/Properties/Polyfills/StringSyntaxAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Diagnostics.CodeAnalysis; diff --git a/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture1D{T}.cs b/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture1D{T}.cs index 725c4b6c..e875431b 100644 --- a/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture1D{T}.cs +++ b/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture1D{T}.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp.D2D1; @@ -30,4 +30,4 @@ public readonly struct D2D1ResourceTexture1D /// The horizontal normalized offset of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. public ref readonly T Sample(float u) => throw new InvalidExecutionContextException($"{typeof(D2D1ResourceTexture1D)}.{nameof(Sample)}({typeof(float)})"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture2D{T}.cs b/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture2D{T}.cs index 902579f3..d36074aa 100644 --- a/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture2D{T}.cs +++ b/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture2D{T}.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp.D2D1; @@ -52,4 +52,4 @@ public readonly struct D2D1ResourceTexture2D /// The normalized coordinates of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. public ref readonly T Sample(Float2 uv) => throw new InvalidExecutionContextException($"{typeof(D2D1ResourceTexture2D)}.{nameof(Sample)}({typeof(Float2)})"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture3D{T}.cs b/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture3D{T}.cs index dfe6936a..cefbe7c2 100644 --- a/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture3D{T}.cs +++ b/src/ComputeSharp.D2D1/Resources/D2D1ResourceTexture3D{T}.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp.D2D1; @@ -60,4 +60,4 @@ public readonly struct D2D1ResourceTexture3D /// The normalized coordinates of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. public ref readonly T Sample(Float3 uvw) => throw new InvalidExecutionContextException($"{typeof(D2D1ResourceTexture3D)}.{nameof(Sample)}({typeof(Float3)})"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Exceptions/FxcCompilationException.cs b/src/ComputeSharp.D2D1/Shaders/Exceptions/FxcCompilationException.cs index cdb5e2a3..35f43f46 100644 --- a/src/ComputeSharp.D2D1/Shaders/Exceptions/FxcCompilationException.cs +++ b/src/ComputeSharp.D2D1/Shaders/Exceptions/FxcCompilationException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; namespace ComputeSharp.D2D1.Exceptions; @@ -31,8 +31,8 @@ public sealed class FxcCompilationException : Exception builder.AppendLine(error.Trim()); builder.AppendLine(); builder.AppendLine("Make sure to only be using supported features by checking the README file in the ComputeSharp repository: https://github.com/Sergio0694/ComputeSharp."); - builder.Append("If you're sure that your C# shader code is valid, please open an issue an include a working repro and this error message."); + builder.Append("If you're sure that your C# shader code is valid, please open an issue an include a working repro and this error message."); return builder.ToString(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriterExtensions.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriterExtensions.cs index 51073911..71ba9ed1 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriterExtensions.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriterExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; #if NET6_0_OR_GREATER using System.Buffers.Text; #endif diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriter{T}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriter{T}.cs index 162894c2..cc76dc2b 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriter{T}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriter{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Diagnostics.CodeAnalysis; #if NET6_0_OR_GREATER @@ -154,7 +154,7 @@ internal ref struct ArrayPoolBufferWriter // the nearest power of two, to ensure that repeated consecutive writes when the array in // use is bigger than that threshold don't end up causing a resize every single time. if (minimumSize > 1024 * 1024) - { + { minimumSize = BitOperations.RoundUpToPowerOf2(minimumSize); } diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/PinnedBufferMemoryManager.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/PinnedBufferMemoryManager.cs index 4fb3d71d..d4a4b09b 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/PinnedBufferMemoryManager.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/PinnedBufferMemoryManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -57,4 +57,4 @@ internal sealed unsafe class PinnedBufferMemoryManager : MemoryManager protected override void Dispose(bool disposing) { } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1EffectRegistrationData.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1EffectRegistrationData.cs index cba3bc9b..060d0d76 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1EffectRegistrationData.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1EffectRegistrationData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using System.Text; using ComputeSharp.D2D1.Helpers; @@ -298,4 +298,4 @@ public static class D2D1EffectRegistrationData InvalidBindingPropertyName } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ExtendMode.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ExtendMode.cs index 0ecb3e2b..15d6b19e 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ExtendMode.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ExtendMode.cs @@ -1,4 +1,4 @@ -using static TerraFX.Interop.DirectX.D2D1_EXTEND_MODE; +using static TerraFX.Interop.DirectX.D2D1_EXTEND_MODE; namespace ComputeSharp.D2D1; @@ -25,4 +25,4 @@ public enum D2D1ExtendMode /// content are flipped (the brush's normal content is drawn untransformed). /// Mirror = (int)D2D1_EXTEND_MODE_MIRROR -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1InputDescription.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1InputDescription.cs index e7312118..fb23e794 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1InputDescription.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1InputDescription.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Interop; +namespace ComputeSharp.D2D1.Interop; /// /// A type containing info on a description for a given D2D1 pixel shader input resource. @@ -57,4 +57,4 @@ public readonly struct D2D1InputDescription /// Gets the mip level to retrieve from the upstream transform, if specified. /// public int LevelOfDetailCount => this.levelOfDetailCount; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs index 99015f4e..134616a9 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Helpers; using ComputeSharp.D2D1.Shaders.Interop.Buffers; @@ -351,4 +351,4 @@ public static class D2D1PixelShader Unsafe.AsRef(in shader).LoadDispatchData(ref dataLoader); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs index d79fcfb4..8e2704c8 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Helpers; @@ -350,7 +350,7 @@ public static unsafe class D2D1PixelShaderEffect // Effect id and number of inputs writer.WriteRaw(PixelShaderEffect.For.Id); writer.WriteRaw(PixelShaderEffect.For.InputCount); - + // Build the XML text writer.WriteRaw(""" @@ -631,4 +631,4 @@ public static unsafe class D2D1PixelShaderEffect data: (byte*)resourceTextureManager2.GetAddressOf(), dataSize: (uint)sizeof(void*)).Assert(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffectProperty.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffectProperty.cs index dbf89f8d..892ec2f4 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffectProperty.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffectProperty.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Interop; +namespace ComputeSharp.D2D1.Interop; /// /// A container for indices of properties from the type. @@ -112,4 +112,4 @@ public static class D2D1PixelShaderEffectProperty /// /// For more info, see . public const uint ResourceTextureManager15 = 16; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderInputType.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderInputType.cs index 19ae7aec..d7fd74c0 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderInputType.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderInputType.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Interop; +namespace ComputeSharp.D2D1.Interop; /// /// Indicates the type of a given input for a D2D1 pixel shader. @@ -28,4 +28,4 @@ public enum D2D1PixelShaderInputType /// For more info, see . /// Complex -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PropertyBinding.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PropertyBinding.cs index 0b78e89f..bbfe8d3f 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PropertyBinding.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PropertyBinding.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Interop; +namespace ComputeSharp.D2D1.Interop; /// /// A model representing a property binding for an effect. diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ReflectionServices.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ReflectionServices.cs index 5acc5ac7..1dfe3a03 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ReflectionServices.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ReflectionServices.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Extensions; @@ -53,7 +53,7 @@ public static class D2D1ReflectionServices { bytecodePtr = (byte*)dynamicBytecode.Get()->GetBufferPointer(); bytecodeSize = (int)dynamicBytecode.Get()->GetBufferSize(); - } + } using ComPtr d3D11ShaderReflection = default; @@ -94,4 +94,4 @@ public static class D2D1ReflectionServices InterfaceSlotCount: d3D11ShaderReflection.Get()->GetNumInterfaceSlots(), RequiresDoublePrecisionSupport: (d3D11ShaderReflection.Get()->GetRequiresFlags() & (D3D.D3D_SHADER_REQUIRES_DOUBLES | D3D.D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS)) != 0); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureDescription.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureDescription.cs index 42f244b5..0acf68e4 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureDescription.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureDescription.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Interop; +namespace ComputeSharp.D2D1.Interop; /// /// A type containing info on a description for a given D2D1 pixel shader resource resource. @@ -36,4 +36,4 @@ public readonly struct D2D1ResourceTextureDescription /// Gets the rank of the resource texture the description belongs to. /// public int Dimensions => this.dimensions; -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs index 8c66d277..cdb769aa 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; @@ -536,4 +536,4 @@ public sealed unsafe class D2D1ResourceTextureManager : ICustomQueryInterface Marshal.ThrowExceptionForHR(hresult); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs index fdf1d322..bf1df774 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Text; using ComputeSharp.D2D1.Exceptions; @@ -110,4 +110,4 @@ public static class D2D1ShaderCompiler return new Span(blobLinkedPtr, (int)blobLinkedSize).ToArray(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderInfo.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderInfo.cs index 1fada0b5..b723db4b 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderInfo.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderInfo.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Interop; +namespace ComputeSharp.D2D1.Interop; /// /// A model representing reflection info for a given D2D1 shader. @@ -53,4 +53,4 @@ public sealed record D2D1ShaderInfo( uint MovcInstructionCount, uint MovInstructionCount, uint InterfaceSlotCount, - bool RequiresDoublePrecisionSupport); + bool RequiresDoublePrecisionSupport); \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapperFactory{T}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapperFactory{T}.cs index 1b914639..c53756ef 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapperFactory{T}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapperFactory{T}.cs @@ -1,4 +1,4 @@ -using System.Numerics; +using System.Numerics; using ComputeSharp.D2D1.Helpers; using ComputeSharp.D2D1.Shaders.Interop.Factories; @@ -95,5 +95,5 @@ public static class D2D1TransformMapperFactory /// The type of parameters that the transform mapper will use. /// The input D2D1 pixel shader being executed on the current effect (this can be used to retrieve shader properties). /// The resulting parameters to be used by the transform mapper. - public delegate TResult Accessor(in T shader); -} + public delegate TResult Accessor(in T shader); +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/D2D1TransformMapper.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/D2D1TransformMapper.cs index e23c9b8b..f13dc1ac 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/D2D1TransformMapper.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/D2D1TransformMapper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Drawing; using System.Runtime.CompilerServices; @@ -130,4 +130,4 @@ internal abstract class D2D1TransformMapper return new TMapper(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs index 6aa6a6cc..6c574e1f 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Helpers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs index 4b9995ff..41d8562e 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Drawing; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Extensions; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs index 0509e163..a30467b7 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; @@ -179,7 +179,7 @@ internal unsafe partial struct PixelShaderEffect foreach (ref readonly D2D1ResourceTextureDescription resourceTextureDescription in new ReadOnlySpan(@this->resourceTextureDescriptions, @this->resourceTextureDescriptionCount)) { using ComPtr resourceTextureManager = @this->resourceTextureManagerBuffer[resourceTextureDescription.Index]; - + // If the current resource texture manager is not set, we cannot render, as there's an unbound resource texture if (resourceTextureManager.Get() is null) { @@ -187,7 +187,7 @@ internal unsafe partial struct PixelShaderEffect break; } - + using ComPtr resourceTextureManagerInternal = default; // Get the ID2D1ResourceTextureManagerInternal object diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.cs index 64e3e8fa..bf19ed26 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ResourceTextureManagerBuffer.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ResourceTextureManagerBuffer.cs index cb5509a7..66715d60 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ResourceTextureManagerBuffer.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ResourceTextureManagerBuffer.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs index 46af9b82..136112bc 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManager.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManager.cs index 89fc5479..c1c1d932 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManager.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -685,4 +685,4 @@ unsafe partial struct D2D1ResourceTextureManagerImpl return S.S_OK; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManagerInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManagerInternal.cs index f02b3c3f..6d16384c 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManagerInternal.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManagerInternal.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Shaders.Interop.Extensions; using TerraFX.Interop.DirectX; @@ -216,4 +216,4 @@ partial struct D2D1ResourceTextureManagerImpl } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.cs index bdeb44bc..31095856 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; @@ -296,4 +296,4 @@ internal unsafe partial struct D2D1ResourceTextureManagerImpl return referenceCount; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManager.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManager.cs index 690f7db6..651f511c 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManager.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.DirectX; @@ -98,4 +98,4 @@ internal unsafe struct ID2D1ResourceTextureManager data, dataCount); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManagerInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManagerInternal.cs index ac43cacb..d8b7c894 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManagerInternal.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManagerInternal.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.DirectX; @@ -22,7 +22,7 @@ internal unsafe struct ID2D1ResourceTextureManagerInternal get { ReadOnlySpan data = new byte[] { - 0x24, 0x10, 0xBB, 0x5C, + 0x24, 0x10, 0xBB, 0x5C, 0xA1, 0x8E, 0x89, 0x46, 0x81, 0xBF, @@ -70,4 +70,4 @@ internal unsafe struct ID2D1ResourceTextureManagerInternal (ID2D1ResourceTextureManagerInternal*)Unsafe.AsPointer(ref this), resourceTexture); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Extensions/ID2D1EffectContextExtensions.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Extensions/ID2D1EffectContextExtensions.cs index 17b5dde6..39a188b0 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Extensions/ID2D1EffectContextExtensions.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Extensions/ID2D1EffectContextExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -63,4 +63,4 @@ internal static class ID2D1EffectContextExtensions return hresult; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapperFactory{T, TParameters, TTransformMapper}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapperFactory{T, TParameters, TTransformMapper}.cs index f65fc762..5350b0b0 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapperFactory{T, TParameters, TTransformMapper}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapperFactory{T, TParameters, TTransformMapper}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Shaders.Interop.Factories.Abstract; +namespace ComputeSharp.D2D1.Shaders.Interop.Factories.Abstract; /// /// A base type for a transform mapper factory to be used in a D2D1 pixel shader effect. diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapperParametersAccessor{T, TParameters}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapperParametersAccessor{T, TParameters}.cs index a12df793..51f454ec 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapperParametersAccessor{T, TParameters}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapperParametersAccessor{T, TParameters}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Shaders.Interop.Factories.Abstract; +namespace ComputeSharp.D2D1.Shaders.Interop.Factories.Abstract; /// /// A base type for an accessor of parameters to be used in D2D1 transform mapping implementations. diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapper{T, TParameters}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapper{T, TParameters}.cs index 903c0a0d..09a62ed5 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapper{T, TParameters}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/Abstract/D2D1TransformMapper{T, TParameters}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Drawing; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Interop.Effects; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1AffineTransformMapperFactory.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1AffineTransformMapperFactory.cs index e3d8945c..a38eb8c9 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1AffineTransformMapperFactory.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1AffineTransformMapperFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Numerics; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Interop; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1InflateTransformMapperFactory.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1InflateTransformMapperFactory.cs index 9e5b8a0e..873d911f 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1InflateTransformMapperFactory.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Factories/D2D1InflateTransformMapperFactory.cs @@ -1,4 +1,4 @@ -using ComputeSharp.D2D1.Interop; +using ComputeSharp.D2D1.Interop; using ComputeSharp.D2D1.Shaders.Interop.Factories.Abstract; using ComputeSharp.D2D1.Shaders.Interop.Helpers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Helpers/Point64.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Helpers/Point64.cs index 6bd7dec5..f11923eb 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Helpers/Point64.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Helpers/Point64.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Drawing; using System.Numerics; using System.Runtime.CompilerServices; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Helpers/Rectangle64.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Helpers/Rectangle64.cs index 7a87df79..1a20b3db 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Helpers/Rectangle64.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Helpers/Rectangle64.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Drawing; using System.Runtime.CompilerServices; diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1BufferSizeDispatchDataLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1BufferSizeDispatchDataLoader.cs index b18fcc4e..d24559f6 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1BufferSizeDispatchDataLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1BufferSizeDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.__Internals; using TerraFX.Interop.DirectX; @@ -60,4 +60,4 @@ internal unsafe struct D2D1BufferSizeDispatchDataLoader : ID2D1DispatchDataLoade return dataLoader.GetConstantBufferSize(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayDispatchDataLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayDispatchDataLoader.cs index ff567595..f0baa491 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayDispatchDataLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.__Internals; using TerraFX.Interop.DirectX; @@ -32,4 +32,4 @@ internal struct D2D1ByteArrayDispatchDataLoader : ID2D1DispatchDataLoader { this.data = data.ToArray(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayInputDescriptionsLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayInputDescriptionsLoader.cs index dffefa81..bff3bb03 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayInputDescriptionsLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayInputDescriptionsLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.__Internals; @@ -33,4 +33,4 @@ internal struct D2D1ByteArrayInputDescriptionsLoader : ID2D1InputDescriptionsLoa { this.inputDescriptions = MemoryMarshal.Cast(data).ToArray(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayResourceTextureDescriptionsLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayResourceTextureDescriptionsLoader.cs index 1a375e82..99574e9a 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayResourceTextureDescriptionsLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayResourceTextureDescriptionsLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.__Internals; @@ -33,4 +33,4 @@ internal struct D2D1ByteArrayResourceTextureDescriptionsLoader : ID2D1ResourceTe { this.resourceTextureDescriptions = MemoryMarshal.Cast(data).ToArray(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteBufferDispatchDataLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteBufferDispatchDataLoader.cs index e45e3862..379e16c5 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteBufferDispatchDataLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteBufferDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.__Internals; using TerraFX.Interop.DirectX; @@ -72,4 +72,4 @@ internal unsafe struct D2D1ByteBufferDispatchDataLoader : ID2D1DispatchDataLoade this.writtenBytes = data.Length; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1DrawInfoDispatchDataLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1DrawInfoDispatchDataLoader.cs index d2ac7e01..e6d1e1f4 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1DrawInfoDispatchDataLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1DrawInfoDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.__Internals; @@ -35,4 +35,4 @@ internal readonly unsafe struct D2D1DrawInfoDispatchDataLoader : ID2D1DispatchDa buffer: (byte*)Unsafe.AsPointer(ref MemoryMarshal.GetReference(data)), bufferCount: (uint)data.Length); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1EffectDispatchDataLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1EffectDispatchDataLoader.cs index b7381119..0f8c809f 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1EffectDispatchDataLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1EffectDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.__Internals; @@ -43,4 +43,4 @@ internal readonly unsafe struct D2D1EffectDispatchDataLoader : ID2D1DispatchData data: (byte*)Unsafe.AsPointer(ref MemoryMarshal.GetReference(data)), dataSize: (uint)data.Length).Assert(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ShaderBytecodeLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ShaderBytecodeLoader.cs index 4db265a3..4f3badee 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ShaderBytecodeLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ShaderBytecodeLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.__Internals; @@ -76,4 +76,4 @@ internal unsafe struct D2D1ShaderBytecodeLoader : ID2D1BytecodeLoader this.embeddedBytecodePtr = (byte*)Unsafe.AsPointer(ref MemoryMarshal.GetReference(bytecode)); this.embeddedBytecodeSize = bytecode.Length; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.ID3DInclude.cs b/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.ID3DInclude.cs index 260bcdcf..8269fe02 100644 --- a/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.ID3DInclude.cs +++ b/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.ID3DInclude.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -103,4 +103,4 @@ partial class D3DCompiler return S.S_OK; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs b/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs index 2dde77f8..be6c0b08 100644 --- a/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs +++ b/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; @@ -270,4 +270,4 @@ internal static unsafe partial class D3DCompiler }; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Translation/Headers/d2d1effecthelpers.hlsli.cs b/src/ComputeSharp.D2D1/Shaders/Translation/Headers/d2d1effecthelpers.hlsli.cs index 73153fef..8101f31b 100644 --- a/src/ComputeSharp.D2D1/Shaders/Translation/Headers/d2d1effecthelpers.hlsli.cs +++ b/src/ComputeSharp.D2D1/Shaders/Translation/Headers/d2d1effecthelpers.hlsli.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1.Shaders.Translation; @@ -334,4 +334,4 @@ internal static class D2D1EffectHelpers """u8; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Shaders/Translation/__Internals/D2D1ShaderCompiler.cs b/src/ComputeSharp.D2D1/Shaders/Translation/__Internals/D2D1ShaderCompiler.cs index 0802f677..cda09946 100644 --- a/src/ComputeSharp.D2D1/Shaders/Translation/__Internals/D2D1ShaderCompiler.cs +++ b/src/ComputeSharp.D2D1/Shaders/Translation/__Internals/D2D1ShaderCompiler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.CompilerServices; using TerraFX.Interop.DirectX; @@ -35,4 +35,4 @@ public static class D2D1ShaderCompiler loader.LoadDynamicBytecode((IntPtr)d3DBlobBytecode.Get()); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Attributes/ShaderMethodAttribute.cs b/src/ComputeSharp.Dynamic/Attributes/ShaderMethodAttribute.cs index 3674883c..fc3b6415 100644 --- a/src/ComputeSharp.Dynamic/Attributes/ShaderMethodAttribute.cs +++ b/src/ComputeSharp.Dynamic/Attributes/ShaderMethodAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp; @@ -12,4 +12,4 @@ namespace ComputeSharp; [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public sealed class ShaderMethodAttribute : Attribute { -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Attributes/__Internals/ShaderMethodSourceAttribute.HlslGeneration.cs b/src/ComputeSharp.Dynamic/Attributes/__Internals/ShaderMethodSourceAttribute.HlslGeneration.cs index 71086963..2bc68b06 100644 --- a/src/ComputeSharp.Dynamic/Attributes/__Internals/ShaderMethodSourceAttribute.HlslGeneration.cs +++ b/src/ComputeSharp.Dynamic/Attributes/__Internals/ShaderMethodSourceAttribute.HlslGeneration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace ComputeSharp.__Internals; @@ -90,4 +90,4 @@ partial class ShaderMethodSourceAttribute : Attribute { builder.Append(this.invokeMethod.Replace(InvokeMethodIdentifier, name)); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Attributes/__Internals/ShaderMethodSourceAttribute.cs b/src/ComputeSharp.Dynamic/Attributes/__Internals/ShaderMethodSourceAttribute.cs index b00de205..d926683c 100644 --- a/src/ComputeSharp.Dynamic/Attributes/__Internals/ShaderMethodSourceAttribute.cs +++ b/src/ComputeSharp.Dynamic/Attributes/__Internals/ShaderMethodSourceAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; @@ -108,4 +108,4 @@ public sealed partial class ShaderMethodSourceAttribute : Attribute { throw new ArgumentException($"The captured delegate \"{name}\" was wrapping a method without the [ShaderMethod] attribute applied to it.", name); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Shaders/Exceptions/DxcCompilationException.cs b/src/ComputeSharp.Dynamic/Shaders/Exceptions/DxcCompilationException.cs index 3c315dd7..418d8fd5 100644 --- a/src/ComputeSharp.Dynamic/Shaders/Exceptions/DxcCompilationException.cs +++ b/src/ComputeSharp.Dynamic/Shaders/Exceptions/DxcCompilationException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; namespace ComputeSharp.Exceptions; @@ -31,8 +31,8 @@ public sealed class DxcCompilationException : Exception builder.AppendLine(error.Trim()); builder.AppendLine(); builder.AppendLine("Make sure to only be using supported features by checking the README file in the ComputeSharp repository: https://github.com/Sergio0694/ComputeSharp."); - builder.Append("If you're sure that your C# shader code is valid, please open an issue an include a working repro and this error message."); + builder.Append("If you're sure that your C# shader code is valid, please open an issue an include a working repro and this error message."); return builder.ToString(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Shaders/Interop/ReflectionServices.cs b/src/ComputeSharp.Dynamic/Shaders/Interop/ReflectionServices.cs index 51a04792..250ba163 100644 --- a/src/ComputeSharp.Dynamic/Shaders/Interop/ReflectionServices.cs +++ b/src/ComputeSharp.Dynamic/Shaders/Interop/ReflectionServices.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.__Internals; using ComputeSharp.Core.Extensions; @@ -159,4 +159,4 @@ public static class ReflectionServices InterfaceSlotCount: d3D12ShaderReflection.Get()->GetNumInterfaceSlots(), RequiresDoublePrecisionSupport: (d3D12ShaderReflection.Get()->GetRequiresFlags() & (D3D.D3D_SHADER_REQUIRES_DOUBLES | D3D.D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS)) != 0); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Shaders/Interop/ShaderInfo.cs b/src/ComputeSharp.Dynamic/Shaders/Interop/ShaderInfo.cs index f69667e5..2b2064b7 100644 --- a/src/ComputeSharp.Dynamic/Shaders/Interop/ShaderInfo.cs +++ b/src/ComputeSharp.Dynamic/Shaders/Interop/ShaderInfo.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.Interop; +namespace ComputeSharp.Interop; /// /// A model representing reflection info for a given compute shader. @@ -53,4 +53,4 @@ public sealed record ShaderInfo( uint MovcInstructionCount, uint MovInstructionCount, uint InterfaceSlotCount, - bool RequiresDoublePrecisionSupport); + bool RequiresDoublePrecisionSupport); \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Shaders/Translation/ShaderCompiler.LibraryLoading.cs b/src/ComputeSharp.Dynamic/Shaders/Translation/ShaderCompiler.LibraryLoading.cs index 437ae750..8cc7bc12 100644 --- a/src/ComputeSharp.Dynamic/Shaders/Translation/ShaderCompiler.LibraryLoading.cs +++ b/src/ComputeSharp.Dynamic/Shaders/Translation/ShaderCompiler.LibraryLoading.cs @@ -1,4 +1,4 @@ -#if NET6_0_OR_GREATER +#if NET6_0_OR_GREATER using System; using System.IO; @@ -70,4 +70,4 @@ unsafe partial class ShaderCompiler } } -#endif +#endif \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Shaders/Translation/ShaderCompiler.cs b/src/ComputeSharp.Dynamic/Shaders/Translation/ShaderCompiler.cs index aff3c606..97249809 100644 --- a/src/ComputeSharp.Dynamic/Shaders/Translation/ShaderCompiler.cs +++ b/src/ComputeSharp.Dynamic/Shaders/Translation/ShaderCompiler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using ComputeSharp.Core.Extensions; diff --git a/src/ComputeSharp.Dynamic/Shaders/Translation/__Internals/ShaderCompiler.cs b/src/ComputeSharp.Dynamic/Shaders/Translation/__Internals/ShaderCompiler.cs index e93dc7f6..709314f8 100644 --- a/src/ComputeSharp.Dynamic/Shaders/Translation/__Internals/ShaderCompiler.cs +++ b/src/ComputeSharp.Dynamic/Shaders/Translation/__Internals/ShaderCompiler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.CompilerServices; using TerraFX.Interop.DirectX; @@ -35,4 +35,4 @@ public static class ShaderCompiler loader.LoadDynamicBytecode((IntPtr)dxcBlobBytecode.Get()); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.NetStandard/System/Collections.Generic/DictionaryExtensions.cs b/src/ComputeSharp.NetStandard/System/Collections.Generic/DictionaryExtensions.cs index 3c8199dc..4c47fb38 100644 --- a/src/ComputeSharp.NetStandard/System/Collections.Generic/DictionaryExtensions.cs +++ b/src/ComputeSharp.NetStandard/System/Collections.Generic/DictionaryExtensions.cs @@ -1,4 +1,4 @@ -namespace System.Collections.Generic; +namespace System.Collections.Generic; /// /// A helper type with extensions for the type. diff --git a/src/ComputeSharp.NetStandard/System/Collections.Generic/QueueExtensions.cs b/src/ComputeSharp.NetStandard/System/Collections.Generic/QueueExtensions.cs index 8ca46f02..d3ed152c 100644 --- a/src/ComputeSharp.NetStandard/System/Collections.Generic/QueueExtensions.cs +++ b/src/ComputeSharp.NetStandard/System/Collections.Generic/QueueExtensions.cs @@ -1,4 +1,4 @@ -namespace System.Collections.Generic; +namespace System.Collections.Generic; /// /// A helper type with extensions for the type. diff --git a/src/ComputeSharp.NetStandard/System/Diagnostics.CodeAnalysis/MemberNotNullAttribute.cs b/src/ComputeSharp.NetStandard/System/Diagnostics.CodeAnalysis/MemberNotNullAttribute.cs index 7c3bade3..2d663176 100644 --- a/src/ComputeSharp.NetStandard/System/Diagnostics.CodeAnalysis/MemberNotNullAttribute.cs +++ b/src/ComputeSharp.NetStandard/System/Diagnostics.CodeAnalysis/MemberNotNullAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Diagnostics.CodeAnalysis; diff --git a/src/ComputeSharp.NetStandard/System/Diagnostics.CodeAnalysis/RequiresUnreferencedCodeAttribute.cs b/src/ComputeSharp.NetStandard/System/Diagnostics.CodeAnalysis/RequiresUnreferencedCodeAttribute.cs index 7009fdd3..d8894769 100644 --- a/src/ComputeSharp.NetStandard/System/Diagnostics.CodeAnalysis/RequiresUnreferencedCodeAttribute.cs +++ b/src/ComputeSharp.NetStandard/System/Diagnostics.CodeAnalysis/RequiresUnreferencedCodeAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Diagnostics.CodeAnalysis diff --git a/src/ComputeSharp.NetStandard/System/Enum.cs b/src/ComputeSharp.NetStandard/System/Enum.cs index 6a601cc1..4ea63575 100644 --- a/src/ComputeSharp.NetStandard/System/Enum.cs +++ b/src/ComputeSharp.NetStandard/System/Enum.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.NetStandard.System; +namespace ComputeSharp.NetStandard.System; /// /// A polyfill type that mirrors some methods from on .NET 6. diff --git a/src/ComputeSharp.NetStandard/System/FormatExtensions.cs b/src/ComputeSharp.NetStandard/System/FormatExtensions.cs index ad799798..cea6f5f3 100644 --- a/src/ComputeSharp.NetStandard/System/FormatExtensions.cs +++ b/src/ComputeSharp.NetStandard/System/FormatExtensions.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; namespace System; diff --git a/src/ComputeSharp.NetStandard/System/GC.cs b/src/ComputeSharp.NetStandard/System/GC.cs index cd9c26ac..5ef7f82b 100644 --- a/src/ComputeSharp.NetStandard/System/GC.cs +++ b/src/ComputeSharp.NetStandard/System/GC.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.NetStandard.System; +namespace ComputeSharp.NetStandard.System; /// /// A polyfill type that mirrors some methods from on .NET 6. diff --git a/src/ComputeSharp.NetStandard/System/IO/StreamExtensions.cs b/src/ComputeSharp.NetStandard/System/IO/StreamExtensions.cs index 6e94d749..b18da222 100644 --- a/src/ComputeSharp.NetStandard/System/IO/StreamExtensions.cs +++ b/src/ComputeSharp.NetStandard/System/IO/StreamExtensions.cs @@ -1,4 +1,4 @@ -using System.Buffers; +using System.Buffers; namespace System.IO; @@ -51,4 +51,4 @@ internal static class StreamExtensions ArrayPool.Shared.Return(array); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.NetStandard/System/IntPtrExtensions.cs b/src/ComputeSharp.NetStandard/System/IntPtrExtensions.cs index 481b7b9c..89316e29 100644 --- a/src/ComputeSharp.NetStandard/System/IntPtrExtensions.cs +++ b/src/ComputeSharp.NetStandard/System/IntPtrExtensions.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; namespace System; diff --git a/src/ComputeSharp.NetStandard/System/Path.cs b/src/ComputeSharp.NetStandard/System/Path.cs index 654ded4d..c07e3711 100644 --- a/src/ComputeSharp.NetStandard/System/Path.cs +++ b/src/ComputeSharp.NetStandard/System/Path.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.NetStandard.System.IO; diff --git a/src/ComputeSharp.NetStandard/System/Runtime/CompilerServices/RuntimeHelpers.cs b/src/ComputeSharp.NetStandard/System/Runtime/CompilerServices/RuntimeHelpers.cs index 552f2b33..8244abdd 100644 --- a/src/ComputeSharp.NetStandard/System/Runtime/CompilerServices/RuntimeHelpers.cs +++ b/src/ComputeSharp.NetStandard/System/Runtime/CompilerServices/RuntimeHelpers.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; namespace ComputeSharp.NetStandard.System.Runtime.CompilerServices; diff --git a/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/MemoryMarshal.cs b/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/MemoryMarshal.cs index bb7c704d..c80bc981 100644 --- a/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/MemoryMarshal.cs +++ b/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/MemoryMarshal.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; namespace ComputeSharp.NetStandard.System.Runtime.InteropServices; diff --git a/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/NativeMemory.cs b/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/NativeMemory.cs index b5a23ff6..a9810ac4 100644 --- a/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/NativeMemory.cs +++ b/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/NativeMemory.cs @@ -1,4 +1,4 @@ -namespace System.Runtime.InteropServices; +namespace System.Runtime.InteropServices; /// /// This class contains methods that are mainly used to manage native memory. diff --git a/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs b/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs index 0f25befe..9b9e96e5 100644 --- a/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs +++ b/src/ComputeSharp.NetStandard/System/Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/ComputeSharp.NetStandard/System/Runtime/Versioning/OSPlatformAttribute.cs b/src/ComputeSharp.NetStandard/System/Runtime/Versioning/OSPlatformAttribute.cs index 8a3497ee..1c78df51 100644 --- a/src/ComputeSharp.NetStandard/System/Runtime/Versioning/OSPlatformAttribute.cs +++ b/src/ComputeSharp.NetStandard/System/Runtime/Versioning/OSPlatformAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; diff --git a/src/ComputeSharp.NetStandard/System/Runtime/Versioning/SupportedOSPlatformAttribute.cs b/src/ComputeSharp.NetStandard/System/Runtime/Versioning/SupportedOSPlatformAttribute.cs index 3a108b87..e1ea17d0 100644 --- a/src/ComputeSharp.NetStandard/System/Runtime/Versioning/SupportedOSPlatformAttribute.cs +++ b/src/ComputeSharp.NetStandard/System/Runtime/Versioning/SupportedOSPlatformAttribute.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; diff --git a/src/ComputeSharp.Pix/ComputeContextExtensions.cs b/src/ComputeSharp.Pix/ComputeContextExtensions.cs index 73a4a69b..fb9b5abf 100644 --- a/src/ComputeSharp.Pix/ComputeContextExtensions.cs +++ b/src/ComputeSharp.Pix/ComputeContextExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Drawing; using ComputeSharp.Graphics.Commands; @@ -278,4 +278,4 @@ public static class ComputeContextExtensions commandList.D3D12GraphicsCommandList->SetPixMarkerUnsafe(0, message); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Pix/Interop/ID3D12GraphicsCommandListExtensions.cs b/src/ComputeSharp.Pix/Interop/ID3D12GraphicsCommandListExtensions.cs index 816128a2..aad49f06 100644 --- a/src/ComputeSharp.Pix/Interop/ID3D12GraphicsCommandListExtensions.cs +++ b/src/ComputeSharp.Pix/Interop/ID3D12GraphicsCommandListExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Text; @@ -102,4 +102,4 @@ internal static class ID3D12GraphicsCommandListExtensions Pix.PIXSetMarkerOnCommandList((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref d3D12GraphicsCommandList), color, (sbyte*)messagePtr); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Pix/Interop/Pix.cs b/src/ComputeSharp.Pix/Interop/Pix.cs index cc6ee0bf..11e1719a 100644 --- a/src/ComputeSharp.Pix/Interop/Pix.cs +++ b/src/ComputeSharp.Pix/Interop/Pix.cs @@ -1,4 +1,4 @@ -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; using TerraFX.Interop.DirectX; namespace ComputeSharp.Interop; @@ -41,4 +41,4 @@ internal static unsafe partial class Pix /// The format string to use for the marker (in ANSI format, -terminated). [DllImport("WinPixEventRuntime", ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] public static extern void PIXSetMarkerOnCommandList(ID3D12GraphicsCommandList* commandList, ulong color, sbyte* formatString); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Pix/Interop/Pix.h.cs b/src/ComputeSharp.Pix/Interop/Pix.h.cs index 3cca15bd..caad7784 100644 --- a/src/ComputeSharp.Pix/Interop/Pix.h.cs +++ b/src/ComputeSharp.Pix/Interop/Pix.h.cs @@ -1,4 +1,4 @@ -/*==========================================================================; +/*==========================================================================; * * Copyright (C) Microsoft Corporation. All Rights Reserved. * @@ -40,4 +40,4 @@ partial class Pix { return i; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Diagnostics/DiagnosticDescriptors.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Diagnostics/DiagnosticDescriptors.cs index ced8e438..fc3653a2 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Diagnostics/DiagnosticDescriptors.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Diagnostics/DiagnosticDescriptors.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; namespace ComputeSharp.SourceGeneration.Diagnostics; @@ -7,4 +7,4 @@ namespace ComputeSharp.SourceGeneration.Diagnostics; /// internal static partial class DiagnosticDescriptors { -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Extensions/StringExtensions.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Extensions/StringExtensions.cs index f01e6d86..31ef59fd 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Extensions/StringExtensions.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Extensions/StringExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; namespace ComputeSharp.SourceGeneration.Extensions; @@ -66,4 +66,4 @@ internal static class StringExtensions return text; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Extensions/SyntaxNodeExtensions.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Extensions/SyntaxNodeExtensions.cs index d9a2fd78..670b54f4 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Extensions/SyntaxNodeExtensions.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Extensions/SyntaxNodeExtensions.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using ComputeSharp.SourceGeneration.Mappings; using Microsoft.CodeAnalysis; @@ -229,4 +229,4 @@ internal static class SyntaxNodeExtensions _ => true }).ToArray())); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SemanticModelProvider.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SemanticModelProvider.cs index b4dd8b35..ad657a04 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SemanticModelProvider.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SemanticModelProvider.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using Microsoft.CodeAnalysis; namespace ComputeSharp.SourceGeneration.Helpers; @@ -44,4 +44,4 @@ internal sealed class SemanticModelProvider return semanticModel; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SyntaxTokenHelper.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SyntaxTokenHelper.cs index 48415734..e2bf0f07 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SyntaxTokenHelper.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SyntaxTokenHelper.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; @@ -24,7 +24,7 @@ internal static class SyntaxTokenHelper // so would otherwise case the terminating """ token to fall on the same line, which is invalid syntax. This is only // needed to make the code valid, as the actual literal context of the string is not affected and remains the same. string indentation = new(' ', 4 * indentationLevel + 4 + 4); - + return Token( TriviaList(), SyntaxKind.MultiLineRawStringLiteralToken, @@ -32,4 +32,4 @@ internal static class SyntaxTokenHelper text, TriviaList()); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownFields.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownFields.cs index 7728ab5b..a2466cae 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownFields.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownFields.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace ComputeSharp.SourceGeneration.Mappings; @@ -41,4 +41,4 @@ internal static partial class HlslKnownFields { return KnownFields.TryGetValue(name, out mapped); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownKeywords.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownKeywords.cs index 3db69f94..9becbce8 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownKeywords.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownKeywords.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Reflection; using ComputeSharp.Core.Intrinsics.Attributes; @@ -85,4 +85,4 @@ internal static partial class HlslKnownKeywords return mapped is not null; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownMethods.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownMethods.cs index dd7f890b..78eacab8 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownMethods.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownMethods.cs @@ -262,4 +262,4 @@ internal static partial class HlslKnownMethods { return KnownMethodsParametersMapping[$"{name}({string.Join(", ", parameterTypeNames)})"]; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownOperators.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownOperators.cs index ee1bda0a..522c6dfd 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownOperators.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownOperators.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; @@ -57,4 +57,4 @@ internal static partial class HlslKnownOperators { return KnownOperators.TryGetValue($"{name}({string.Join(", ", parameterTypeNames)})", out mapped); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownProperties.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownProperties.cs index de59abca..bb8f6c7e 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownProperties.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownProperties.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -293,4 +293,4 @@ internal static partial class HlslKnownProperties return false; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownSizes.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownSizes.cs index 44bc07f8..6bbc4f04 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownSizes.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownSizes.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Reflection; @@ -55,4 +55,4 @@ internal static class HlslKnownSizes { return KnownSizes[typeName]; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownTypes.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownTypes.cs index 9fef8219..ef98563f 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownTypes.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/Mappings/HlslKnownTypes.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Numerics; @@ -330,4 +330,4 @@ internal static partial class HlslKnownTypes else queue.Enqueue(entry); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/HlslSourceRewriter.Diagnostics.cs b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/HlslSourceRewriter.Diagnostics.cs index e308f084..829186b1 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/HlslSourceRewriter.Diagnostics.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/HlslSourceRewriter.Diagnostics.cs @@ -1,4 +1,4 @@ -using ComputeSharp.SourceGeneration.Extensions; +using ComputeSharp.SourceGeneration.Extensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using static ComputeSharp.SourceGeneration.Diagnostics.DiagnosticDescriptors; @@ -201,4 +201,4 @@ partial class HlslSourceRewriter return base.VisitUnsafeStatement(node); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/HlslSourceRewriter.cs b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/HlslSourceRewriter.cs index bbfe304e..b9b151e2 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/HlslSourceRewriter.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/HlslSourceRewriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -322,7 +322,7 @@ internal abstract partial class HlslSourceRewriter : CSharpSyntaxRewriter public override SyntaxNode? VisitBinaryExpression(BinaryExpressionSyntax node) { var updatedNode = (BinaryExpressionSyntax)base.VisitBinaryExpression(node)!; - + // Process binary operations to see if the target operator method is an intrinsic if (SemanticModel.For(node).GetOperation(node) is IBinaryOperation { OperatorMethod: { ContainingType.ContainingNamespace.Name: "ComputeSharp" } method }) { @@ -339,7 +339,7 @@ internal abstract partial class HlslSourceRewriter : CSharpSyntaxRewriter Argument(updatedNode.Right)); } } - + return updatedNode; } @@ -377,4 +377,4 @@ internal abstract partial class HlslSourceRewriter : CSharpSyntaxRewriter return updatedToken.WithoutTrivia(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/ShaderSourceRewriter.cs b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/ShaderSourceRewriter.cs index a80b9e59..75ed2076 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/ShaderSourceRewriter.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/ShaderSourceRewriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -312,7 +312,7 @@ internal sealed partial class ShaderSourceRewriter : HlslSourceRewriter public override SyntaxNode VisitMemberAccessExpression(MemberAccessExpressionSyntax node) { var updatedNode = (MemberAccessExpressionSyntax)base.VisitMemberAccessExpression(node)!; - + if (node.IsKind(SyntaxKind.SimpleMemberAccessExpression) && SemanticModel.For(node).GetOperation(node) is IMemberReferenceOperation operation) { @@ -584,4 +584,4 @@ internal sealed partial class ShaderSourceRewriter : HlslSourceRewriter /// /// The metadata name of the method being invoked. private partial void TrackKnownMethodInvocation(string metadataName); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/StaticFieldRewriter.cs b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/StaticFieldRewriter.cs index 8e9dab94..9df93f3e 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/StaticFieldRewriter.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxRewriters/StaticFieldRewriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -135,4 +135,4 @@ internal sealed partial class StaticFieldRewriter : HlslSourceRewriter /// /// The metadata name of the method being invoked. private partial void TrackKnownMethodInvocation(string metadataName); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Extensions/AttributeDataExtensions.cs b/src/ComputeSharp.SourceGeneration/Extensions/AttributeDataExtensions.cs index 0130f215..96b3872d 100644 --- a/src/ComputeSharp.SourceGeneration/Extensions/AttributeDataExtensions.cs +++ b/src/ComputeSharp.SourceGeneration/Extensions/AttributeDataExtensions.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using Microsoft.CodeAnalysis; namespace ComputeSharp.SourceGeneration.Extensions; @@ -55,4 +55,4 @@ internal static class AttributeDataExtensions return false; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Extensions/CompilationExtensions.cs b/src/ComputeSharp.SourceGeneration/Extensions/CompilationExtensions.cs index 53ac9c6a..01f78575 100644 --- a/src/ComputeSharp.SourceGeneration/Extensions/CompilationExtensions.cs +++ b/src/ComputeSharp.SourceGeneration/Extensions/CompilationExtensions.cs @@ -75,4 +75,4 @@ internal static class CompilationExtensions return false; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Extensions/DiagnosticsExtensions.cs b/src/ComputeSharp.SourceGeneration/Extensions/DiagnosticsExtensions.cs index b1404c61..de18830d 100644 --- a/src/ComputeSharp.SourceGeneration/Extensions/DiagnosticsExtensions.cs +++ b/src/ComputeSharp.SourceGeneration/Extensions/DiagnosticsExtensions.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Helpers; using ComputeSharp.SourceGeneration.Models; using Microsoft.CodeAnalysis; @@ -70,4 +70,4 @@ internal static class DiagnosticsExtensions } }); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Extensions/HashCodeExtensions.cs b/src/ComputeSharp.SourceGeneration/Extensions/HashCodeExtensions.cs index 6830252e..15592c78 100644 --- a/src/ComputeSharp.SourceGeneration/Extensions/HashCodeExtensions.cs +++ b/src/ComputeSharp.SourceGeneration/Extensions/HashCodeExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; @@ -37,4 +37,4 @@ internal static class HashCodeExtensions hashCode.Add(item, comparer); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Extensions/IEqualityComparerExtensions.cs b/src/ComputeSharp.SourceGeneration/Extensions/IEqualityComparerExtensions.cs index e76d9a93..ff7734fb 100644 --- a/src/ComputeSharp.SourceGeneration/Extensions/IEqualityComparerExtensions.cs +++ b/src/ComputeSharp.SourceGeneration/Extensions/IEqualityComparerExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; @@ -56,4 +56,4 @@ internal static class IEqualityComparerExtensions return hashCode.ToHashCode(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Extensions/ISymbolExtensions.cs b/src/ComputeSharp.SourceGeneration/Extensions/ISymbolExtensions.cs index 2061543e..c194de7a 100644 --- a/src/ComputeSharp.SourceGeneration/Extensions/ISymbolExtensions.cs +++ b/src/ComputeSharp.SourceGeneration/Extensions/ISymbolExtensions.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Text; using Microsoft.CodeAnalysis; @@ -217,4 +217,4 @@ internal static class ISymbolExtensions accessibility == Accessibility.Public || accessibility == Accessibility.Internal && symbol.ContainingAssembly.GivesAccessTo(assembly); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Extensions/ImmutableArrayExtensions.cs b/src/ComputeSharp.SourceGeneration/Extensions/ImmutableArrayExtensions.cs index a6a11304..9b8b6a77 100644 --- a/src/ComputeSharp.SourceGeneration/Extensions/ImmutableArrayExtensions.cs +++ b/src/ComputeSharp.SourceGeneration/Extensions/ImmutableArrayExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; @@ -47,4 +47,4 @@ internal static class ImmutableArrayExtensions return true; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Extensions/IncrementalValueProviderExtensions.cs b/src/ComputeSharp.SourceGeneration/Extensions/IncrementalValueProviderExtensions.cs index 56dfed31..70c8fbd5 100644 --- a/src/ComputeSharp.SourceGeneration/Extensions/IncrementalValueProviderExtensions.cs +++ b/src/ComputeSharp.SourceGeneration/Extensions/IncrementalValueProviderExtensions.cs @@ -32,4 +32,4 @@ internal static class IncrementalValueProviderExtensions .Combine(source3) .Select(static (items, _) => (items.Left.Left, items.Left.Right, items.Right)); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Helpers/Comparer{T,TSelf}.cs b/src/ComputeSharp.SourceGeneration/Helpers/Comparer{T,TSelf}.cs index 71ee2e1a..000ccd39 100644 --- a/src/ComputeSharp.SourceGeneration/Helpers/Comparer{T,TSelf}.cs +++ b/src/ComputeSharp.SourceGeneration/Helpers/Comparer{T,TSelf}.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. @@ -65,4 +65,4 @@ internal abstract class Comparer : IEqualityComparer /// The second instance to compare. /// Whether or not and are equal. protected abstract bool AreEqual(T x, T y); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Helpers/HashCode.cs b/src/ComputeSharp.SourceGeneration/Helpers/HashCode.cs index 94ea71f0..9c9b2763 100644 --- a/src/ComputeSharp.SourceGeneration/Helpers/HashCode.cs +++ b/src/ComputeSharp.SourceGeneration/Helpers/HashCode.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/ComputeSharp.SourceGeneration/Models/DeferredDiagnosticInfo.cs b/src/ComputeSharp.SourceGeneration/Models/DeferredDiagnosticInfo.cs index 32034299..a24478ad 100644 --- a/src/ComputeSharp.SourceGeneration/Models/DeferredDiagnosticInfo.cs +++ b/src/ComputeSharp.SourceGeneration/Models/DeferredDiagnosticInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -52,4 +52,4 @@ internal sealed record DeferredDiagnosticInfo(DiagnosticDescriptor Descriptor, I x.Arguments.SequenceEqual(y.Arguments); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Models/DiagnosticInfo.cs b/src/ComputeSharp.SourceGeneration/Models/DiagnosticInfo.cs index 6eb80f9a..33319753 100644 --- a/src/ComputeSharp.SourceGeneration/Models/DiagnosticInfo.cs +++ b/src/ComputeSharp.SourceGeneration/Models/DiagnosticInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -94,4 +94,4 @@ internal sealed record DiagnosticInfo( x.Arguments.SequenceEqual(y.Arguments); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Models/HierarchyInfo.cs b/src/ComputeSharp.SourceGeneration/Models/HierarchyInfo.cs index 511af340..dd3bfa73 100644 --- a/src/ComputeSharp.SourceGeneration/Models/HierarchyInfo.cs +++ b/src/ComputeSharp.SourceGeneration/Models/HierarchyInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -141,4 +141,4 @@ internal sealed partial record HierarchyInfo(string FilenameHint, string FullyQu x.Hierarchy.SequenceEqual(y.Hierarchy); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Models/TypeInfo.cs b/src/ComputeSharp.SourceGeneration/Models/TypeInfo.cs index f6d48c0a..9341a459 100644 --- a/src/ComputeSharp.SourceGeneration/Models/TypeInfo.cs +++ b/src/ComputeSharp.SourceGeneration/Models/TypeInfo.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; @@ -39,4 +39,4 @@ internal sealed record TypeInfo(string QualifiedName, TypeKind Kind, bool IsReco _ => ClassDeclaration(QualifiedName) }; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/ComputeSharp/Core/Interfaces/__Internals/IShader.cs b/src/ComputeSharp.SourceGenerators/ComputeSharp/Core/Interfaces/__Internals/IShader.cs index 44644c69..2a41f8d2 100644 --- a/src/ComputeSharp.SourceGenerators/ComputeSharp/Core/Interfaces/__Internals/IShader.cs +++ b/src/ComputeSharp.SourceGenerators/ComputeSharp/Core/Interfaces/__Internals/IShader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.__Internals; @@ -10,4 +10,4 @@ namespace ComputeSharp.__Internals; [Obsolete("This interface is not intended to be used directly by user code")] public interface IShader { -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs b/src/ComputeSharp.SourceGenerators/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs index bc125808..da6a898f 100644 --- a/src/ComputeSharp.SourceGenerators/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs +++ b/src/ComputeSharp.SourceGenerators/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; using System.Diagnostics; using TerraFX.Interop.Windows; @@ -32,4 +32,4 @@ internal static class HRESULTExtensions throw new Win32Exception(result); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Diagnostics/Analyzers/InvalidComputeContextCopyAnalyzer.cs b/src/ComputeSharp.SourceGenerators/Diagnostics/Analyzers/InvalidComputeContextCopyAnalyzer.cs index 354d5a3e..c166ede2 100644 --- a/src/ComputeSharp.SourceGenerators/Diagnostics/Analyzers/InvalidComputeContextCopyAnalyzer.cs +++ b/src/ComputeSharp.SourceGenerators/Diagnostics/Analyzers/InvalidComputeContextCopyAnalyzer.cs @@ -53,7 +53,7 @@ public sealed class InvalidComputeContextCopyAnalyzer : DiagnosticAnalyzer if (context.Operation is IArgumentOperation { Parameter.RefKind: RefKind.None } operation) { CheckCopyability(context, operation.Value); - } + } }, OperationKind.Argument); // Returns @@ -358,4 +358,4 @@ public sealed class InvalidComputeContextCopyAnalyzer : DiagnosticAnalyzer kind is (OperationKind.ObjectCreation or OperationKind.DefaultValue or OperationKind.Literal or OperationKind.Invocation) || (kind is (OperationKind.None or OperationKind.Invalid) && operation.Syntax is InvocationExpressionSyntax); // Workaround for https://github.com/dotnet/roslyn/issues/49751 } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs b/src/ComputeSharp.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs index 3486414b..27588984 100644 --- a/src/ComputeSharp.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs +++ b/src/ComputeSharp.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; namespace ComputeSharp.SourceGeneration.Diagnostics; @@ -729,4 +729,4 @@ partial class DiagnosticDescriptors isEnabledByDefault: true, description: "The ComputeContext type cannot be copied (and values should rather be passed via ref readonly or in instead) and cannot be used as a field of value types (as it could be indirectly copied).", helpLinkUri: "https://github.com/Sergio0694/ComputeSharp"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Helpers/SyntaxFactoryHelper.cs b/src/ComputeSharp.SourceGenerators/Helpers/SyntaxFactoryHelper.cs index e679b445..166c6579 100644 --- a/src/ComputeSharp.SourceGenerators/Helpers/SyntaxFactoryHelper.cs +++ b/src/ComputeSharp.SourceGenerators/Helpers/SyntaxFactoryHelper.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; @@ -38,4 +38,4 @@ internal static class SyntaxFactoryHelper LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(group.A)), LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(group.B))))).ToArray())); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslSourceMethod.Syntax.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslSourceMethod.Syntax.cs index 94c7b991..3bfc1043 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslSourceMethod.Syntax.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslSourceMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Collections.Immutable; using System.Text; using ComputeSharp.__Internals; @@ -296,4 +296,4 @@ partial class IShaderGenerator return statements.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslSourceMethod.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslSourceMethod.cs index 03aa3fb3..544ee08b 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslSourceMethod.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslSourceMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -340,7 +340,7 @@ partial class IShaderGenerator using ImmutableArrayBuilder<(string, string)> methods = ImmutableArrayBuilder<(string, string)>.Rent(); - string ? entryPoint = null; + string? entryPoint = null; bool isSamplerUsed = false; foreach (MethodDeclarationSyntax methodDeclaration in methodDeclarations) @@ -455,7 +455,7 @@ partial class IShaderGenerator { using ImmutableArrayBuilder<(string, string)> builder = ImmutableArrayBuilder<(string, string)>.Rent(); - IReadOnlyCollection invalidTypes; + IReadOnlyCollection invalidTypes; // Process the discovered types foreach (var type in HlslKnownTypes.GetCustomTypes(types, out invalidTypes)) @@ -789,4 +789,4 @@ partial class IShaderGenerator hlslSourceInfo.EntryPoint; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateGetDispatchIdMethod.Syntax.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateGetDispatchIdMethod.Syntax.cs index 974dcb73..59e59acd 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateGetDispatchIdMethod.Syntax.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateGetDispatchIdMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.__Internals; using Microsoft.CodeAnalysis.CSharp; @@ -94,4 +94,4 @@ partial class IShaderGenerator return Block(blockStatements); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateGetDispatchIdMethod.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateGetDispatchIdMethod.cs index 589a926d..8485f16a 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateGetDispatchIdMethod.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateGetDispatchIdMethod.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; @@ -28,4 +28,4 @@ partial class IShaderGenerator .ToImmutableArray(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadBytecodeMethod.Syntax.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadBytecodeMethod.Syntax.cs index 544c1189..14d68890 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadBytecodeMethod.Syntax.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadBytecodeMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; using ComputeSharp.__Internals; using ComputeSharp.SourceGeneration.Helpers; @@ -251,4 +251,4 @@ partial class IShaderGenerator return builder.ToString(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadBytecodeMethod.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadBytecodeMethod.cs index 61b70547..f27e9a7f 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadBytecodeMethod.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadBytecodeMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using System.ComponentModel; using System.Globalization; @@ -276,4 +276,4 @@ partial class IShaderGenerator } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.Syntax.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.Syntax.cs index 8684d2cc..2f704033 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.Syntax.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.__Internals; using ComputeSharp.SourceGeneration.Helpers; using ComputeSharp.SourceGenerators.Models; @@ -264,4 +264,4 @@ partial class IShaderGenerator return statements.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.cs index 298f27e4..07605072 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchDataMethod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -185,4 +185,4 @@ partial class IShaderGenerator } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchMetadataMethod.Syntax.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchMetadataMethod.Syntax.cs index a6807487..6e0be3b1 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchMetadataMethod.Syntax.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchMetadataMethod.Syntax.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Immutable; using System.Globalization; using ComputeSharp.__Internals; @@ -135,4 +135,4 @@ partial class IShaderGenerator return statements.ToImmutable(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchMetadataMethod.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchMetadataMethod.cs index c0f2a926..a611cfd5 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchMetadataMethod.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateLoadDispatchMetadataMethod.cs @@ -1,4 +1,4 @@ -using System.Collections.Immutable; +using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Helpers; using ComputeSharp.SourceGeneration.Mappings; using ComputeSharp.SourceGenerators.Models; @@ -63,4 +63,4 @@ partial class IShaderGenerator descriptors.ToImmutable()); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.Helpers.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.Helpers.cs index 62efe0a5..48b9fb0b 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.Helpers.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.Helpers.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using ComputeSharp.SourceGeneration.Models; using ComputeSharp.SourceGenerators.Models; @@ -94,4 +94,4 @@ partial class IShaderGenerator return hierarchyInfo.GetSyntax(methodDeclaration.AddAttributeLists(attributes.ToArray())); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.cs index f10dc388..569bd3ee 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -136,7 +136,7 @@ public sealed partial class IShaderGenerator : IIncrementalGenerator }); // Get the LoadDispatchData() info (hierarchy and dispatch data info) - IncrementalValuesProvider<((HierarchyInfo Hierarchy, DispatchDataInfo DispatchData) Info, bool CanUseSkipLocalsInit) > dispatchDataInfo = + IncrementalValuesProvider<((HierarchyInfo Hierarchy, DispatchDataInfo DispatchData) Info, bool CanUseSkipLocalsInit)> dispatchDataInfo = shaderInfoWithErrors .Select(static (item, _) => (item.Hierarchy, item.DispatchData)) .Combine(canUseSkipLocalsInit); @@ -244,4 +244,4 @@ public sealed partial class IShaderGenerator : IIncrementalGenerator context.AddSource($"{item.Info.Hierarchy.FilenameHint}.{nameof(LoadBytecode)}.g.cs", text); }); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownKeywords.cs b/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownKeywords.cs index 40ce2cbb..43e321e9 100644 --- a/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownKeywords.cs +++ b/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownKeywords.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace ComputeSharp.SourceGeneration.Mappings; @@ -14,4 +14,4 @@ internal static partial class HlslKnownKeywords knownKeywords.Add(nameof(GroupSize)); knownKeywords.Add(nameof(GridIds)); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownMethods.cs b/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownMethods.cs index b1f16b0b..3f83ba16 100644 --- a/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownMethods.cs +++ b/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownMethods.cs @@ -27,4 +27,4 @@ partial class HlslKnownMethods [$"ComputeSharp.IReadOnlyNormalizedTexture3D`1.Sample({typeof(Float3).FullName})"] = null }; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownProperties.cs b/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownProperties.cs index 531893de..5f8d6636 100644 --- a/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownProperties.cs +++ b/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownProperties.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; @@ -170,4 +170,4 @@ partial class HlslKnownProperties } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownTypes.cs b/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownTypes.cs index e8d318a6..ffb0235e 100644 --- a/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownTypes.cs +++ b/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownTypes.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using ComputeSharp.SourceGeneration.Extensions; @@ -38,8 +38,8 @@ partial class HlslKnownTypes { return typeName switch { - "ComputeSharp.ConstantBuffer`1" or - "ComputeSharp.ReadOnlyBuffer`1" or + "ComputeSharp.ConstantBuffer`1" or + "ComputeSharp.ReadOnlyBuffer`1" or "ComputeSharp.ReadWriteBuffer`1" => true, _ => false }; @@ -210,4 +210,4 @@ partial class HlslKnownTypes // Construct the HLSL type name return $"RWTexture2D"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/DispatchDataInfo.cs b/src/ComputeSharp.SourceGenerators/Models/DispatchDataInfo.cs index e733ea62..be18afd6 100644 --- a/src/ComputeSharp.SourceGenerators/Models/DispatchDataInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/DispatchDataInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -49,4 +49,4 @@ internal sealed record DispatchDataInfo( x.Root32BitConstantCount == y.Root32BitConstantCount; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/DispatchIdInfo.cs b/src/ComputeSharp.SourceGenerators/Models/DispatchIdInfo.cs index d0b590cb..e467bbe1 100644 --- a/src/ComputeSharp.SourceGenerators/Models/DispatchIdInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/DispatchIdInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -35,4 +35,4 @@ internal sealed record DispatchIdInfo(ImmutableArray Delegates) return x.Delegates.SequenceEqual(y.Delegates); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/DispatchMetadataInfo.cs b/src/ComputeSharp.SourceGenerators/Models/DispatchMetadataInfo.cs index 93ca74ff..cd163420 100644 --- a/src/ComputeSharp.SourceGenerators/Models/DispatchMetadataInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/DispatchMetadataInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; diff --git a/src/ComputeSharp.SourceGenerators/Models/EmbeddedBytecodeInfo.cs b/src/ComputeSharp.SourceGenerators/Models/EmbeddedBytecodeInfo.cs index ca2f6093..4de776d4 100644 --- a/src/ComputeSharp.SourceGenerators/Models/EmbeddedBytecodeInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/EmbeddedBytecodeInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -45,4 +45,4 @@ internal sealed record EmbeddedBytecodeInfo(int X, int Y, int Z, ImmutableArray< x.Bytecode.SequenceEqual(y.Bytecode); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/FieldInfo.cs b/src/ComputeSharp.SourceGenerators/Models/FieldInfo.cs index 44344c73..8db9efeb 100644 --- a/src/ComputeSharp.SourceGenerators/Models/FieldInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/FieldInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -139,4 +139,4 @@ internal abstract record FieldInfo } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/HlslMethodSourceInfo.cs b/src/ComputeSharp.SourceGenerators/Models/HlslMethodSourceInfo.cs index ca4b2921..695776bc 100644 --- a/src/ComputeSharp.SourceGenerators/Models/HlslMethodSourceInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/HlslMethodSourceInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -53,4 +53,4 @@ internal sealed record HlslMethodSourceInfo( x.DependentMethods.SequenceEqual(y.DependentMethods); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/HlslShaderSourceInfo.cs b/src/ComputeSharp.SourceGenerators/Models/HlslShaderSourceInfo.cs index bf44b779..f81ee744 100644 --- a/src/ComputeSharp.SourceGenerators/Models/HlslShaderSourceInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/HlslShaderSourceInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -89,4 +89,4 @@ internal sealed record HlslShaderSourceInfo( x.Delegates.SequenceEqual(y.Delegates); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/ResourceDescriptor.cs b/src/ComputeSharp.SourceGenerators/Models/ResourceDescriptor.cs index a1fd1553..791af20a 100644 --- a/src/ComputeSharp.SourceGenerators/Models/ResourceDescriptor.cs +++ b/src/ComputeSharp.SourceGenerators/Models/ResourceDescriptor.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SourceGenerators.Models; +namespace ComputeSharp.SourceGenerators.Models; /// /// A resource descriptor for a captured resource in a shader. @@ -6,4 +6,4 @@ /// The type id for the resource. /// The offset of the resource in its containing register. /// The offset of the resource descriptor in the shader root signature. -internal sealed record ResourceDescriptor(int TypeId, int RegisterOffset, int Offset); +internal sealed record ResourceDescriptor(int TypeId, int RegisterOffset, int Offset); \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/ShaderInfo.cs b/src/ComputeSharp.SourceGenerators/Models/ShaderInfo.cs index fa4613f3..f4736078 100644 --- a/src/ComputeSharp.SourceGenerators/Models/ShaderInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/ShaderInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -62,4 +62,4 @@ internal sealed record ShaderInfo( x.Diagnostcs.SequenceEqual(y.Diagnostcs); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/ShaderMethodInfo.cs b/src/ComputeSharp.SourceGenerators/Models/ShaderMethodInfo.cs index 0975348f..d006bd68 100644 --- a/src/ComputeSharp.SourceGenerators/Models/ShaderMethodInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/ShaderMethodInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using ComputeSharp.SourceGeneration.Extensions; @@ -40,4 +40,4 @@ internal sealed record ShaderMethodInfo(HlslMethodSourceInfo HlslMethodSource, I x.Diagnostcs.SequenceEqual(y.Diagnostcs); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Models/ShaderType.cs b/src/ComputeSharp.SourceGenerators/Models/ShaderType.cs index f70a62c0..9abb0833 100644 --- a/src/ComputeSharp.SourceGenerators/Models/ShaderType.cs +++ b/src/ComputeSharp.SourceGenerators/Models/ShaderType.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SourceGenerators.Models; +namespace ComputeSharp.SourceGenerators.Models; /// /// Indicates a type of shader being processed. diff --git a/src/ComputeSharp.SourceGenerators/Models/ThreadIdsInfo.cs b/src/ComputeSharp.SourceGenerators/Models/ThreadIdsInfo.cs index 4bca599b..aae33b3d 100644 --- a/src/ComputeSharp.SourceGenerators/Models/ThreadIdsInfo.cs +++ b/src/ComputeSharp.SourceGenerators/Models/ThreadIdsInfo.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SourceGenerators.Models; +namespace ComputeSharp.SourceGenerators.Models; /// /// A model representing gathered info on a embedded thread ids. @@ -7,4 +7,4 @@ /// The thread ids value for the X axis. /// The thread ids value for the Y axis. /// The thread ids value for the Z axis. -internal sealed record ThreadIdsInfo(bool IsDefault, int X, int Y, int Z); +internal sealed record ThreadIdsInfo(bool IsDefault, int X, int Y, int Z); \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/ShaderMethodSourceGenerator.cs b/src/ComputeSharp.SourceGenerators/ShaderMethodSourceGenerator.cs index 81356654..3cbea20c 100644 --- a/src/ComputeSharp.SourceGenerators/ShaderMethodSourceGenerator.cs +++ b/src/ComputeSharp.SourceGenerators/ShaderMethodSourceGenerator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -188,4 +188,4 @@ public sealed partial class ShaderMethodSourceGenerator : IIncrementalGenerator .NormalizeWhitespace(eol: "\n"); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/SyntaxRewriters/ExecuteMethodRewriter.cs b/src/ComputeSharp.SourceGenerators/SyntaxRewriters/ExecuteMethodRewriter.cs index e26a322c..9ca6de7f 100644 --- a/src/ComputeSharp.SourceGenerators/SyntaxRewriters/ExecuteMethodRewriter.cs +++ b/src/ComputeSharp.SourceGenerators/SyntaxRewriters/ExecuteMethodRewriter.cs @@ -1,4 +1,4 @@ -using ComputeSharp.SourceGeneration.SyntaxRewriters; +using ComputeSharp.SourceGeneration.SyntaxRewriters; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; @@ -194,4 +194,4 @@ internal abstract class ExecuteMethodRewriter : CSharpSyntaxRewriter return updatedNode; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs b/src/ComputeSharp.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs index 43ab1642..ca7ba361 100644 --- a/src/ComputeSharp.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs +++ b/src/ComputeSharp.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.SourceGeneration.Extensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; @@ -85,4 +85,4 @@ partial class ShaderSourceRewriter { // No special tracking is needed for DX12 compute shaders } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/SyntaxRewriters/StaticFieldRewriter.cs b/src/ComputeSharp.SourceGenerators/SyntaxRewriters/StaticFieldRewriter.cs index 30aa28fc..0d4e2695 100644 --- a/src/ComputeSharp.SourceGenerators/SyntaxRewriters/StaticFieldRewriter.cs +++ b/src/ComputeSharp.SourceGenerators/SyntaxRewriters/StaticFieldRewriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.SourceGeneration.Extensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; @@ -40,4 +40,4 @@ partial class StaticFieldRewriter { // No special tracking is needed for DX12 compute shaders } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Controls/AnimatedComputeShaderPanel.Properties.cs b/src/ComputeSharp.UI/Controls/AnimatedComputeShaderPanel.Properties.cs index b7b1556d..b0d16c94 100644 --- a/src/ComputeSharp.UI/Controls/AnimatedComputeShaderPanel.Properties.cs +++ b/src/ComputeSharp.UI/Controls/AnimatedComputeShaderPanel.Properties.cs @@ -1,4 +1,4 @@ -using System; +using System; #if WINDOWS_UWP using Windows.UI.Xaml; #else @@ -73,7 +73,7 @@ partial class AnimatedComputeShaderPanel private static void OnShaderRunnerPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { var @this = (AnimatedComputeShaderPanel)d; - + if (@this.IsLoaded && !@this.IsPaused && e.NewValue is IShaderRunner shaderRunner) @@ -206,4 +206,4 @@ partial class AnimatedComputeShaderPanel @this.swapChainManager.StopRenderLoop(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Controls/AnimatedComputeShaderPanel.cs b/src/ComputeSharp.UI/Controls/AnimatedComputeShaderPanel.cs index e940962a..ab611e3c 100644 --- a/src/ComputeSharp.UI/Controls/AnimatedComputeShaderPanel.cs +++ b/src/ComputeSharp.UI/Controls/AnimatedComputeShaderPanel.cs @@ -1,4 +1,4 @@ -using System; +using System; #if WINDOWS_UWP using ComputeSharp.Uwp.Helpers; using Windows.UI.Xaml; @@ -98,4 +98,4 @@ public sealed partial class AnimatedComputeShaderPanel : SwapChainPanel, IDispos this.swapChainManager.StopRenderLoop(); this.swapChainManager.Dispose(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Controls/ComputeShaderPanel.Properties.cs b/src/ComputeSharp.UI/Controls/ComputeShaderPanel.Properties.cs index 73c01768..841fa959 100644 --- a/src/ComputeSharp.UI/Controls/ComputeShaderPanel.Properties.cs +++ b/src/ComputeSharp.UI/Controls/ComputeShaderPanel.Properties.cs @@ -1,4 +1,4 @@ -using System; +using System; #if WINDOWS_UWP using Windows.UI.Xaml; #else @@ -206,4 +206,4 @@ partial class ComputeShaderPanel @this.swapChainManager.QueueVerticalSyncModeChange(isVerticalSyncEnabled); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Controls/ComputeShaderPanel.cs b/src/ComputeSharp.UI/Controls/ComputeShaderPanel.cs index fae6d793..a0edfa80 100644 --- a/src/ComputeSharp.UI/Controls/ComputeShaderPanel.cs +++ b/src/ComputeSharp.UI/Controls/ComputeShaderPanel.cs @@ -1,4 +1,4 @@ -using System; +using System; #if WINDOWS_UWP using ComputeSharp.Uwp.Helpers; using Windows.UI.Xaml; @@ -92,4 +92,4 @@ public sealed partial class ComputeShaderPanel : SwapChainPanel, IDisposable { this.swapChainManager.Dispose(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Controls/RenderingFailedEventArgs.cs b/src/ComputeSharp.UI/Controls/RenderingFailedEventArgs.cs index c4e13778..c65ee832 100644 --- a/src/ComputeSharp.UI/Controls/RenderingFailedEventArgs.cs +++ b/src/ComputeSharp.UI/Controls/RenderingFailedEventArgs.cs @@ -1,4 +1,4 @@ -using System; +using System; #if WINDOWS_UWP namespace ComputeSharp.Uwp; @@ -24,4 +24,4 @@ public sealed class RenderingFailedEventArgs : EventArgs /// Gets the that caused the rendering to fail. /// public Exception Exception { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Extensions/IDXGIAdapterExtensions.cs b/src/ComputeSharp.UI/Extensions/IDXGIAdapterExtensions.cs index 8244edde..a03fc851 100644 --- a/src/ComputeSharp.UI/Extensions/IDXGIAdapterExtensions.cs +++ b/src/ComputeSharp.UI/Extensions/IDXGIAdapterExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Core.Extensions; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -52,4 +52,4 @@ internal static unsafe class IDXGIAdapterExtensions return refreshRate; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Extensions/SemaphoreSlimExtensions.cs b/src/ComputeSharp.UI/Extensions/SemaphoreSlimExtensions.cs index fd2ab3d0..c8e9d134 100644 --- a/src/ComputeSharp.UI/Extensions/SemaphoreSlimExtensions.cs +++ b/src/ComputeSharp.UI/Extensions/SemaphoreSlimExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Threading; using System.Threading.Tasks; @@ -53,4 +53,4 @@ internal static class SemaphoreSlimExtensions this.semaphore.Release(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Helpers/DynamicResolutionManager.cs b/src/ComputeSharp.UI/Helpers/DynamicResolutionManager.cs index ac3b07ec..4e723c2e 100644 --- a/src/ComputeSharp.UI/Helpers/DynamicResolutionManager.cs +++ b/src/ComputeSharp.UI/Helpers/DynamicResolutionManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Threading; @@ -136,4 +136,4 @@ internal unsafe ref struct DynamicResolutionManager return false; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Helpers/SwapChainManager.Rendering.cs b/src/ComputeSharp.UI/Helpers/SwapChainManager.Rendering.cs index 1e4f6328..d59738bc 100644 --- a/src/ComputeSharp.UI/Helpers/SwapChainManager.Rendering.cs +++ b/src/ComputeSharp.UI/Helpers/SwapChainManager.Rendering.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; @@ -249,7 +249,7 @@ partial class SwapChainManager } OnResize(); - + if (OnUpdate(renderStopwatch.Elapsed, parameter)) { OnWaitForPresent(); @@ -441,4 +441,4 @@ partial class SwapChainManager this.renderCancellationTokenSource?.Cancel(); this.renderSemaphore.Wait(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/Helpers/SwapChainManager.cs b/src/ComputeSharp.UI/Helpers/SwapChainManager.cs index 279df0c2..996c25f0 100644 --- a/src/ComputeSharp.UI/Helpers/SwapChainManager.cs +++ b/src/ComputeSharp.UI/Helpers/SwapChainManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Runtime.CompilerServices; #if WINDOWS_UWP @@ -240,20 +240,20 @@ internal sealed unsafe partial class SwapChainManager : NativeObject // Extract the ISwapChainPanelNative reference from the current panel, then query the // IDXGISwapChain reference just created and set that as the swap chain panel to use. fixed (ISwapChainPanelNative** swapChainPanelNative = this.swapChainPanelNative) - using (ComPtr swapChainPanel = default) - { + using (ComPtr swapChainPanel = default) + { #if WINDOWS_UWP swapChainPanel.Attach((IUnknown*)Marshal.GetIUnknownForObject(owner)); swapChainPanel.CopyTo(swapChainPanelNative).Assert(); #else - swapChainPanel.Attach((IUnknown*)((IWinRTObject)owner).NativeObject.GetRef()); + swapChainPanel.Attach((IUnknown*)((IWinRTObject)owner).NativeObject.GetRef()); - swapChainPanel.CopyTo( - (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(new Guid(0x63AAD0B8, 0x7C24, 0x40FF, 0x85, 0xA8, 0x64, 0x0D, 0x94, 0x4C, 0xC3, 0x25))), - (void**)swapChainPanelNative).Assert(); + swapChainPanel.CopyTo( + (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(new Guid(0x63AAD0B8, 0x7C24, 0x40FF, 0x85, 0xA8, 0x64, 0x0D, 0x94, 0x4C, 0xC3, 0x25))), + (void**)swapChainPanelNative).Assert(); #endif - } + } // Get the underlying ID3D12Device in use fixed (ID3D12Device** d3D12Device = this.d3D12Device) @@ -580,4 +580,4 @@ internal sealed unsafe partial class SwapChainManager : NativeObject OnDisposeOnThreadPoolThread(this); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/IFrameRequestQueue.cs b/src/ComputeSharp.UI/IFrameRequestQueue.cs index 96677a27..59d0ebd6 100644 --- a/src/ComputeSharp.UI/IFrameRequestQueue.cs +++ b/src/ComputeSharp.UI/IFrameRequestQueue.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; #if WINDOWS_UWP namespace ComputeSharp.Uwp; @@ -36,4 +36,4 @@ public interface IFrameRequestQueue /// /// void Dequeue(out object? parameter, CancellationToken token); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/IShaderRunner.cs b/src/ComputeSharp.UI/IShaderRunner.cs index b6ebaf23..23e7d337 100644 --- a/src/ComputeSharp.UI/IShaderRunner.cs +++ b/src/ComputeSharp.UI/IShaderRunner.cs @@ -1,4 +1,4 @@ -using System; +using System; #if WINDOWS_UWP namespace ComputeSharp.Uwp; @@ -23,4 +23,4 @@ public interface IShaderRunner /// or to be raised. /// bool TryExecute(IReadWriteNormalizedTexture2D texture, TimeSpan timespan, object? parameter); -} +} \ No newline at end of file diff --git a/src/ComputeSharp.UI/ShaderRunner{T}.cs b/src/ComputeSharp.UI/ShaderRunner{T}.cs index da2d5fed..08bca82b 100644 --- a/src/ComputeSharp.UI/ShaderRunner{T}.cs +++ b/src/ComputeSharp.UI/ShaderRunner{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using CommunityToolkit.Diagnostics; #if WINDOWS_UWP @@ -70,4 +70,4 @@ public sealed class ShaderRunner : IShaderRunner return true; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs b/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs index f03c1078..5777bd26 100644 --- a/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs @@ -1,3 +1,3 @@ -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; [assembly: ComVisible(false)] \ No newline at end of file diff --git a/src/ComputeSharp/Core/Attributes/EmbeddedBytecodeAttribute.cs b/src/ComputeSharp/Core/Attributes/EmbeddedBytecodeAttribute.cs index 012cdd4c..ec80ea6f 100644 --- a/src/ComputeSharp/Core/Attributes/EmbeddedBytecodeAttribute.cs +++ b/src/ComputeSharp/Core/Attributes/EmbeddedBytecodeAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; #if !SOURCE_GENERATOR using CommunityToolkit.Diagnostics; #endif @@ -96,4 +96,4 @@ public sealed class EmbeddedBytecodeAttribute : Attribute /// Gets the number of threads in each thread group for the Z axis /// public int ThreadsZ { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Attributes/GroupSharedAttribute.cs b/src/ComputeSharp/Core/Attributes/GroupSharedAttribute.cs index ac35796d..e53897ef 100644 --- a/src/ComputeSharp/Core/Attributes/GroupSharedAttribute.cs +++ b/src/ComputeSharp/Core/Attributes/GroupSharedAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp; @@ -42,4 +42,4 @@ public sealed class GroupSharedAttribute : Attribute /// If , the thread group size will be used. /// public int? Size { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Dispatch/DispatchAxis.cs b/src/ComputeSharp/Core/Dispatch/DispatchAxis.cs index 7e95cd93..181b53b1 100644 --- a/src/ComputeSharp/Core/Dispatch/DispatchAxis.cs +++ b/src/ComputeSharp/Core/Dispatch/DispatchAxis.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// A to be used with to indicate the dispatch axis to precompile a shader for. @@ -66,4 +66,4 @@ public enum DispatchAxis /// This applies to using or . /// XYZ -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Dispatch/DispatchSize.cs b/src/ComputeSharp/Core/Dispatch/DispatchSize.cs index 60b7b696..60b05ba9 100644 --- a/src/ComputeSharp/Core/Dispatch/DispatchSize.cs +++ b/src/ComputeSharp/Core/Dispatch/DispatchSize.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp; @@ -207,4 +207,4 @@ public static class DispatchSize /// Gets an value with the components , , . /// public static Int3 ZZZ => throw new InvalidExecutionContextException($"{typeof(DispatchSize)}.{nameof(ZZZ)}"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Dispatch/GridIds.cs b/src/ComputeSharp/Core/Dispatch/GridIds.cs index c8e6ff5f..48c37a80 100644 --- a/src/ComputeSharp/Core/Dispatch/GridIds.cs +++ b/src/ComputeSharp/Core/Dispatch/GridIds.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp; @@ -202,4 +202,4 @@ public static class GridIds /// Gets an value with the components , , . /// public static Int3 ZZZ => throw new InvalidExecutionContextException($"{typeof(GridIds)}.{nameof(ZZZ)}"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Dispatch/GroupIds.cs b/src/ComputeSharp/Core/Dispatch/GroupIds.cs index 56eb5865..bd97efac 100644 --- a/src/ComputeSharp/Core/Dispatch/GroupIds.cs +++ b/src/ComputeSharp/Core/Dispatch/GroupIds.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp; @@ -207,4 +207,4 @@ public static class GroupIds /// Gets an value with the components , , . /// public static Int3 ZZZ => throw new InvalidExecutionContextException($"{typeof(GroupIds)}.{nameof(ZZZ)}"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Dispatch/GroupSize.cs b/src/ComputeSharp/Core/Dispatch/GroupSize.cs index da359a3e..84a7791d 100644 --- a/src/ComputeSharp/Core/Dispatch/GroupSize.cs +++ b/src/ComputeSharp/Core/Dispatch/GroupSize.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp; @@ -207,4 +207,4 @@ public static class GroupSize /// Gets an value with the components , , . /// public static Int3 ZZZ => throw new InvalidExecutionContextException($"{typeof(GroupSize)}.{nameof(ZZZ)}"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Dispatch/ThreadIds.Normalized.cs b/src/ComputeSharp/Core/Dispatch/ThreadIds.Normalized.cs index 79c366ba..df03886c 100644 --- a/src/ComputeSharp/Core/Dispatch/ThreadIds.Normalized.cs +++ b/src/ComputeSharp/Core/Dispatch/ThreadIds.Normalized.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp; @@ -219,4 +219,4 @@ partial class ThreadIds /// public static Float3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Normalized)}.{nameof(ZZZ)}"); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Dispatch/ThreadIds.cs b/src/ComputeSharp/Core/Dispatch/ThreadIds.cs index 29151b58..f931a086 100644 --- a/src/ComputeSharp/Core/Dispatch/ThreadIds.cs +++ b/src/ComputeSharp/Core/Dispatch/ThreadIds.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Exceptions; +using ComputeSharp.Exceptions; namespace ComputeSharp; @@ -202,4 +202,4 @@ public static partial class ThreadIds /// Gets an value with the components , , . /// public static Int3 ZZZ => throw new InvalidExecutionContextException($"{typeof(ThreadIds)}.{nameof(ZZZ)}"); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Extensions/FloatExtensions.cs b/src/ComputeSharp/Core/Extensions/FloatExtensions.cs index 83374084..f213d01c 100644 --- a/src/ComputeSharp/Core/Extensions/FloatExtensions.cs +++ b/src/ComputeSharp/Core/Extensions/FloatExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Numerics; using System.Runtime.InteropServices; @@ -68,4 +68,4 @@ public static class FloatExtensions { return MemoryMarshal.Cast(span); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Extensions/MethodInfoExtensions.cs b/src/ComputeSharp/Core/Extensions/MethodInfoExtensions.cs index 81d7dfa7..5e66a834 100644 --- a/src/ComputeSharp/Core/Extensions/MethodInfoExtensions.cs +++ b/src/ComputeSharp/Core/Extensions/MethodInfoExtensions.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Reflection; using System.Text.RegularExpressions; @@ -36,4 +36,4 @@ internal static class MethodInfoExtensions return $"{declaringType}.{methodName}({parameters})"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Extensions/VectorExtensions.cs b/src/ComputeSharp/Core/Extensions/VectorExtensions.cs index 2366067d..0cd7cb0e 100644 --- a/src/ComputeSharp/Core/Extensions/VectorExtensions.cs +++ b/src/ComputeSharp/Core/Extensions/VectorExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Numerics; using System.Runtime.InteropServices; @@ -68,4 +68,4 @@ public static class VectorExtensions { return MemoryMarshal.Cast(span); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Helpers/AlignmentHelper.cs b/src/ComputeSharp/Core/Helpers/AlignmentHelper.cs index 9c690131..6751bde4 100644 --- a/src/ComputeSharp/Core/Helpers/AlignmentHelper.cs +++ b/src/ComputeSharp/Core/Helpers/AlignmentHelper.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; namespace ComputeSharp.Core.Helpers; @@ -48,4 +48,4 @@ internal static class AlignmentHelper return (offset + alignment - 1) & ~(alignment - 1); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/Bgra32.cs b/src/ComputeSharp/Core/Imaging/Bgra32.cs index ffe235b9..00b55bc3 100644 --- a/src/ComputeSharp/Core/Imaging/Bgra32.cs +++ b/src/ComputeSharp/Core/Imaging/Bgra32.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -162,4 +162,4 @@ public struct Bgra32 : IEquatable, IPixel return destination.TryWrite(provider, $"{nameof(Bgra32)}({this.B}, {this.G}, {this.R}, {this.A})", out charsWritten); } #endif -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/Formats/ImageFormat.cs b/src/ComputeSharp/Core/Imaging/Formats/ImageFormat.cs index 218957e5..1a8819f2 100644 --- a/src/ComputeSharp/Core/Imaging/Formats/ImageFormat.cs +++ b/src/ComputeSharp/Core/Imaging/Formats/ImageFormat.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An representing a supported image format. @@ -34,4 +34,4 @@ public enum ImageFormat /// The DDS format. /// Dds -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/Interfaces/IPixel{T,TPixel}.cs b/src/ComputeSharp/Core/Imaging/Interfaces/IPixel{T,TPixel}.cs index 4a047881..5e285582 100644 --- a/src/ComputeSharp/Core/Imaging/Interfaces/IPixel{T,TPixel}.cs +++ b/src/ComputeSharp/Core/Imaging/Interfaces/IPixel{T,TPixel}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a pixel type and its normalized representation on the GPU side, when used within a shader. @@ -19,4 +19,4 @@ public interface IPixel /// and . /// TPixel ToPixel(); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/R16.cs b/src/ComputeSharp/Core/Imaging/R16.cs index f096e73b..83219979 100644 --- a/src/ComputeSharp/Core/Imaging/R16.cs +++ b/src/ComputeSharp/Core/Imaging/R16.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -98,4 +98,4 @@ public struct R16 : IEquatable, IPixel return destination.TryWrite(provider, $"{nameof(R16)}({this.R})", out charsWritten); } #endif -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/R8.cs b/src/ComputeSharp/Core/Imaging/R8.cs index e438980c..d38185d5 100644 --- a/src/ComputeSharp/Core/Imaging/R8.cs +++ b/src/ComputeSharp/Core/Imaging/R8.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -98,4 +98,4 @@ public struct R8 : IEquatable, IPixel return destination.TryWrite(provider, $"{nameof(R8)}({this.R})", out charsWritten); } #endif -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/Rg16.cs b/src/ComputeSharp/Core/Imaging/Rg16.cs index 97baee2c..7eb4d71a 100644 --- a/src/ComputeSharp/Core/Imaging/Rg16.cs +++ b/src/ComputeSharp/Core/Imaging/Rg16.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -105,4 +105,4 @@ public struct Rg16 : IEquatable, IPixel return destination.TryWrite(provider, $"{nameof(Rg16)}({this.R}, {this.G})", out charsWritten); } #endif -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/Rg32.cs b/src/ComputeSharp/Core/Imaging/Rg32.cs index 99742d81..cb1ec661 100644 --- a/src/ComputeSharp/Core/Imaging/Rg32.cs +++ b/src/ComputeSharp/Core/Imaging/Rg32.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -105,4 +105,4 @@ public struct Rg32 : IEquatable, IPixel return destination.TryWrite(provider, $"{nameof(Rg32)}({this.R}, {this.G})", out charsWritten); } #endif -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/Rgba32.cs b/src/ComputeSharp/Core/Imaging/Rgba32.cs index 595eea02..a30acff0 100644 --- a/src/ComputeSharp/Core/Imaging/Rgba32.cs +++ b/src/ComputeSharp/Core/Imaging/Rgba32.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -160,4 +160,4 @@ public struct Rgba32 : IEquatable, IPixel return destination.TryWrite(provider, $"{nameof(Rgba32)}({this.R}, {this.G}, {this.B}, {this.A})", out charsWritten); } #endif -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Imaging/Rgba64.cs b/src/ComputeSharp/Core/Imaging/Rgba64.cs index 0652aac0..a167775c 100644 --- a/src/ComputeSharp/Core/Imaging/Rgba64.cs +++ b/src/ComputeSharp/Core/Imaging/Rgba64.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -158,4 +158,4 @@ public struct Rgba64 : IEquatable, IPixel return destination.TryWrite(provider, $"{nameof(Rgba64)}({this.R}, {this.G}, {this.B}, {this.A})", out charsWritten); } #endif -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Interfaces/IComputeShader.cs b/src/ComputeSharp/Core/Interfaces/IComputeShader.cs index 24f0ad15..1b4e7727 100644 --- a/src/ComputeSharp/Core/Interfaces/IComputeShader.cs +++ b/src/ComputeSharp/Core/Interfaces/IComputeShader.cs @@ -1,4 +1,4 @@ -using ComputeSharp.__Internals; +using ComputeSharp.__Internals; #pragma warning disable CS0618 @@ -13,4 +13,4 @@ public interface IComputeShader : IShader /// Executes the current compute shader. /// void Execute(); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Interfaces/IPixelShader{TPixel}.cs b/src/ComputeSharp/Core/Interfaces/IPixelShader{TPixel}.cs index 9e15d6af..b12cf074 100644 --- a/src/ComputeSharp/Core/Interfaces/IPixelShader{TPixel}.cs +++ b/src/ComputeSharp/Core/Interfaces/IPixelShader{TPixel}.cs @@ -1,4 +1,4 @@ -using ComputeSharp.__Internals; +using ComputeSharp.__Internals; #pragma warning disable CS0618 @@ -15,4 +15,4 @@ public interface IPixelShader : IShader /// /// The pixel value for the current invocation. TPixel Execute(); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Interfaces/__Internals/IBytecodeLoader.cs b/src/ComputeSharp/Core/Interfaces/__Internals/IBytecodeLoader.cs index 1ca5ee68..e3dbc4b3 100644 --- a/src/ComputeSharp/Core/Interfaces/__Internals/IBytecodeLoader.cs +++ b/src/ComputeSharp/Core/Interfaces/__Internals/IBytecodeLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.__Internals; @@ -24,4 +24,4 @@ public interface IBytecodeLoader /// The shader bytecode. /// Thrown if the shader has already been initialized. void LoadEmbeddedBytecode(ReadOnlySpan bytecode); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Interfaces/__Internals/IDispatchDataLoader.cs b/src/ComputeSharp/Core/Interfaces/__Internals/IDispatchDataLoader.cs index 98d5a513..9fddceaf 100644 --- a/src/ComputeSharp/Core/Interfaces/__Internals/IDispatchDataLoader.cs +++ b/src/ComputeSharp/Core/Interfaces/__Internals/IDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.__Internals; @@ -21,4 +21,4 @@ public interface IDispatchDataLoader /// /// The sequence of serialized resources. void LoadCapturedResources(ReadOnlySpan data); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Interfaces/__Internals/IDispatchMetadataLoader.cs b/src/ComputeSharp/Core/Interfaces/__Internals/IDispatchMetadataLoader.cs index 41d11b88..0e455379 100644 --- a/src/ComputeSharp/Core/Interfaces/__Internals/IDispatchMetadataLoader.cs +++ b/src/ComputeSharp/Core/Interfaces/__Internals/IDispatchMetadataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.__Internals; @@ -17,4 +17,4 @@ public interface IDispatchMetadataLoader /// The sequence of resource descriptors for the current shader. /// The resulting opaque metadata handle. void LoadMetadataHandle(ReadOnlySpan serializedMetadata, ReadOnlySpan resourceDescriptors, out IntPtr result); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Core/Interfaces/__Internals/IShader.cs b/src/ComputeSharp/Core/Interfaces/__Internals/IShader.cs index e0d69b91..be0cc8af 100644 --- a/src/ComputeSharp/Core/Interfaces/__Internals/IShader.cs +++ b/src/ComputeSharp/Core/Interfaces/__Internals/IShader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace ComputeSharp.__Internals; @@ -67,4 +67,4 @@ public interface IShader [Obsolete("This method is not intended to be used directly by user code")] void LoadBytecode(ref TLoader loader, int threadsX, int threadsY, int threadsZ) where TLoader : struct, IBytecodeLoader; -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Commands/CommandList.cs b/src/ComputeSharp/Graphics/Commands/CommandList.cs index 15381bbe..ade72ef0 100644 --- a/src/ComputeSharp/Graphics/Commands/CommandList.cs +++ b/src/ComputeSharp/Graphics/Commands/CommandList.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Threading.Tasks; @@ -163,4 +163,4 @@ internal unsafe struct CommandList : IDisposable this.d3D12CommandAllocator.Dispose(); this.d3D12GraphicsCommandList.Dispose(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs index cd46d8d1..1f6e835e 100644 --- a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs +++ b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; @@ -145,4 +145,4 @@ internal readonly unsafe struct ID3D12CommandListPool : IDisposable D3D12CommandAllocator = d3D12CommandAllocator; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs index 02989353..f5cc3aa7 100644 --- a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs +++ b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs @@ -1,4 +1,4 @@ -using System; +using System; using CommunityToolkit.Diagnostics; using ComputeSharp.Graphics.Extensions; using TerraFX.Interop.DirectX; @@ -140,4 +140,4 @@ internal unsafe struct ID3D12DescriptorHandleAllocator : IDisposable this.d3D12DescriptorHeap.Dispose(); this.d3D12DescriptorHeapNonShaderVisible.Dispose(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs index e416d833..7817ae78 100644 --- a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs +++ b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs @@ -1,4 +1,4 @@ -using TerraFX.Interop.DirectX; +using TerraFX.Interop.DirectX; namespace ComputeSharp.Graphics.Commands.Interop; @@ -37,4 +37,4 @@ internal readonly struct ID3D12ResourceDescriptorHandles D3D12GpuDescriptorHandle = d3D12GpuDescriptorHandle; D3D12CpuDescriptorHandleNonShaderVisible = d3D12CpuDescriptorHandleNonShaderVisible; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/DeviceLostEventArgs.cs b/src/ComputeSharp/Graphics/DeviceLostEventArgs.cs index f817501f..f3fb24aa 100644 --- a/src/ComputeSharp/Graphics/DeviceLostEventArgs.cs +++ b/src/ComputeSharp/Graphics/DeviceLostEventArgs.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp; @@ -20,4 +20,4 @@ public sealed class DeviceLostEventArgs : EventArgs /// Gets the reason that caused the device to be lost. /// public DeviceLostReason Reason { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/DeviceLostReason.cs b/src/ComputeSharp/Graphics/DeviceLostReason.cs index b27f1132..6eed0e47 100644 --- a/src/ComputeSharp/Graphics/DeviceLostReason.cs +++ b/src/ComputeSharp/Graphics/DeviceLostReason.cs @@ -1,4 +1,4 @@ -using TerraFX.Interop.DirectX; +using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; namespace ComputeSharp; @@ -47,4 +47,4 @@ public enum DeviceLostReason /// The device was lost for an unspecified reason. /// UnspecifiedError = E.E_FAIL -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Exceptions/GraphicsDeviceMismatchException.cs b/src/ComputeSharp/Graphics/Exceptions/GraphicsDeviceMismatchException.cs index 2569600e..d434713a 100644 --- a/src/ComputeSharp/Graphics/Exceptions/GraphicsDeviceMismatchException.cs +++ b/src/ComputeSharp/Graphics/Exceptions/GraphicsDeviceMismatchException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; using ComputeSharp.Interop; using ComputeSharp.Resources; @@ -138,4 +138,4 @@ public sealed class GraphicsDeviceMismatchException : InvalidOperationException { throw Create(texture, texture.GraphicsDevice, device); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Exceptions/UnsupportedDoubleOperationsException.cs b/src/ComputeSharp/Graphics/Exceptions/UnsupportedDoubleOperationsException.cs index 5a6414b2..fd1dd913 100644 --- a/src/ComputeSharp/Graphics/Exceptions/UnsupportedDoubleOperationsException.cs +++ b/src/ComputeSharp/Graphics/Exceptions/UnsupportedDoubleOperationsException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; namespace ComputeSharp.Exceptions; @@ -43,4 +43,4 @@ public sealed class UnsupportedDoubleOperationException : NotSupportedException { throw Create(typeof(T)); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Exceptions/UnsupportedTextureTypeException.cs b/src/ComputeSharp/Graphics/Exceptions/UnsupportedTextureTypeException.cs index bc4f9353..6e77879b 100644 --- a/src/ComputeSharp/Graphics/Exceptions/UnsupportedTextureTypeException.cs +++ b/src/ComputeSharp/Graphics/Exceptions/UnsupportedTextureTypeException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; using CommunityToolkit.Diagnostics; @@ -73,4 +73,4 @@ public sealed class UnsupportedTextureTypeException : NotSupportedException { throw Create(3, typeof(T)); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs b/src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs index 6045ba1e..f5990fc8 100644 --- a/src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; @@ -241,4 +241,4 @@ public static class BufferExtensions source.CopyTo(destination, sourceOffset, destinationOffset, count); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/GraphicsDeviceExtensions.Dispatching.cs b/src/ComputeSharp/Graphics/Extensions/GraphicsDeviceExtensions.Dispatching.cs index 4b85af2b..722c39c2 100644 --- a/src/ComputeSharp/Graphics/Extensions/GraphicsDeviceExtensions.Dispatching.cs +++ b/src/ComputeSharp/Graphics/Extensions/GraphicsDeviceExtensions.Dispatching.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; namespace ComputeSharp; @@ -156,4 +156,4 @@ public static partial class GraphicsDeviceExtensions return new(device); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/GraphicsDeviceExtensions.Resources.cs b/src/ComputeSharp/Graphics/Extensions/GraphicsDeviceExtensions.Resources.cs index 0e2c8834..320d05dc 100644 --- a/src/ComputeSharp/Graphics/Extensions/GraphicsDeviceExtensions.Resources.cs +++ b/src/ComputeSharp/Graphics/Extensions/GraphicsDeviceExtensions.Resources.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using System.IO; using CommunityToolkit.Diagnostics; @@ -1820,4 +1820,4 @@ partial class GraphicsDeviceExtensions return WICHelper.Instance.LoadTexture(device, stream); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/AllocatorExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/AllocatorExtensions.cs index c765cd21..93f1deb9 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/AllocatorExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/AllocatorExtensions.cs @@ -1,4 +1,4 @@ -#if NET6_0_OR_GREATER +#if NET6_0_OR_GREATER using CommunityToolkit.Diagnostics; using ComputeSharp.Core.Extensions; @@ -250,4 +250,4 @@ internal static unsafe class AllocatorExtensions } } -#endif +#endif \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs index 40e28633..0b14b7fe 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using TerraFX.Interop.Windows; namespace ComputeSharp.Core.Extensions; @@ -113,4 +113,4 @@ internal static class ComPtrExtensions return copy; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs index 229c5ac4..77710d00 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; @@ -92,4 +92,4 @@ internal static class HRESULTExtensions DXGI.DXGI_ERROR_INVALID_CALL or DXGI.DXGI_ERROR_ACCESS_DENIED; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs index 8246cc6f..08c1e529 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; #if NET6_0_OR_GREATER using System.Runtime.CompilerServices; #else @@ -768,4 +768,4 @@ internal static unsafe class ID3D12DeviceExtensions return d3D12ShaderModel.HighestShaderModel == d3DShaderModel; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs index ba806042..b8f66857 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using TerraFX.Interop.DirectX; namespace ComputeSharp.Graphics.Extensions; @@ -295,4 +295,4 @@ internal static unsafe class ID3D12GraphicsCommandListExtensions d3D12GraphicsCommandList.SetComputeRoot32BitConstants(0, (uint)data.Length, p, 0); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs index fdca3723..41a395fc 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; @@ -55,4 +55,4 @@ internal static unsafe class ID3D12ResourceExtensions d3D12Resource.SetName((ushort*)p).Assert(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs index 76c15576..cb36ca81 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -462,4 +462,4 @@ unsafe partial class IWICStreamExtensions return STG_E_INVALIDFUNCTION; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs index dc664ea7..5d0c062b 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -596,4 +596,4 @@ internal static unsafe partial class IWICStreamExtensions return STG_E_INVALIDFUNCTION; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/ReadBackBufferExtensions.cs b/src/ComputeSharp/Graphics/Extensions/ReadBackBufferExtensions.cs index 0940cf5d..b35105da 100644 --- a/src/ComputeSharp/Graphics/Extensions/ReadBackBufferExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/ReadBackBufferExtensions.cs @@ -1,4 +1,4 @@ -using CommunityToolkit.Diagnostics; +using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; namespace ComputeSharp; @@ -40,4 +40,4 @@ public static class ReadBackBufferExtensions source.CopyTo(destination, sourceOffset, destinationOffset, count); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/ReadBackTexture1DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/ReadBackTexture1DExtensions.cs index 1c22347a..7720a3fd 100644 --- a/src/ComputeSharp/Graphics/Extensions/ReadBackTexture1DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/ReadBackTexture1DExtensions.cs @@ -1,4 +1,4 @@ -using CommunityToolkit.Diagnostics; +using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; namespace ComputeSharp; @@ -57,4 +57,4 @@ public static class ReadBackTexture1DExtensions source.CopyTo(destination, sourceOffsetX, destinationOffsetX, width); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/ReadBackTexture2DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/ReadBackTexture2DExtensions.cs index 1d54bc19..fd196cca 100644 --- a/src/ComputeSharp/Graphics/Extensions/ReadBackTexture2DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/ReadBackTexture2DExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.IO; using CommunityToolkit.Diagnostics; @@ -127,4 +127,4 @@ public static class ReadBackTexture2DExtensions WICHelper.Instance.SaveTexture(texture.View, writer, format); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/ReadBackTexture3DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/ReadBackTexture3DExtensions.cs index 76d35750..ab07892a 100644 --- a/src/ComputeSharp/Graphics/Extensions/ReadBackTexture3DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/ReadBackTexture3DExtensions.cs @@ -1,4 +1,4 @@ -using CommunityToolkit.Diagnostics; +using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; namespace ComputeSharp; @@ -67,4 +67,4 @@ public static class ReadBackTexture3DExtensions source.CopyTo(destination, sourceOffsetX, sourceOffsetY, sourceOffsetZ, destinationOffsetX, destinationOffsetY, destinationOffsetZ, width, height, depth); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture1DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture1DExtensions.cs index 5c540d7e..565cdb04 100644 --- a/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture1DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture1DExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using CommunityToolkit.Diagnostics; namespace ComputeSharp; @@ -141,4 +141,4 @@ public static class ReadWriteTexture1DExtensions return texture.AsReadOnly(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture2DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture2DExtensions.cs index f301580f..efa1f2da 100644 --- a/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture2DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture2DExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using CommunityToolkit.Diagnostics; namespace ComputeSharp; @@ -141,4 +141,4 @@ public static class ReadWriteTexture2DExtensions return texture.AsReadOnly(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture3DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture3DExtensions.cs index 3bb33cfd..bc0621ab 100644 --- a/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture3DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/ReadWriteTexture3DExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using CommunityToolkit.Diagnostics; namespace ComputeSharp; @@ -141,4 +141,4 @@ public static class ReadWriteTexture3DExtensions return texture.AsReadOnly(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/StructuredBufferExtensions.cs b/src/ComputeSharp/Graphics/Extensions/StructuredBufferExtensions.cs index 1166042e..087201a9 100644 --- a/src/ComputeSharp/Graphics/Extensions/StructuredBufferExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/StructuredBufferExtensions.cs @@ -1,4 +1,4 @@ -using CommunityToolkit.Diagnostics; +using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; namespace ComputeSharp; @@ -73,4 +73,4 @@ public static class StructuredBufferExtensions source.CopyTo(destination, sourceOffset, destinationOffset, count); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Texture1DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Texture1DExtensions.cs index 55c7f2fe..6c01b6fc 100644 --- a/src/ComputeSharp/Graphics/Extensions/Texture1DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Texture1DExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; @@ -541,4 +541,4 @@ public static class Texture1DExtensions destination.CopyFrom(source, sourceOffsetX, destinationOffsetX, width); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Texture2DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Texture2DExtensions.cs index 68b845c5..3605e376 100644 --- a/src/ComputeSharp/Graphics/Extensions/Texture2DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Texture2DExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.IO; using System.Runtime.InteropServices; @@ -694,4 +694,4 @@ public static class Texture2DExtensions WICHelper.Instance.SaveTexture(readback.View, writer, format); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/Texture3DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Texture3DExtensions.cs index 1693ecf9..e523b440 100644 --- a/src/ComputeSharp/Graphics/Extensions/Texture3DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Texture3DExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; @@ -619,4 +619,4 @@ public static class Texture3DExtensions destination.CopyFrom(source, sourceOffsetX, sourceOffsetY, sourceOffsetZ, destinationOffsetX, destinationOffsetY, destinationOffsetZ, width, height, depth); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/UploadBufferExtensions.cs b/src/ComputeSharp/Graphics/Extensions/UploadBufferExtensions.cs index 118eeb9e..35de31cc 100644 --- a/src/ComputeSharp/Graphics/Extensions/UploadBufferExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/UploadBufferExtensions.cs @@ -1,4 +1,4 @@ -using CommunityToolkit.Diagnostics; +using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; namespace ComputeSharp; @@ -40,4 +40,4 @@ public static class UploadBufferExtensions destination.CopyFrom(source, sourceOffset, destinationOffset, count); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/UploadTexture1DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/UploadTexture1DExtensions.cs index 87f160f9..ef1d9844 100644 --- a/src/ComputeSharp/Graphics/Extensions/UploadTexture1DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/UploadTexture1DExtensions.cs @@ -1,4 +1,4 @@ -using CommunityToolkit.Diagnostics; +using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; namespace ComputeSharp; @@ -57,4 +57,4 @@ public static class UploadTexture1DExtensions destination.CopyFrom(source, sourceOffsetX, destinationOffsetX, width); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/UploadTexture2DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/UploadTexture2DExtensions.cs index 1cd16e05..ac2a4273 100644 --- a/src/ComputeSharp/Graphics/Extensions/UploadTexture2DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/UploadTexture2DExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using CommunityToolkit.Diagnostics; using ComputeSharp.Graphics.Helpers; @@ -78,7 +78,7 @@ public static class UploadTexture2DExtensions Guard.IsNotNull(texture); Guard.IsNotNull(filename); - texture. Load(filename.AsSpan()); + texture.Load(filename.AsSpan()); } /// @@ -124,4 +124,4 @@ public static class UploadTexture2DExtensions WICHelper.Instance.LoadTexture(texture.View, stream); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Extensions/UploadTexture3DExtensions.cs b/src/ComputeSharp/Graphics/Extensions/UploadTexture3DExtensions.cs index 43e54cbc..6590c16e 100644 --- a/src/ComputeSharp/Graphics/Extensions/UploadTexture3DExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/UploadTexture3DExtensions.cs @@ -1,4 +1,4 @@ -using CommunityToolkit.Diagnostics; +using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; namespace ComputeSharp; @@ -67,4 +67,4 @@ public static class UploadTexture3DExtensions destination.CopyFrom(source, sourceOffsetX, sourceOffsetY, sourceOffsetZ, destinationOffsetX, destinationOffsetY, destinationOffsetZ, width, height, depth); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs b/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs index 1bd8209a..fd106449 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; @@ -193,4 +193,4 @@ unsafe partial class GraphicsDevice device.QueueRaiseDeviceLostEventIfNeeded(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs b/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs index 239c9cbc..8227eb55 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -341,4 +341,4 @@ unsafe partial class GraphicsDevice this.manualResetValueTaskSource.OnCompleted(continuation, state, token, flags); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.GetDevice.cs b/src/ComputeSharp/Graphics/GraphicsDevice.GetDevice.cs index e17a64dd..a4fe798e 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.GetDevice.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.GetDevice.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using CommunityToolkit.Diagnostics; using ComputeSharp.Graphics.Helpers; @@ -75,4 +75,4 @@ partial class GraphicsDevice return new DeviceHelper.DeviceQuery(predicate); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.cs b/src/ComputeSharp/Graphics/GraphicsDevice.cs index 71895039..48f354d4 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; @@ -508,4 +508,4 @@ public sealed unsafe partial class GraphicsDevice : NativeObject { return $"[{Luid}] {Name}"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs b/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs index d66a86c5..67556760 100644 --- a/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs +++ b/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs @@ -1,4 +1,4 @@ -using TerraFX.Interop.DirectX; +using TerraFX.Interop.DirectX; using static TerraFX.Interop.DirectX.DXGI_ADAPTER_FLAG; namespace ComputeSharp; @@ -46,4 +46,4 @@ public readonly struct GraphicsDeviceInfo /// This value is for software fallback devices. /// public bool IsHardwareAccelerated { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs b/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs index 8bff94ef..145ea453 100644 --- a/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs @@ -1,4 +1,4 @@ -using System.Numerics; +using System.Numerics; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using TerraFX.Interop.DirectX; @@ -85,7 +85,7 @@ internal static class DXGIFormatHelper { return true; } - + return ThrowHelper.ThrowArgumentException("Invalid texture type."); } @@ -109,4 +109,4 @@ internal static class DXGIFormatHelper return result; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs index 87296d33..fed46ff2 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using ComputeSharp.Core.Extensions; @@ -213,4 +213,4 @@ partial class DeviceHelper } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs index cd010295..6861635a 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Runtime.CompilerServices; using ComputeSharp.Graphics.Extensions; using TerraFX.Interop.DirectX; @@ -110,4 +110,4 @@ partial class DeviceHelper } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs index 313d92fa..b9c0a2b8 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; using CommunityToolkit.Diagnostics; @@ -180,4 +180,4 @@ partial class DeviceHelper return hasErrorsOrWarnings; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs index 67c91793..1384e735 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using ComputeSharp.Core.Extensions; using TerraFX.Interop.DirectX; @@ -234,4 +234,4 @@ partial class DeviceHelper return @this->dxgiFactory4->EnumAdapters1(Adapter, (IDXGIAdapter1**)ppvAdapter); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs index 54ae9364..2743edc6 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using CommunityToolkit.Diagnostics; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; @@ -140,7 +140,7 @@ internal static partial class DeviceHelper using ComPtr dxgiAdapter1 = default; dxgiFactory6.Get()->EnumWarpAdapter(Windows.__uuidof(), dxgiAdapter1.GetVoidAddressOf()).Assert(); - + dxgiAdapter1.Get()->GetDesc1(dxgiDescription1).Assert(); using ComPtr d3D12DeviceCandidate = default; @@ -167,4 +167,4 @@ internal static partial class DeviceHelper return false; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/MemoryHelper.cs b/src/ComputeSharp/Graphics/Helpers/MemoryHelper.cs index 8b9597c3..6109b4a2 100644 --- a/src/ComputeSharp/Graphics/Helpers/MemoryHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/MemoryHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; namespace ComputeSharp.Graphics.Helpers; @@ -101,7 +101,7 @@ internal static class MemoryHelper uint count) { void* sourceEnd = (byte*)source + count * sourceElementPitchInBytes; - + while (source < sourceEnd) { *(T*)destination = *(T*)source; @@ -266,4 +266,4 @@ internal static class MemoryHelper } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/TypeInfo{T}.cs b/src/ComputeSharp/Graphics/Helpers/TypeInfo{T}.cs index 5f113201..4c86b466 100644 --- a/src/ComputeSharp/Graphics/Helpers/TypeInfo{T}.cs +++ b/src/ComputeSharp/Graphics/Helpers/TypeInfo{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; @@ -39,4 +39,4 @@ internal static class TypeInfo return false; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs b/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs index ac8beb0d..1174e766 100644 --- a/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using TerraFX.Interop.Windows; @@ -148,4 +148,4 @@ internal static class WICFormatHelper _ => ThrowHelper.ThrowArgumentException("Invalid format."), }; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/WICHelper.cs b/src/ComputeSharp/Graphics/Helpers/WICHelper.cs index c984e550..6d072396 100644 --- a/src/ComputeSharp/Graphics/Helpers/WICHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/WICHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.IO; using System.Runtime.CompilerServices; @@ -527,4 +527,4 @@ internal sealed unsafe class WICHelper wicBitmapFrameEncode.Get()->Commit(); wicBitmapEncoder->Commit(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Helpers/__Internals/GraphicsResourceHelper.cs b/src/ComputeSharp/Graphics/Helpers/__Internals/GraphicsResourceHelper.cs index 1bc7e9f6..a9afcefb 100644 --- a/src/ComputeSharp/Graphics/Helpers/__Internals/GraphicsResourceHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/__Internals/GraphicsResourceHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; @@ -414,4 +414,4 @@ public static class GraphicsResourceHelper return ThrowHelper.ThrowArgumentException("The input texture is not a valid instance."); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Interop/InteropServices.cs b/src/ComputeSharp/Graphics/Interop/InteropServices.cs index f2847c0e..b1fe768c 100644 --- a/src/ComputeSharp/Graphics/Interop/InteropServices.cs +++ b/src/ComputeSharp/Graphics/Interop/InteropServices.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using ComputeSharp.Core.Extensions; using ComputeSharp.Resources; @@ -330,4 +330,4 @@ public static unsafe class InteropServices return texture.D3D12Resource->QueryInterface(riid, ppvObject); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Interop/NativeObject.ReferenceTracking.cs b/src/ComputeSharp/Graphics/Interop/NativeObject.ReferenceTracking.cs index 36e926cf..c4f7b450 100644 --- a/src/ComputeSharp/Graphics/Interop/NativeObject.ReferenceTracking.cs +++ b/src/ComputeSharp/Graphics/Interop/NativeObject.ReferenceTracking.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Threading; @@ -223,4 +223,4 @@ partial class NativeObject } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Interop/NativeObject.cs b/src/ComputeSharp/Graphics/Interop/NativeObject.cs index d3eec5c2..30028508 100644 --- a/src/ComputeSharp/Graphics/Interop/NativeObject.cs +++ b/src/ComputeSharp/Graphics/Interop/NativeObject.cs @@ -48,4 +48,4 @@ public abstract partial class NativeObject : IDisposable /// /// This method is guaranteed to only ever be called once for a given tracked object. private protected abstract void OnDispose(); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Luid.cs b/src/ComputeSharp/Graphics/Luid.cs index 42c9286a..03dec9c0 100644 --- a/src/ComputeSharp/Graphics/Luid.cs +++ b/src/ComputeSharp/Graphics/Luid.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using TerraFX.Interop.Windows; @@ -100,4 +100,4 @@ public readonly struct Luid : IEquatable { return !a.Equals(b); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs index 05fd79ee..136d7284 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs @@ -1,4 +1,4 @@ -using System.Buffers; +using System.Buffers; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; @@ -252,4 +252,4 @@ public unsafe abstract class Buffer : NativeObject, IGraphicsResource return D3D12Resource; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs index 9ec2c94b..13d07de9 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; using CommunityToolkit.Diagnostics; using ComputeSharp.Graphics.Commands; using ComputeSharp.Graphics.Extensions; @@ -239,17 +239,17 @@ public abstract class StructuredBuffer : Buffer #else using (ID3D12ResourceMap resource = d3D12Resource.Get()->Map()) #endif - fixed (void* sourcePointer = &source) - { - MemoryHelper.Copy( - source: sourcePointer, - destination: resource.Pointer, - sourceElementOffset: 0, - destinationElementOffset: 0, - sourceElementPitchInBytes: (uint)sizeof(T), - destinationElementPitchInBytes: (uint)sizeof(T), - count: (uint)length); - } + fixed (void* sourcePointer = &source) + { + MemoryHelper.Copy( + source: sourcePointer, + destination: resource.Pointer, + sourceElementOffset: 0, + destinationElementOffset: 0, + sourceElementPitchInBytes: (uint)sizeof(T), + destinationElementPitchInBytes: (uint)sizeof(T), + count: (uint)length); + } using CommandList copyCommandList = new(GraphicsDevice, D3D12_COMMAND_LIST_TYPE_COPY); @@ -311,4 +311,4 @@ public abstract class StructuredBuffer : Buffer copyCommandList.ExecuteAndWaitForCompletion(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs index daf616b7..5c902627 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using ComputeSharp.__Internals; @@ -389,14 +389,14 @@ public unsafe abstract class Texture1D : NativeObject, IGraphicsResource, Gra #endif using (ID3D12ResourceMap resource = d3D12Resource.Get()->Map()) - fixed (void* sourcePointer = &source) - { - Buffer.MemoryCopy( - source: sourcePointer, - destination: resource.Pointer, - destinationSizeInBytes: rowSizeInBytes, - sourceBytesToCopy: rowSizeInBytes); - } + fixed (void* sourcePointer = &source) + { + Buffer.MemoryCopy( + source: sourcePointer, + destination: resource.Pointer, + destinationSizeInBytes: rowSizeInBytes, + sourceBytesToCopy: rowSizeInBytes); + } using CommandList copyCommandList = new(GraphicsDevice, this.d3D12CommandListType); @@ -595,4 +595,4 @@ public unsafe abstract class Texture1D : NativeObject, IGraphicsResource, Gra { return ValidateAndGetID3D12ResourceAndTransitionStates(device, resourceState, out d3D12Resource, out lease); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs index 65d237f1..d1b9e5fd 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using ComputeSharp.__Internals; @@ -430,15 +430,15 @@ public unsafe abstract class Texture2D : NativeObject, IGraphicsResource, Gra #endif using (ID3D12ResourceMap resource = d3D12Resource.Get()->Map()) - fixed (void* sourcePointer = &source) - { - MemoryHelper.Copy( - sourcePointer, - resource.Pointer, - (uint)height, - rowSizeInBytes, - d3D12PlacedSubresourceFootprintSource.Footprint.RowPitch); - } + fixed (void* sourcePointer = &source) + { + MemoryHelper.Copy( + sourcePointer, + resource.Pointer, + (uint)height, + rowSizeInBytes, + d3D12PlacedSubresourceFootprintSource.Footprint.RowPitch); + } using CommandList copyCommandList = new(GraphicsDevice, this.d3D12CommandListType); @@ -646,4 +646,4 @@ public unsafe abstract class Texture2D : NativeObject, IGraphicsResource, Gra { return ValidateAndGetID3D12ResourceAndTransitionStates(device, resourceState, out d3D12Resource, out lease); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs index 8f36b574..65ff0dba 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using ComputeSharp.__Internals; @@ -472,17 +472,17 @@ public unsafe abstract class Texture3D : NativeObject, IGraphicsResource, Gra #endif using (ID3D12ResourceMap resource = d3D12Resource.Get()->Map()) - fixed (void* sourcePointer = &source) - { - MemoryHelper.Copy( - sourcePointer, - resource.Pointer, - (uint)height, - (uint)depth, - rowSizeInBytes, - d3D12PlacedSubresourceFootprintSource.Footprint.RowPitch, - d3D12PlacedSubresourceFootprintSource.Footprint.RowPitch * (uint)height); - } + fixed (void* sourcePointer = &source) + { + MemoryHelper.Copy( + sourcePointer, + resource.Pointer, + (uint)height, + (uint)depth, + rowSizeInBytes, + d3D12PlacedSubresourceFootprintSource.Footprint.RowPitch, + d3D12PlacedSubresourceFootprintSource.Footprint.RowPitch * (uint)height); + } using CommandList copyCommandList = new(GraphicsDevice, this.d3D12CommandListType); @@ -699,4 +699,4 @@ public unsafe abstract class Texture3D : NativeObject, IGraphicsResource, Gra { return ValidateAndGetID3D12ResourceAndTransitionStates(device, resourceState, out d3D12Resource, out lease); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs index 33f3efcf..032ac0b3 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; @@ -199,4 +199,4 @@ public abstract unsafe class TransferBuffer : NativeObject, IGraphicsResource { } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs index 63058466..426368c2 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; @@ -204,4 +204,4 @@ public unsafe abstract class TransferTexture1D : NativeObject, IGraphicsResou { } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs index 05bc33e4..523e0fd1 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Extensions; @@ -146,4 +146,4 @@ public unsafe abstract class TransferTexture2D : NativeObject, IGraphicsResou GraphicsDeviceMismatchException.Throw(this, device); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs index 701399b1..65f202b4 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Extensions; @@ -154,4 +154,4 @@ public unsafe abstract class TransferTexture3D : NativeObject, IGraphicsResou GraphicsDeviceMismatchException.Throw(this, device); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs index 56f4d842..89964af3 100644 --- a/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; @@ -150,4 +150,4 @@ public sealed class ConstantBuffer : Buffer { return $"ComputeSharp.ConstantBuffer<{typeof(T)}>[{Length}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Debug/BufferDebugView{T}.cs b/src/ComputeSharp/Graphics/Resources/Debug/BufferDebugView{T}.cs index 6ee0d853..2b1209e6 100644 --- a/src/ComputeSharp/Graphics/Resources/Debug/BufferDebugView{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Debug/BufferDebugView{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; #if NET6_0_OR_GREATER using GC = System.GC; #else @@ -35,4 +35,4 @@ internal sealed class BufferDebugView /// [DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] public T[]? Items { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Debug/Texture1DDebugView{T}.cs b/src/ComputeSharp/Graphics/Resources/Debug/Texture1DDebugView{T}.cs index a36c242d..147296f2 100644 --- a/src/ComputeSharp/Graphics/Resources/Debug/Texture1DDebugView{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Debug/Texture1DDebugView{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; namespace ComputeSharp.Resources.Debug; @@ -30,4 +30,4 @@ internal sealed class Texture1DDebugView /// [DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] public T[]? Items { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Debug/Texture2DDebugView{T}.cs b/src/ComputeSharp/Graphics/Resources/Debug/Texture2DDebugView{T}.cs index 88020a15..37db3923 100644 --- a/src/ComputeSharp/Graphics/Resources/Debug/Texture2DDebugView{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Debug/Texture2DDebugView{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; namespace ComputeSharp.Resources.Debug; @@ -30,4 +30,4 @@ internal sealed class Texture2DDebugView /// [DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] public T[,]? Items { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Debug/Texture3DDebugView{T}.cs b/src/ComputeSharp/Graphics/Resources/Debug/Texture3DDebugView{T}.cs index 4da600b1..d26ad6cd 100644 --- a/src/ComputeSharp/Graphics/Resources/Debug/Texture3DDebugView{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Debug/Texture3DDebugView{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; namespace ComputeSharp.Resources.Debug; @@ -30,4 +30,4 @@ internal sealed class Texture3DDebugView /// [DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] public T[,,]? Items { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Debug/TransferBufferDebugView{T}.cs b/src/ComputeSharp/Graphics/Resources/Debug/TransferBufferDebugView{T}.cs index 71d51056..ed03ad6b 100644 --- a/src/ComputeSharp/Graphics/Resources/Debug/TransferBufferDebugView{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Debug/TransferBufferDebugView{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; #if NET6_0_OR_GREATER using GC = System.GC; #else @@ -35,4 +35,4 @@ internal sealed class TransferBufferDebugView /// [DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] public T[]? Items { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture1DDebugView{T}.cs b/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture1DDebugView{T}.cs index 7b277889..c37b4d45 100644 --- a/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture1DDebugView{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture1DDebugView{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; namespace ComputeSharp.Resources.Debug; @@ -23,4 +23,4 @@ internal sealed class TransferTexture1DDebugView /// [DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] public T[]? Items { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture2DDebugView{T}.cs b/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture2DDebugView{T}.cs index 9ef6327e..bedecbc8 100644 --- a/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture2DDebugView{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture2DDebugView{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; namespace ComputeSharp.Resources.Debug; @@ -23,4 +23,4 @@ internal sealed class TransferTexture2DDebugView /// [DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] public T[,]? Items { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture3DDebugView{T}.cs b/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture3DDebugView{T}.cs index b3b0f63c..2ad6c3b5 100644 --- a/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture3DDebugView{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Debug/TransferTexture3DDebugView{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; namespace ComputeSharp.Resources.Debug; @@ -23,4 +23,4 @@ internal sealed class TransferTexture3DDebugView /// [DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] public T[,,]? Items { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Enums/AllocationMode.cs b/src/ComputeSharp/Graphics/Resources/Enums/AllocationMode.cs index a6ec6b97..f99a79af 100644 --- a/src/ComputeSharp/Graphics/Resources/Enums/AllocationMode.cs +++ b/src/ComputeSharp/Graphics/Resources/Enums/AllocationMode.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An that indicates a mode to use when allocating resources. @@ -16,4 +16,4 @@ public enum AllocationMode /// Clear allocated buffers when creating them. /// Clear -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Enums/ResourceState.cs b/src/ComputeSharp/Graphics/Resources/Enums/ResourceState.cs index 684ed25b..ca2a79ef 100644 --- a/src/ComputeSharp/Graphics/Resources/Enums/ResourceState.cs +++ b/src/ComputeSharp/Graphics/Resources/Enums/ResourceState.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An that indicates the state of a resource after a given transition. @@ -14,4 +14,4 @@ public enum ResourceState /// A read write resource, with both read and write access for the GPU, but without support for texture sampling. /// ReadWrite -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs b/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs index 3c61b131..81dc7c8a 100644 --- a/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs +++ b/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.Graphics.Resources.Enums; +namespace ComputeSharp.Graphics.Resources.Enums; /// /// An that indicates the type of a given HLSL resource. @@ -39,4 +39,4 @@ internal enum ResourceType /// Resources of this type are located in . /// Upload -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs b/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs index d6f45f59..6d06aefc 100644 --- a/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs +++ b/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using TerraFX.Interop.DirectX; using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; @@ -21,8 +21,8 @@ internal static class ResourceStateHelper if (resourceState == ResourceState.ReadOnly) { return D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE; - } - + } + if (resourceState == ResourceState.ReadWrite) { return D3D12_RESOURCE_STATE_UNORDERED_ACCESS; @@ -30,4 +30,4 @@ internal static class ResourceStateHelper return ThrowHelper.ThrowArgumentException("The target resource state is not valid."); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IGraphicsResource.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IGraphicsResource.cs index b55614d9..11316fcb 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IGraphicsResource.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IGraphicsResource.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a graphics resource associated to a given instance. @@ -9,4 +9,4 @@ public interface IGraphicsResource /// Gets the instance associated with the current resource. /// GraphicsDevice GraphicsDevice { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture1D{TPixel}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture1D{TPixel}.cs index eda6c900..a19801b5 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture1D{TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture1D{TPixel}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed readonly 1D texture containing normalized pixel data stored on GPU memory. @@ -26,4 +26,4 @@ public interface IReadOnlyNormalizedTexture1D : IGraphicsResource /// The horizontal normalized offset of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref readonly TPixel Sample(float u); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture2D{TPixel}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture2D{TPixel}.cs index 6c896ce0..2d9dd29a 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture2D{TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture2D{TPixel}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed readonly 2D texture containing normalized pixel data stored on GPU memory. @@ -47,4 +47,4 @@ public interface IReadOnlyNormalizedTexture2D : IGraphicsResource /// The normalized coordinates of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref readonly TPixel Sample(Float2 uv); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture3D{TPixel}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture3D{TPixel}.cs index 8b5c3f7d..c9da4ef7 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture3D{TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyNormalizedTexture3D{TPixel}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed readonly 3D texture containing normalized pixel data stored on GPU memory. @@ -54,4 +54,4 @@ public interface IReadOnlyNormalizedTexture3D : IGraphicsResource /// The normalized coordinates of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref readonly TPixel Sample(Float3 uvw); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture1D{T}.cs index 14ae0c64..71bf6252 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture1D{T}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed readonly 1D texture containing raw data stored on GPU memory. @@ -26,4 +26,4 @@ public interface IReadOnlyTexture1D : IGraphicsResource /// The horizontal normalized offset of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref readonly T Sample(float u); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture2D{T}.cs index e0e32110..891698be 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture2D{T}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed readonly 2D texture containing raw data stored on GPU memory. @@ -47,4 +47,4 @@ public interface IReadOnlyTexture2D : IGraphicsResource /// The normalized coordinates of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref readonly T Sample(Float2 uv); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture3D{T}.cs index c08086c0..2c15d640 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadOnlyTexture3D{T}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed readonly 3D texture containing raw data stored on GPU memory. @@ -54,4 +54,4 @@ public interface IReadOnlyTexture3D : IGraphicsResource /// The normalized coordinates of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref readonly T Sample(Float3 uvw); -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture1D{TPixel}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture1D{TPixel}.cs index 0d65f74d..0df9eb80 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture1D{TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture1D{TPixel}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed writeable 1D texture containing normalized pixel data stored on GPU memory. @@ -19,4 +19,4 @@ public interface IReadWriteNormalizedTexture1D : IGraphicsResource /// The horizontal offset of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref TPixel this[int x] { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture2D{TPixel}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture2D{TPixel}.cs index 3c9255bd..bebecc57 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture2D{TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture2D{TPixel}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed writeable 2D texture containing normalized pixel data stored on GPU memory. @@ -32,4 +32,4 @@ public interface IReadWriteNormalizedTexture2D : IGraphicsResource /// The coordinates of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref TPixel this[Int2 xy] { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture3D{TPixel}.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture3D{TPixel}.cs index 9ddb39ad..1477b115 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture3D{TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/IReadWriteNormalizedTexture3D{TPixel}.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp; +namespace ComputeSharp; /// /// An interface representing a typed writeable 2D texture containing normalized pixel data stored on GPU memory. @@ -38,4 +38,4 @@ public interface IReadWriteNormalizedTexture3D : IGraphicsResource /// The coordinates of the value to get. /// This API can only be used from a compute shader, and will always throw if used anywhere else. ref TPixel this[Int3 xyz] { get; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs b/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs index e5b71cfb..734fc6f1 100644 --- a/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs +++ b/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.Graphics.Extensions; using TerraFX.Interop.DirectX; @@ -39,4 +39,4 @@ internal readonly unsafe ref struct ID3D12ResourceMap { this.d3D12Resource->Unmap(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Interop/__Internals/ResourceDescriptor.cs b/src/ComputeSharp/Graphics/Resources/Interop/__Internals/ResourceDescriptor.cs index e0cb246b..051ea106 100644 --- a/src/ComputeSharp/Graphics/Resources/Interop/__Internals/ResourceDescriptor.cs +++ b/src/ComputeSharp/Graphics/Resources/Interop/__Internals/ResourceDescriptor.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using TerraFX.Interop.DirectX; using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_RANGE_FLAGS; @@ -47,4 +47,4 @@ public struct ResourceDescriptor descriptor.Flags = D3D12_DESCRIPTOR_RANGE_FLAG_NONE; descriptor.OffsetInDescriptorsFromTableStart = D3D12.D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadBackBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadBackBuffer{T}.cs index 78b8ec2d..9e4c5a63 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadBackBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadBackBuffer{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -32,4 +32,4 @@ public sealed class ReadBackBuffer : TransferBuffer { return $"ComputeSharp.ReadBackBuffer<{typeof(T)}>[{Length}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadBackTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadBackTexture1D{T}.cs index 7ee3a5f9..0085e298 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadBackTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadBackTexture1D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; @@ -30,4 +30,4 @@ public sealed class ReadBackTexture1D : TransferTexture1D { return $"ComputeSharp.ReadBackTexture1D<{typeof(T)}>[{Width}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadBackTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadBackTexture2D{T}.cs index 5ea12337..da1e38d1 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadBackTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadBackTexture2D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; @@ -31,4 +31,4 @@ public sealed class ReadBackTexture2D : TransferTexture2D { return $"ComputeSharp.ReadBackTexture2D<{typeof(T)}>[{Width}, {Height}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadBackTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadBackTexture3D{T}.cs index 2bd68a01..9efe7da4 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadBackTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadBackTexture3D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; @@ -32,4 +32,4 @@ public sealed class ReadBackTexture3D : TransferTexture3D { return $"ComputeSharp.ReadBackTexture3D<{typeof(T)}>[{Width}, {Height}, {Depth}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyBuffer{T}.cs index ffa70ebb..7febe5f1 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyBuffer{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; @@ -40,4 +40,4 @@ public sealed class ReadOnlyBuffer : StructuredBuffer { return $"ComputeSharp.ReadOnlyBuffer<{typeof(T)}>[{Length}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs index 53315a0a..df00bc43 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -40,4 +40,4 @@ public sealed class ReadOnlyTexture1D : Texture1D, IReadOnlyNormal { return $"ComputeSharp.ReadOnlyTexture1D<{typeof(T)}, {typeof(TPixel)}>[{Width}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs index 2ebbb317..aa0493c5 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -39,4 +39,4 @@ public sealed class ReadOnlyTexture1D : Texture1D { return $"ComputeSharp.ReadOnlyTexture1D<{typeof(T)}>[{Width}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs index 376267a5..55be157b 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -34,7 +34,7 @@ public sealed class ReadOnlyTexture2D : Texture2D, IReadOnlyNormal public ref readonly TPixel this[int x, int y] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture2D)}[{typeof(int)}, {typeof(int)}]"); /// - public ref readonly TPixel this[Int2 xy] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture2D)}[{typeof(Int2)}]"); + public ref readonly TPixel this[Int2 xy] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture2D)}[{typeof(Int2)}]"); /// public ref readonly TPixel Sample(float u, float v) => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture2D)}.{nameof(Sample)}({typeof(float)}, {typeof(float)})"); @@ -47,4 +47,4 @@ public sealed class ReadOnlyTexture2D : Texture2D, IReadOnlyNormal { return $"ComputeSharp.ReadOnlyTexture2D<{typeof(T)}, {typeof(TPixel)}>[{Width}, {Height}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs index 5b6e7271..a1261e6d 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -48,4 +48,4 @@ public sealed class ReadOnlyTexture2D : Texture2D { return $"ComputeSharp.ReadOnlyTexture2D<{typeof(T)}>[{Width}, {Height}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs index f27322f2..83798851 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -48,4 +48,4 @@ public sealed class ReadOnlyTexture3D : Texture3D, IReadOnlyNormal { return $"ComputeSharp.ReadOnlyTexture3D<{typeof(T)}, {nameof(TPixel)}>[{Width}, {Height}, {Depth}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs index dd4baaa0..60121dc3 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -50,4 +50,4 @@ public sealed class ReadOnlyTexture3D : Texture3D { return $"ComputeSharp.ReadOnlyTexture3D<{typeof(T)}>[{Width}, {Height}, {Depth}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteBuffer{T}.cs index 45e82eed..944beb97 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteBuffer{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; @@ -40,4 +40,4 @@ public sealed class ReadWriteBuffer : StructuredBuffer { return $"ComputeSharp.ReadWriteBuffer<{typeof(T)}>[{Length}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs index 7ed9ac15..8b23e7b4 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.__Internals; using ComputeSharp.Exceptions; @@ -143,4 +143,4 @@ partial class ReadWriteTexture1D } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs index b40d5b82..43ba6251 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -37,4 +37,4 @@ public sealed partial class ReadWriteTexture1D : Texture1D, IReadW { return $"ComputeSharp.ReadWriteTexture1D<{typeof(T)}, {typeof(TPixel)}>[{Width}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs index 4f03c9b9..82469421 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.__Internals; using ComputeSharp.Exceptions; @@ -143,4 +143,4 @@ partial class ReadWriteTexture1D } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs index 4cd863ad..57b061c3 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -39,4 +39,4 @@ public sealed partial class ReadWriteTexture1D : Texture1D { return $"ComputeSharp.ReadWriteTexture1D<{typeof(T)}>[{Width}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs index c52f1ec2..f5ef03dc 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.__Internals; using ComputeSharp.Exceptions; @@ -155,4 +155,4 @@ partial class ReadWriteTexture2D } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs index fecb9603..ba59c270 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -41,4 +41,4 @@ public sealed partial class ReadWriteTexture2D : Texture2D, IReadW { return $"ComputeSharp.ReadWriteTexture2D<{typeof(T)}, {typeof(TPixel)}>[{Width}, {Height}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs index 56c278f0..485cdc6e 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.__Internals; using ComputeSharp.Exceptions; @@ -155,4 +155,4 @@ partial class ReadWriteTexture2D } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs index d4e055ff..42c2c5f2 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -48,4 +48,4 @@ public sealed partial class ReadWriteTexture2D : Texture2D { return $"ComputeSharp.ReadWriteTexture2D<{typeof(T)}>[{Width}, {Height}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs index 29df6f79..09ca8f60 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.__Internals; using ComputeSharp.Exceptions; @@ -155,4 +155,4 @@ partial class ReadWriteTexture3D } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs index d7f68197..afd6c66a 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -42,4 +42,4 @@ public sealed partial class ReadWriteTexture3D : Texture3D, IReadW { return $"ComputeSharp.ReadWriteTexture3D<{typeof(T)}, {nameof(TPixel)}>[{Width}, {Height}, {Depth}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs index 9161f98f..212cbbd8 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.__Internals; using ComputeSharp.Exceptions; @@ -155,4 +155,4 @@ partial class ReadWriteTexture3D } } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs index 28f3e10f..1f00f3cf 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -50,4 +50,4 @@ public sealed partial class ReadWriteTexture3D : Texture3D { return $"ComputeSharp.ReadWriteTexture3D<{typeof(T)}>[{Width}, {Height}, {Depth}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/UploadBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/UploadBuffer{T}.cs index 1400f410..09e3b311 100644 --- a/src/ComputeSharp/Graphics/Resources/UploadBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/UploadBuffer{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; @@ -32,4 +32,4 @@ public sealed class UploadBuffer : TransferBuffer { return $"ComputeSharp.UploadBuffer<{typeof(T)}>[{Length}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/UploadTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/UploadTexture1D{T}.cs index 53f6a43d..47093d49 100644 --- a/src/ComputeSharp/Graphics/Resources/UploadTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/UploadTexture1D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; @@ -30,4 +30,4 @@ public sealed class UploadTexture1D : TransferTexture1D { return $"ComputeSharp.UploadTexture1D<{typeof(T)}>[{Width}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/UploadTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/UploadTexture2D{T}.cs index 19397908..c92fe371 100644 --- a/src/ComputeSharp/Graphics/Resources/UploadTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/UploadTexture2D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; @@ -31,4 +31,4 @@ public sealed class UploadTexture2D : TransferTexture2D { return $"ComputeSharp.UploadTexture2D<{typeof(T)}>[{Width}, {Height}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/UploadTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/UploadTexture3D{T}.cs index 9bbe844b..68b08515 100644 --- a/src/ComputeSharp/Graphics/Resources/UploadTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/UploadTexture3D{T}.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; @@ -32,4 +32,4 @@ public sealed class UploadTexture3D : TransferTexture3D { return $"ComputeSharp.UploadTexture3D<{typeof(T)}>[{Width}, {Height}, {Depth}]"; } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Views/TextureView2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Views/TextureView2D{T}.cs index 71b87bf9..200a6c08 100644 --- a/src/ComputeSharp/Graphics/Resources/Views/TextureView2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Views/TextureView2D{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; @@ -380,4 +380,4 @@ public readonly unsafe ref struct TextureView2D { return !(left == right); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Views/TextureView3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Views/TextureView3D{T}.cs index 86a98c33..e5883bc7 100644 --- a/src/ComputeSharp/Graphics/Resources/Views/TextureView3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Views/TextureView3D{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; @@ -437,4 +437,4 @@ public readonly unsafe ref struct TextureView3D { return !(left == right); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Properties/Configuration.cs b/src/ComputeSharp/Properties/Configuration.cs index a66f4ff1..e5e96e46 100644 --- a/src/ComputeSharp/Properties/Configuration.cs +++ b/src/ComputeSharp/Properties/Configuration.cs @@ -1,4 +1,4 @@ -using System; +using System; #if DEBUG using System.Diagnostics; #endif diff --git a/src/ComputeSharp/Shaders/ComputeContext.cs b/src/ComputeSharp/Shaders/ComputeContext.cs index 3a3a2aa5..f5213442 100644 --- a/src/ComputeSharp/Shaders/ComputeContext.cs +++ b/src/ComputeSharp/Shaders/ComputeContext.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Threading.Tasks; @@ -391,4 +391,4 @@ public struct ComputeContext : IDisposable, IAsyncDisposable ThrowHelper.ThrowInvalidOperationException("The current compute context is not in a valid state."); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Dispatching/ComputeShaderDispatchDataLoader.cs b/src/ComputeSharp/Shaders/Dispatching/ComputeShaderDispatchDataLoader.cs index b565ad62..8f131c65 100644 --- a/src/ComputeSharp/Shaders/Dispatching/ComputeShaderDispatchDataLoader.cs +++ b/src/ComputeSharp/Shaders/Dispatching/ComputeShaderDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.Graphics.Extensions; using ComputeSharp.__Internals; @@ -53,4 +53,4 @@ internal readonly unsafe struct ComputeShaderDispatchDataLoader : IDispatchDataL offset++; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Dispatching/PixelShaderDispatchDataLoader.cs b/src/ComputeSharp/Shaders/Dispatching/PixelShaderDispatchDataLoader.cs index 2c8792e0..c43bf1f1 100644 --- a/src/ComputeSharp/Shaders/Dispatching/PixelShaderDispatchDataLoader.cs +++ b/src/ComputeSharp/Shaders/Dispatching/PixelShaderDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.Graphics.Extensions; @@ -57,4 +57,4 @@ internal readonly unsafe struct PixelShaderDispatchDataLoader : IDispatchDataLoa offset++; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Dispatching/ShaderBytecodeLoader.cs b/src/ComputeSharp/Shaders/Dispatching/ShaderBytecodeLoader.cs index 03c69b94..4d72f814 100644 --- a/src/ComputeSharp/Shaders/Dispatching/ShaderBytecodeLoader.cs +++ b/src/ComputeSharp/Shaders/Dispatching/ShaderBytecodeLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using ComputeSharp.__Internals; @@ -62,4 +62,4 @@ internal struct ShaderBytecodeLoader : IBytecodeLoader this.cachedShader = new ICachedShader.Embedded(bytecode); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Dispatching/ShaderDispatchMetadataLoader.cs b/src/ComputeSharp/Shaders/Dispatching/ShaderDispatchMetadataLoader.cs index 002e3837..6218557c 100644 --- a/src/ComputeSharp/Shaders/Dispatching/ShaderDispatchMetadataLoader.cs +++ b/src/ComputeSharp/Shaders/Dispatching/ShaderDispatchMetadataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using CommunityToolkit.Diagnostics; @@ -44,4 +44,4 @@ internal readonly unsafe struct ShaderDispatchMetadataLoader : IDispatchMetadata MemoryMarshal.Read(serializedMetadata.Slice(4))); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Dispatching/__Internals/ArrayPoolStringBuilder.cs b/src/ComputeSharp/Shaders/Dispatching/__Internals/ArrayPoolStringBuilder.cs index b6fbe97b..c42c0bdd 100644 --- a/src/ComputeSharp/Shaders/Dispatching/__Internals/ArrayPoolStringBuilder.cs +++ b/src/ComputeSharp/Shaders/Dispatching/__Internals/ArrayPoolStringBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.ComponentModel; using System.Diagnostics; @@ -160,4 +160,4 @@ public ref struct ArrayPoolStringBuilder /// public string Text { get; } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs b/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs index 8b9c6ce5..f1aa8f59 100644 --- a/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs +++ b/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using CommunityToolkit.Diagnostics; using ComputeSharp.__Internals; using ComputeSharp.Graphics.Helpers; @@ -837,4 +837,4 @@ public static class ComputeContextExtensions context.Transition(d3D12Resource, states.Before, states.After); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs index 122ad5c9..e93441c7 100644 --- a/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Core.Extensions; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -117,4 +117,4 @@ internal static unsafe class ID3D12DeviceExtensions return d3D12PipelineState.Move(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs b/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs index 415e9b89..fc4a80fe 100644 --- a/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs +++ b/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using ComputeSharp.Shaders.Dispatching; @@ -92,7 +92,7 @@ internal static class PipelineDataLoader Unsafe.SkipInit(out T shader); shader.LoadDispatchMetadata(ref metadataLoader, out *(IntPtr*)&d3D12RootSignature); - + using ComPtr d3D12PipelineState = device.D3D12Device->CreateComputePipelineState(d3D12RootSignature.Get(), shaderData.D3D12ShaderBytecode); pipelineData = new PipelineData(d3D12RootSignature.Get(), d3D12PipelineState.Get()); @@ -102,4 +102,4 @@ internal static class PipelineDataLoader // Register the newly created pipeline data to enable early disposal device.RegisterPipelineData(pipelineData); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Models/ICachedShader.cs b/src/ComputeSharp/Shaders/Models/ICachedShader.cs index f05fb96b..cc99f145 100644 --- a/src/ComputeSharp/Shaders/Models/ICachedShader.cs +++ b/src/ComputeSharp/Shaders/Models/ICachedShader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.Interop; @@ -83,7 +83,7 @@ internal interface ICachedShader public ConditionalWeakTable CachedPipelines { get; } = new(); /// - public D3D12_SHADER_BYTECODE D3D12ShaderBytecode => new ((ID3DBlob*)this.dxcBlobBytecode.Get()); + public D3D12_SHADER_BYTECODE D3D12ShaderBytecode => new((ID3DBlob*)this.dxcBlobBytecode.Get()); /// private protected override void OnDispose() @@ -91,4 +91,4 @@ internal interface ICachedShader this.dxcBlobBytecode.Dispose(); } } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Models/PipelineData.cs b/src/ComputeSharp/Shaders/Models/PipelineData.cs index d7fec9e1..a3a05f80 100644 --- a/src/ComputeSharp/Shaders/Models/PipelineData.cs +++ b/src/ComputeSharp/Shaders/Models/PipelineData.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Interop; +using ComputeSharp.Interop; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -46,4 +46,4 @@ internal sealed unsafe class PipelineData : NativeObject this.d3D12RootSignature.Dispose(); this.d3D12PipelineState.Dispose(); } -} +} \ No newline at end of file diff --git a/src/ComputeSharp/Shaders/Models/ShaderKey.cs b/src/ComputeSharp/Shaders/Models/ShaderKey.cs index 1af9978f..aba1acf4 100644 --- a/src/ComputeSharp/Shaders/Models/ShaderKey.cs +++ b/src/ComputeSharp/Shaders/Models/ShaderKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; namespace ComputeSharp.Shaders.Models; @@ -67,4 +67,4 @@ internal readonly struct ShaderKey : IEquatable { return HashCode.Combine(Id, ThreadsX, ThreadsY, ThreadsZ); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/D2D1_EXTEND_MODE.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/D2D1_EXTEND_MODE.cs index 3697bb0b..1baf82fa 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/D2D1_EXTEND_MODE.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/D2D1_EXTEND_MODE.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/ID2D1Factory.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/ID2D1Factory.cs index e690fd2f..8ad7aa23 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/ID2D1Factory.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/ID2D1Factory.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/ID2D1Image.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/ID2D1Image.cs index bfa830c6..583ca9d0 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/ID2D1Image.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1/ID2D1Image.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs index f8aab853..bff22696 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs index 3189cb39..6e0c50bd 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs index 993104bc..094d3bd6 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs index e612b6d4..0f850b43 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs index faa1afde..9f00de81 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs index 0613b2d5..5b7432a2 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs index d728980d..72488551 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs index 071cdb7c..0980b294 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs index 411d47e1..7b9fab45 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs index 081ff01c..ce7ca58a 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FILTER.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FILTER.cs index 7f6d604c..a98792e8 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FILTER.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_FILTER.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs index 0da17fd0..c999deef 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs index 446d86ae..6b36ca5e 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs index fdd86e4a..5d2f995d 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs index 3671d592..843b3ee4 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs index 73ff14e9..5ac30b91 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs index 064cece3..d41dfb4b 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs index e9d47721..b3bcd57a 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs index 1480f720..81f014c3 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs index c3aa978a..dc04a6e3 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs index 0db52274..7a552d4c 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs index 923993c1..9e88c744 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs index aa2a61c9..2aa5d3fc 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effects/CLSID.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effects/CLSID.cs index e63a48c6..77ff136d 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effects/CLSID.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d2d1effects/CLSID.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effects.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs index 2bb5b6cf..cb72d4f9 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs index ed1349c1..76a3893f 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs index 65ca6cc7..74563221 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3dcommon.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs index 8fd92f76..48956764 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3dcommon.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/D3DCOMPILE.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/D3DCOMPILE.cs index a7841e13..b0179ecb 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/D3DCOMPILE.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/D3DCOMPILE.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3dcompiler.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/D3D_BLOB_PART.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/D3D_BLOB_PART.cs index f61ad7ee..53344482 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/D3D_BLOB_PART.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/D3D_BLOB_PART.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3dcompiler.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/DirectX.cs b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/DirectX.cs index ba483f7e..15b6f420 100644 --- a/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/DirectX.cs +++ b/src/TerraFX.Interop.Windows.D2D1/DirectX/um/d3dcompiler/DirectX.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3dcompiler.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/uuids/Windows.Manual.cs b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/uuids/Windows.Manual.cs index d8316436..269bddd3 100644 --- a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/uuids/Windows.Manual.cs +++ b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/uuids/Windows.Manual.cs @@ -26,7 +26,7 @@ namespace TerraFX.Interop.Windows { return new UuidOfType(UUID.RIID); } - + /// Retrieves the GUID of of a specified type. /// A pointer to a value of type . /// The type to retrieve the GUID for. @@ -87,4 +87,4 @@ namespace TerraFX.Interop.Windows } } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/windef/RECT.cs b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/windef/RECT.cs index 614ff8b9..cf4fe4c8 100644 --- a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/windef/RECT.cs +++ b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/windef/RECT.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/windef.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/D2DERR.cs b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/D2DERR.cs index 13436b45..51fc74a5 100644 --- a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/D2DERR.cs +++ b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/D2DERR.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/E.cs b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/E.cs index e8227e77..7f0be886 100644 --- a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/E.cs +++ b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/E.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/Windows.cs b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/Windows.cs index b02c142b..940ff04d 100644 --- a/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/Windows.cs +++ b/src/TerraFX.Interop.Windows.D2D1/Windows/shared/winerror/Windows.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows.Dynamic/DirectX.cs b/src/TerraFX.Interop.Windows.Dynamic/DirectX.cs index a408b343..a99c012d 100644 --- a/src/TerraFX.Interop.Windows.Dynamic/DirectX.cs +++ b/src/TerraFX.Interop.Windows.Dynamic/DirectX.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX [DllImport("dxcompiler", ExactSpelling = true)] public static extern HRESULT DxcCreateInstance([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("const IID &")] Guid* riid, [NativeTypeName("LPVOID *")] void** ppv); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_BOX.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_BOX.Manual.cs index fba29b6d..ced40df9 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_BOX.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_BOX.Manual.cs @@ -55,4 +55,4 @@ namespace TerraFX.Interop.DirectX public override int GetHashCode() => HashCode.Combine(left, top, front, right, bottom, back); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs index 89b88b8f..d9490690 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs @@ -65,4 +65,4 @@ namespace TerraFX.Interop.DirectX public override int GetHashCode() => ptr.GetHashCode(); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs index 27015c74..52c6d71a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs @@ -65,4 +65,4 @@ namespace TerraFX.Interop.DirectX public override int GetHashCode() => ptr.GetHashCode(); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs index 64d7a37a..8eb06b21 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX Alignment = alignment; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs index e92d3271..69d9c631 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs @@ -40,4 +40,4 @@ namespace TerraFX.Interop.DirectX return result; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs index 124227e1..82a732a0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs @@ -97,4 +97,4 @@ namespace TerraFX.Interop.DirectX return hashCode.ToHashCode(); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs index df2b4831..251f014a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs @@ -24,4 +24,4 @@ namespace TerraFX.Interop.DirectX rootConstants.RegisterSpace = registerSpace; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs index b1407e79..3a4301e6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs @@ -23,4 +23,4 @@ namespace TerraFX.Interop.DirectX table.RegisterSpace = registerSpace; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs index b83df714..2e564a9e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs @@ -26,4 +26,4 @@ namespace TerraFX.Interop.DirectX table.Flags = flags; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs index b081e33a..f2b829e9 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs @@ -23,4 +23,4 @@ namespace TerraFX.Interop.DirectX rootDescriptorTable.pDescriptorRanges = _pDescriptorRanges; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs index 916f3238..12b65431 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs @@ -80,4 +80,4 @@ namespace TerraFX.Interop.DirectX InitAsUnorderedAccessView(out this, shaderRegister, registerSpace, visibility); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs index b985dd8e..6e1b36f7 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX BytecodeLength = bytecodeLength; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs index 70ca8d6c..0943f41d 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs @@ -41,4 +41,4 @@ namespace TerraFX.Interop.DirectX Init(out this, shaderRegister, filter, addressU, addressV, addressW, mipLODBias, maxAnisotropy, comparisonFunc, borderColor, minLOD, maxLOD, shaderVisibility, registerSpace); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs index e7a81dba..249dda00 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs @@ -37,4 +37,4 @@ namespace TerraFX.Interop.DirectX Anonymous.SubresourceIndex = Sub; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs index e137dc61..9c56bf7f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs @@ -112,4 +112,4 @@ namespace TerraFX.Interop.DirectX desc.Anonymous.Desc_1_1.Flags = flags; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI.cs index 7f74e299..4fdeb294 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI.cs @@ -100,4 +100,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("#define DXGI_MWA_VALID ( 0x7 )")] public const int DXGI_MWA_VALID = (0x7); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs index 3d2cd69d..3cabb4b3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs @@ -31,4 +31,4 @@ namespace TerraFX.Interop.DirectX public LUID AdapterLuid; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs index 21f0e476..da689cec 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs @@ -33,4 +33,4 @@ namespace TerraFX.Interop.DirectX public uint Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs index 65539584..73718518 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX DXGI_ADAPTER_FLAG_SOFTWARE = 2, DXGI_ADAPTER_FLAG_FORCE_DWORD = 0xffffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs index 16968bd2..78f45226 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs @@ -24,4 +24,4 @@ namespace TerraFX.Interop.DirectX DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING = 2048, DXGI_SWAP_CHAIN_FLAG_RESTRICTED_TO_ALL_HOLOGRAPHIC_DISPLAYS = 4096, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs index f73106ca..a6c1f9d9 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL = 3, DXGI_SWAP_EFFECT_FLIP_DISCARD = 4, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter.cs index c33669e3..ae6db595 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter.cs @@ -89,4 +89,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs index 505a0501..f3d57cf4 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs @@ -96,4 +96,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), pDesc); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory.cs index aa9bda1f..600044be 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory.cs @@ -40,4 +40,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IDXGIFactory*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIOutput.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIOutput.cs index d2593375..80fc84f1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIOutput.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIOutput.cs @@ -40,4 +40,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IDXGIOutput*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISwapChain.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISwapChain.cs index 5e8cf0a8..3d5a88af 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISwapChain.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISwapChain.cs @@ -40,4 +40,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IDXGISwapChain*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGIOutput1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGIOutput1.cs index 8ef6175b..d49c21ba 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGIOutput1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGIOutput1.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs index e87dd340..e2b2ea6f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX DXGI_ALPHA_MODE_IGNORE = 3, DXGI_ALPHA_MODE_FORCE_DWORD = 0xffffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs index 698876b4..5d165a38 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_SCALING.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_SCALING.cs index abc02e14..0332dd60 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_SCALING.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_SCALING.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX DXGI_SCALING_NONE = 1, DXGI_SCALING_ASPECT_RATIO_STRETCH = 2, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs index 92a0e27a..c94c0109 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs @@ -32,4 +32,4 @@ namespace TerraFX.Interop.DirectX public uint Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs index 92a574e0..83428cad 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs @@ -47,4 +47,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs index d6fbecab..8727a941 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs @@ -40,4 +40,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DXGI.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DXGI.cs index bd919a37..0328726e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DXGI.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DXGI.cs @@ -10,4 +10,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("#define DXGI_CREATE_FACTORY_DEBUG 0x1")] public const int DXGI_CREATE_FACTORY_DEBUG = 0x1; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs index f6a6be78..c5b2dcac 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs @@ -22,4 +22,4 @@ namespace TerraFX.Interop.DirectX public float _32; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DirectX.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DirectX.cs index 440954d3..16bc86ca 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DirectX.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/DirectX.cs @@ -16,4 +16,4 @@ namespace TerraFX.Interop.DirectX [DllImport("dxgi", ExactSpelling = true)] public static extern HRESULT CreateDXGIFactory2(uint Flags, [NativeTypeName("const IID &")] Guid* riid, void** ppFactory); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs index 19eb878b..cf202d0a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs @@ -194,4 +194,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), riid, ppvAdapter); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs index 358cbf3d..3777376c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs @@ -84,4 +84,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_5/DXGI_FEATURE.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_5/DXGI_FEATURE.cs index 6b64519a..fb489f3f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_5/DXGI_FEATURE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_5/DXGI_FEATURE.cs @@ -9,4 +9,4 @@ namespace TerraFX.Interop.DirectX { DXGI_FEATURE_PRESENT_ALLOW_TEARING = 0, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs index c97b88c2..45959a27 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX DXGI_GPU_PREFERENCE_MINIMUM_POWER = (DXGI_GPU_PREFERENCE_UNSPECIFIED + 1), DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE = (DXGI_GPU_PREFERENCE_MINIMUM_POWER + 1), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs index e5674032..90293743 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs @@ -70,4 +70,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_RATIONAL.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_RATIONAL.cs index df398c81..8cbab27f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_RATIONAL.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_RATIONAL.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/dxgicommon.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs index 8f0922c0..54c50d92 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX Quality = quality; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs index ae913a76..4fa0cb3a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX public uint Quality; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgiformat/DXGI_FORMAT.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgiformat/DXGI_FORMAT.cs index a0179bce..7b0112f0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgiformat/DXGI_FORMAT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgiformat/DXGI_FORMAT.cs @@ -130,4 +130,4 @@ namespace TerraFX.Interop.DirectX DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE = 190, DXGI_FORMAT_FORCE_UINT = 0xffffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs index 4d01c537..ea3b3ee0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/dxgitype.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs index a5a7ad3e..5dd27624 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/dxgitype.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs index 8001a133..5647032b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs @@ -14,4 +14,4 @@ namespace TerraFX.Interop.DirectX D2D1_FEATURE_LEVEL_10 = D3D_FEATURE_LEVEL_10_0, D2D1_FEATURE_LEVEL_FORCE_DWORD = 0xffffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d11/D3D11.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d11/D3D11.cs index 752c5e38..0e7e64d1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d11/D3D11.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d11/D3D11.cs @@ -2711,4 +2711,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("#define D3D11_SDK_VERSION ( 7 )")] public const int D3D11_SDK_VERSION = (7); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d11shader/D3D.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d11shader/D3D.cs index 2f63108a..c7d6ff8d 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d11shader/D3D.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d11shader/D3D.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12.cs index 73d57801..96171166 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12.cs @@ -1336,4 +1336,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("#define D3D12_SHADING_RATE_VALID_MASK 3")] public const int D3D12_SHADING_RATE_VALID_MASK = 3; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs index a5376c65..2cb638bb 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs index 95dd83ec..95785c0a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BOX.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BOX.cs index 7be40621..53a0be7c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BOX.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BOX.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX public uint back; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_SRV.cs index 61bba963..0de75432 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_SRV.cs @@ -16,4 +16,4 @@ namespace TerraFX.Interop.DirectX public D3D12_BUFFER_SRV_FLAGS Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs index 2b35c2b1..c078364a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_BUFFER_SRV_FLAG_NONE = 0, D3D12_BUFFER_SRV_FLAG_RAW = 0x1, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_UAV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_UAV.cs index 3efae809..708bc592 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_UAV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_UAV.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX public D3D12_BUFFER_UAV_FLAGS Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs index adf6c5d1..48f0732e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_BUFFER_UAV_FLAG_NONE = 0, D3D12_BUFFER_UAV_FLAG_RAW = 0x1, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs index cf97e125..ffb73ac7 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("SIZE_T")] public nuint CachedBlobSizeInBytes; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs index dc47dedd..a9755d04 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs @@ -25,4 +25,4 @@ namespace TerraFX.Interop.DirectX public D3D12_DEPTH_STENCIL_VALUE DepthStencil; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs index 30928d14..b232289d 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX D3D12_COMMAND_LIST_TYPE_VIDEO_PROCESS = 5, D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE = 6, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs index 8970ae43..81580b64 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX public uint NodeMask; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs index 2052bba2..144fea14 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_COMMAND_QUEUE_FLAG_NONE = 0, D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT = 0x1, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs index 6a55660b..e4aa5487 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX D3D12_COMMAND_QUEUE_PRIORITY_HIGH = 100, D3D12_COMMAND_QUEUE_PRIORITY_GLOBAL_REALTIME = 10000, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs index dc65efba..217f243e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs @@ -16,4 +16,4 @@ namespace TerraFX.Interop.DirectX D3D12_COMPARISON_FUNC_GREATER_EQUAL = 7, D3D12_COMPARISON_FUNC_ALWAYS = 8, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs index 007b7d86..94947910 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX public D3D12_PIPELINE_STATE_FLAGS Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs index 1f9c7439..d0776168 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX D3D12_CONSERVATIVE_RASTERIZATION_TIER_2 = 2, D3D12_CONSERVATIVE_RASTERIZATION_TIER_3 = 3, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs index e10daa6d..0bac23de 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX public uint SizeInBytes; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs index 15ec1041..fe3661b3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs @@ -10,4 +10,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("SIZE_T")] public nuint ptr; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs index f2ba3764..7dbec992 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX D3D12_CPU_PAGE_PROPERTY_WRITE_COMBINE = 2, D3D12_CPU_PAGE_PROPERTY_WRITE_BACK = 3, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs index 7115cb8a..1a6f6c02 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_CROSS_NODE_SHARING_TIER_2 = 3, D3D12_CROSS_NODE_SHARING_TIER_3 = 4, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs index 0f07a09a..d09e8b62 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("UINT8")] public byte Stencil; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs index cc86a3da..8651f79a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX public uint NodeMask; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs index 2e243d51..b74d07ae 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_DESCRIPTOR_HEAP_FLAG_NONE = 0, D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE = 0x1, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs index 126ba313..393d20f1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_DESCRIPTOR_HEAP_TYPE_DSV = (D3D12_DESCRIPTOR_HEAP_TYPE_RTV + 1), D3D12_DESCRIPTOR_HEAP_TYPE_NUM_TYPES = (D3D12_DESCRIPTOR_HEAP_TYPE_DSV + 1), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs index 0bfefa3d..91815458 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX public uint OffsetInDescriptorsFromTableStart; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs index 9e380189..9e5138f3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX public uint OffsetInDescriptorsFromTableStart; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs index b113913a..5fbb7e4c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC = 0x8, D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS = 0x10000, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs index 9d54a14d..a89ad2b9 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX D3D12_DESCRIPTOR_RANGE_TYPE_CBV = (D3D12_DESCRIPTOR_RANGE_TYPE_UAV + 1), D3D12_DESCRIPTOR_RANGE_TYPE_SAMPLER = (D3D12_DESCRIPTOR_RANGE_TYPE_CBV + 1), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs index 57b9e182..860c8783 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs index bf5f8904..7beff353 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs index d3fb1b22..00ecae57 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE.cs index 52911832..cbcfe00b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE.cs @@ -37,4 +37,4 @@ namespace TerraFX.Interop.DirectX D3D12_FEATURE_D3D12_OPTIONS9 = 37, D3D12_FEATURE_WAVE_MMA = 38, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs index 4b9df376..60310d3a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX public BOOL CacheCoherentUMA; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs index e06e8ae7..b9287ec3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX public BOOL IsolatedMMU; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs index a8fe79a5..25373528 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs @@ -39,4 +39,4 @@ namespace TerraFX.Interop.DirectX public D3D12_RESOURCE_HEAP_TIER ResourceHeapTier; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs index 8bb6a3a7..185771fc 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs @@ -21,4 +21,4 @@ namespace TerraFX.Interop.DirectX public BOOL Int64ShaderOps; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs index 85652ef2..5b6d2c02 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX public D3D12_SAMPLER_FEEDBACK_TIER SamplerFeedbackTier; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs index 0dabd3ed..b2670530 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public D3D12_FORMAT_SUPPORT2 Support2; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs index a87e05ff..a7af4acd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs @@ -9,4 +9,4 @@ namespace TerraFX.Interop.DirectX { public D3D_SHADER_MODEL HighestShaderModel; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs index 79b1b17a..28fc46ed 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x2, D3D12_FENCE_FLAG_NON_MONITORED = 0x4, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FILTER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FILTER.cs index e0221c56..ab751db1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FILTER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FILTER.cs @@ -44,4 +44,4 @@ namespace TerraFX.Interop.DirectX D3D12_FILTER_MAXIMUM_MIN_MAG_MIP_LINEAR = 0x195, D3D12_FILTER_MAXIMUM_ANISOTROPIC = 0x1d5, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs index 36b6f166..c946b460 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs @@ -41,4 +41,4 @@ namespace TerraFX.Interop.DirectX D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT = 0x20000000, D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER = 0x40000000, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs index 55a457d0..79bcaac3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs @@ -24,4 +24,4 @@ namespace TerraFX.Interop.DirectX D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x4000, D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK = 0x8000, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs index c9de53a5..a2bd28d3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs @@ -10,4 +10,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("UINT64")] public ulong ptr; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_DESC.cs index b245157d..e4c52d13 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_DESC.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX public D3D12_HEAP_FLAGS Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs index cce0ac38..635917f0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs @@ -27,4 +27,4 @@ namespace TerraFX.Interop.DirectX D3D12_HEAP_FLAG_ALLOW_ONLY_NON_RT_DS_TEXTURES = 0x44, D3D12_HEAP_FLAG_ALLOW_ONLY_RT_DS_TEXTURES = 0x84, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs index a96d99be..c3d5208b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX public uint VisibleNodeMask; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_TYPE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_TYPE.cs index f7c4e9eb..ec326b2b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_TYPE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_HEAP_TYPE.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX D3D12_HEAP_TYPE_READBACK = 3, D3D12_HEAP_TYPE_CUSTOM = 4, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MEMORY_POOL.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MEMORY_POOL.cs index 2b7ebae2..774f1ff1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MEMORY_POOL.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MEMORY_POOL.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX D3D12_MEMORY_POOL_L0 = 1, D3D12_MEMORY_POOL_L1 = 2, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs index 5b1c1faa..9d9760a5 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs @@ -10,4 +10,4 @@ namespace TerraFX.Interop.DirectX D3D12_MESH_SHADER_TIER_NOT_SUPPORTED = 0, D3D12_MESH_SHADER_TIER_1 = 10, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MIP_REGION.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MIP_REGION.cs index ea34765f..b3f8d802 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MIP_REGION.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_MIP_REGION.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public uint Depth; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs index d478cf96..29a75da7 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_PIPELINE_STATE_FLAG_NONE = 0, D3D12_PIPELINE_STATE_FLAG_TOOL_DEBUG = 0x1, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs index f12a7c2c..591794c7 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX public D3D12_SUBRESOURCE_FOOTPRINT Footprint; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RANGE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RANGE.cs index d0dc335f..97a25d09 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RANGE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RANGE.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("SIZE_T")] public nuint End; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs index d5fa70bd..a1e4e3a3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs @@ -10,4 +10,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("D3D12_GPU_VIRTUAL_ADDRESS")] public ulong Location; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs index 17268e95..c588434c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX public ID3D12Resource* pResourceAfter; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs index 94497290..b870361e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("UINT64")] public ulong Alignment; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs index f5ff3cba..0b8857b2 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs @@ -16,4 +16,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("UINT64")] public ulong SizeInBytes; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs index 5daf7b8f..48f1e2da 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs @@ -29,4 +29,4 @@ namespace TerraFX.Interop.DirectX public D3D12_RESOURCE_UAV_BARRIER UAV; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs index b59e2222..b71d79ff 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs @@ -14,4 +14,4 @@ namespace TerraFX.Interop.DirectX D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY = 0x1, D3D12_RESOURCE_BARRIER_FLAG_END_ONLY = 0x2, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs index f453954a..84bce222 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX D3D12_RESOURCE_BARRIER_TYPE_ALIASING = (D3D12_RESOURCE_BARRIER_TYPE_TRANSITION + 1), D3D12_RESOURCE_BARRIER_TYPE_UAV = (D3D12_RESOURCE_BARRIER_TYPE_ALIASING + 1), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs index ba7a52b3..2c44a44c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX D3D12_RESOURCE_BINDING_TIER_2 = 2, D3D12_RESOURCE_BINDING_TIER_3 = 3, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs index 80a21e12..34e1e03b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs @@ -31,4 +31,4 @@ namespace TerraFX.Interop.DirectX public D3D12_RESOURCE_FLAGS Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs index e2d8c7d1..ab512453 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs @@ -33,4 +33,4 @@ namespace TerraFX.Interop.DirectX public D3D12_MIP_REGION SamplerFeedbackMipRegion; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs index 37c22425..841bdabf 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_RESOURCE_DIMENSION_TEXTURE2D = 3, D3D12_RESOURCE_DIMENSION_TEXTURE3D = 4, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs index d55bc11f..ffffa821 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs @@ -20,4 +20,4 @@ namespace TerraFX.Interop.DirectX D3D12_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY = 0x40, D3D12_RESOURCE_FLAG_VIDEO_ENCODE_REFERENCE_ONLY = 0x80, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs index e54c5722..ddf515ba 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs @@ -10,4 +10,4 @@ namespace TerraFX.Interop.DirectX D3D12_RESOURCE_HEAP_TIER_1 = 1, D3D12_RESOURCE_HEAP_TIER_2 = 2, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs index ec892d97..51af7a4e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs @@ -38,4 +38,4 @@ namespace TerraFX.Interop.DirectX D3D12_RESOURCE_STATE_VIDEO_ENCODE_READ = 0x200000, D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE = 0x800000, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs index cd962f06..fa024220 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX public D3D12_RESOURCE_STATES StateAfter; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs index e7d212ca..07fb226f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs @@ -9,4 +9,4 @@ namespace TerraFX.Interop.DirectX { public ID3D12Resource* pResource; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs index 5d262c23..1346906a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public uint Num32BitValues; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs index b028b06a..c4f2e61d 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX public uint RegisterSpace; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs index bf1c40db..dacd6e6a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public D3D12_ROOT_DESCRIPTOR_FLAGS Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs index e8e9e898..a2ab1590 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE = 0x4, D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC = 0x8, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs index 65784004..40e7bcda 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("const D3D12_DESCRIPTOR_RANGE *")] public D3D12_DESCRIPTOR_RANGE* pDescriptorRanges; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs index 30050611..93488aee 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("const D3D12_DESCRIPTOR_RANGE1 *")] public D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs index 67b3a313..07e758ab 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs @@ -29,4 +29,4 @@ namespace TerraFX.Interop.DirectX public D3D12_ROOT_DESCRIPTOR Descriptor; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs index 5bfcbdd3..b4f38318 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs @@ -29,4 +29,4 @@ namespace TerraFX.Interop.DirectX public D3D12_ROOT_DESCRIPTOR1 Descriptor; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs index 5d87d02a..e312dee0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_ROOT_PARAMETER_TYPE_SRV = (D3D12_ROOT_PARAMETER_TYPE_CBV + 1), D3D12_ROOT_PARAMETER_TYPE_UAV = (D3D12_ROOT_PARAMETER_TYPE_SRV + 1), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs index 2641edc1..bf2e9911 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX public D3D12_ROOT_SIGNATURE_FLAGS Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs index be1d76b4..d3466c09 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX public D3D12_ROOT_SIGNATURE_FLAGS Flags; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs index 07384aa0..d7fd3687 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs @@ -24,4 +24,4 @@ namespace TerraFX.Interop.DirectX D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED = 0x400, D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED = 0x800, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs index cd12ae03..c2d7b8bd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX D3D12_SAMPLER_FEEDBACK_TIER_0_9 = 90, D3D12_SAMPLER_FEEDBACK_TIER_1_0 = 100, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs index 8f5fc765..76e2f69b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("SIZE_T")] public nuint BytecodeLength; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs index 7a30fa34..4fa92164 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs @@ -14,4 +14,4 @@ namespace TerraFX.Interop.DirectX D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT = 0x1, D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT = 0x2, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs index 7178e92b..2c93e1e6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs @@ -77,4 +77,4 @@ namespace TerraFX.Interop.DirectX public D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV RaytracingAccelerationStructure; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs index 4cd19828..defc97f4 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs @@ -16,4 +16,4 @@ namespace TerraFX.Interop.DirectX D3D12_SHADER_VISIBILITY_AMPLIFICATION = 6, D3D12_SHADER_VISIBILITY_MESH = 7, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs index 01bcb885..ea58c01c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs @@ -20,4 +20,4 @@ namespace TerraFX.Interop.DirectX D3D12_SRV_DIMENSION_TEXTURECUBEARRAY = 10, D3D12_SRV_DIMENSION_RAYTRACING_ACCELERATION_STRUCTURE = 11, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs index 826270fc..2a821e23 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK = (D3D12_STATIC_BORDER_COLOR_TRANSPARENT_BLACK + 1), D3D12_STATIC_BORDER_COLOR_OPAQUE_WHITE = (D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK + 1), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs index 397ff191..591e5b9e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs @@ -33,4 +33,4 @@ namespace TerraFX.Interop.DirectX public D3D12_SHADER_VISIBILITY ShaderVisibility; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs index ca756aee..46cf1e3c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX public uint RowPitch; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs index 5a50100f..e8199e77 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX public float ResourceMinLODClamp; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs index 5c51892e..fb1608d3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public uint ArraySize; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_SRV.cs index 172f1ebf..f1c738d6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_SRV.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public float ResourceMinLODClamp; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_UAV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_UAV.cs index 663bf298..b627e3f6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_UAV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX1D_UAV.cs @@ -9,4 +9,4 @@ namespace TerraFX.Interop.DirectX { public uint MipSlice; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs index 4466146a..4df053d7 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX public uint ArraySize; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs index cbce8f9b..e1732151 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs @@ -9,4 +9,4 @@ namespace TerraFX.Interop.DirectX { public uint UnusedField_NothingToDefine; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs index e1926822..cb532348 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX public float ResourceMinLODClamp; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs index 1902ef3b..f4521313 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX public uint PlaneSlice; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_SRV.cs index 279cc1d5..cbf477db 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_SRV.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX public float ResourceMinLODClamp; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_UAV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_UAV.cs index d7f65038..f3711a8d 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_UAV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX2D_UAV.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX public uint PlaneSlice; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX3D_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX3D_SRV.cs index 01f0294c..9755c9b7 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX3D_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX3D_SRV.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public float ResourceMinLODClamp; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX3D_UAV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX3D_UAV.cs index d76d1cbf..5ebe69b3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX3D_UAV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEX3D_UAV.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public uint WSize; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs index 5df2dd08..77e57686 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX public float ResourceMinLODClamp; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs index 2df89015..d960cb05 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX public float ResourceMinLODClamp; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs index 23fe77f7..5f4b7e28 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_TEXTURE_ADDRESS_MODE_BORDER = 4, D3D12_TEXTURE_ADDRESS_MODE_MIRROR_ONCE = 5, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs index 460d4699..90fdadc8 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs @@ -26,4 +26,4 @@ namespace TerraFX.Interop.DirectX public uint SubresourceIndex; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs index 8b272ff1..06fcf071 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs @@ -10,4 +10,4 @@ namespace TerraFX.Interop.DirectX D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX = 0, D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT = 1, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs index bb67db51..c2a6769a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.DirectX D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE = 2, D3D12_TEXTURE_LAYOUT_64KB_STANDARD_SWIZZLE = 3, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs index 909c8f53..5e4367ef 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_TILED_RESOURCES_TIER_3 = 3, D3D12_TILED_RESOURCES_TIER_4 = 4, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs index db0eeb74..f9a2fbff 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX D3D12_UAV_DIMENSION_TEXTURE2DARRAY = 5, D3D12_UAV_DIMENSION_TEXTURE3D = 8, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs index 3dc4a7fd..61222191 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs @@ -60,4 +60,4 @@ namespace TerraFX.Interop.DirectX public D3D12_TEX3D_UAV Texture3D; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs index f15832d8..6d9a2df1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs @@ -24,4 +24,4 @@ namespace TerraFX.Interop.DirectX public D3D12_ROOT_SIGNATURE_DESC1 Desc_1_1; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs index a31f1890..cc3a4148 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX D3D_ROOT_SIGNATURE_VERSION_1_0 = 0x1, D3D_ROOT_SIGNATURE_VERSION_1_1 = 0x2, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D_SHADER_MODEL.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D_SHADER_MODEL.cs index 944e72ce..5eb99ddd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D_SHADER_MODEL.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/D3D_SHADER_MODEL.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.DirectX D3D_SHADER_MODEL_6_6 = 0x66, D3D_SHADER_MODEL_6_7 = 0x67, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/DirectX.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/DirectX.cs index 58a52f64..dbd4c491 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/DirectX.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/DirectX.cs @@ -20,4 +20,4 @@ namespace TerraFX.Interop.DirectX [DllImport("d3d12", ExactSpelling = true)] public static extern HRESULT D3D12GetDebugInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvDebug); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs index f0e4e20b..5ed9d3e0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs @@ -82,4 +82,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12CommandAllocator*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandList.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandList.cs index 8f56a731..4b3df1fd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandList.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandList.cs @@ -82,4 +82,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12CommandList*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs index f8f9211c..18ef09b7 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs @@ -139,4 +139,4 @@ namespace TerraFX.Interop.DirectX return *((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12CommandQueue*)Unsafe.AsPointer(ref this), &result); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs index d778c6e9..1e6199e5 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs @@ -99,4 +99,4 @@ namespace TerraFX.Interop.DirectX return *((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12DescriptorHeap*)Unsafe.AsPointer(ref this), &result); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Device.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Device.cs index 9e6e5d67..9d6b8832 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Device.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Device.cs @@ -260,4 +260,4 @@ namespace TerraFX.Interop.DirectX return *((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D12Device*)Unsafe.AsPointer(ref this), &result); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs index 2e7d0d58..b991b4a0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs index 4843bac0..71d204bd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Fence.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Fence.cs index fb7b58d5..105ef939 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Fence.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Fence.cs @@ -97,4 +97,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12Fence*)Unsafe.AsPointer(ref this), Value); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs index ffc02277..792b2461 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs @@ -313,4 +313,4 @@ namespace TerraFX.Interop.DirectX ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D12GraphicsCommandList*)Unsafe.AsPointer(ref this), ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource, Values, NumRects, pRects); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Heap.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Heap.cs index 4bb283ef..2c7a5d23 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Heap.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Heap.cs @@ -83,4 +83,4 @@ namespace TerraFX.Interop.DirectX return *((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12Heap*)Unsafe.AsPointer(ref this), &result); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12PipelineState.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12PipelineState.cs index d539b7d8..72ce8174 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12PipelineState.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12PipelineState.cs @@ -82,4 +82,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12PipelineState*)Unsafe.AsPointer(ref this), ppBlob); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Resource.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Resource.cs index a9424e62..7703675a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Resource.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Resource.cs @@ -126,4 +126,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12Resource*)Unsafe.AsPointer(ref this), pHeapProperties, pHeapFlags); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12RootSignature.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12RootSignature.cs index a96f1266..32c6b158 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12RootSignature.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12RootSignature.cs @@ -75,4 +75,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12RootSignature*)Unsafe.AsPointer(ref this), riid, ppvDevice); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs index aa1ba5ff..7b3ad6d3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.DirectX public D3D12_INFO_QUEUE_FILTER_DESC DenyList; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs index e17e66ef..4f756118 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX public D3D12_MESSAGE_ID* pIDList; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs index 84bd7ee1..b8b151da 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("SIZE_T")] public nuint DescriptionByteLength; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs index 452aa7f9..9bd869a8 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX D3D12_MESSAGE_CATEGORY_EXECUTION = (D3D12_MESSAGE_CATEGORY_RESOURCE_MANIPULATION + 1), D3D12_MESSAGE_CATEGORY_SHADER = (D3D12_MESSAGE_CATEGORY_EXECUTION + 1), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs index 2e903d09..7338b20e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs @@ -920,4 +920,4 @@ namespace TerraFX.Interop.DirectX D3D12_MESSAGE_ID_EMPTY_ROOT_DESCRIPTOR_TABLE = 1347, D3D12_MESSAGE_ID_D3D12_MESSAGES_END = (D3D12_MESSAGE_ID_EMPTY_ROOT_DESCRIPTOR_TABLE + 1) } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs index 1f581650..6b4d04f0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX D3D12_MESSAGE_SEVERITY_INFO = (D3D12_MESSAGE_SEVERITY_WARNING + 1), D3D12_MESSAGE_SEVERITY_MESSAGE = (D3D12_MESSAGE_SEVERITY_INFO + 1), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs index b0016aac..77ae9f48 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs @@ -47,4 +47,4 @@ namespace TerraFX.Interop.DirectX ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12Debug*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs index ab77db14..74369008 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs @@ -61,4 +61,4 @@ namespace TerraFX.Interop.DirectX ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12Debug1*)Unsafe.AsPointer(ref this), Enable); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs index d72c17b3..b7861744 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs @@ -291,4 +291,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs index 0e0f144d..cd140914 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs @@ -84,4 +84,4 @@ namespace TerraFX.Interop.DirectX public uint cTextureStoreInstructions; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs index cc101764..afa9e9a8 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs @@ -118,4 +118,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs index 46e6acd5..649ba020 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.DirectX D3D_FEATURE_LEVEL_12_1 = 0xc100, D3D_FEATURE_LEVEL_12_2 = 0xc200, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_PRIMITIVE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_PRIMITIVE.cs index 9c838be7..7088a7c2 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_PRIMITIVE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_PRIMITIVE.cs @@ -90,4 +90,4 @@ namespace TerraFX.Interop.DirectX D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH = D3D_PRIMITIVE_31_CONTROL_POINT_PATCH, D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH = D3D_PRIMITIVE_32_CONTROL_POINT_PATCH, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs index 3e404b74..b1868f5f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs @@ -102,4 +102,4 @@ namespace TerraFX.Interop.DirectX D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST, D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs index a11b609d..f3ea9772 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs @@ -16,4 +16,4 @@ namespace TerraFX.Interop.DirectX D3D11_TESSELLATOR_DOMAIN_TRI = D3D_TESSELLATOR_DOMAIN_TRI, D3D11_TESSELLATOR_DOMAIN_QUAD = D3D_TESSELLATOR_DOMAIN_QUAD, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs index 9a61e1bf..d2aedc60 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs @@ -18,4 +18,4 @@ namespace TerraFX.Interop.DirectX D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CW = D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW, D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CCW = D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs index e66227c6..56c56e1e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs @@ -18,4 +18,4 @@ namespace TerraFX.Interop.DirectX D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD, D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/ID3DBlob.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/ID3DBlob.cs index 5eebe81e..d3723f11 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/ID3DBlob.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/ID3DBlob.cs @@ -58,4 +58,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3DBlob*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/CLSID.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/CLSID.cs index 7407b4fa..ff7c3090 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/CLSID.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/CLSID.cs @@ -62,4 +62,4 @@ namespace TerraFX.Interop.Windows } } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/DxcBuffer.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/DxcBuffer.cs index af729794..819561c4 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/DxcBuffer.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/DxcBuffer.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.DirectX public uint Encoding; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/DxcDefine.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/DxcDefine.cs index 66c66be1..6071c20b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/DxcDefine.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/DxcDefine.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("LPCWSTR")] public ushort* Value; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlob.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlob.cs index 69749bd2..15a678e6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlob.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlob.cs @@ -56,4 +56,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcBlob*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs index 23938046..03ca39e4 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs @@ -63,4 +63,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcBlobEncoding*)Unsafe.AsPointer(ref this), pKnown, pCodePage); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompiler.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompiler.cs index 40595635..55c7c7c6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompiler.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompiler.cs @@ -61,4 +61,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcCompiler*)Unsafe.AsPointer(ref this), pSource, ppDisassembly); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs index 85acc27d..a5f035dd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs @@ -47,4 +47,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcIncludeHandler*)Unsafe.AsPointer(ref this), pFilename, ppIncludeSource); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcLibrary.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcLibrary.cs index 0a2b65b2..9e0ce2b5 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcLibrary.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcLibrary.cs @@ -96,4 +96,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pBlob, pBlobEncoding); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcOperationResult.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcOperationResult.cs index c6327c9d..8b193c8e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcOperationResult.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcOperationResult.cs @@ -61,4 +61,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcOperationResult*)Unsafe.AsPointer(ref this), ppErrors); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcUtils.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcUtils.cs index e813c145..4c92f3a9 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcUtils.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcUtils.cs @@ -103,4 +103,4 @@ namespace TerraFX.Interop.DirectX return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDxcUtils*)Unsafe.AsPointer(ref this), pPDBBlob, ppHash, ppContainer); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs b/src/TerraFX.Interop.Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs index 70c0ba9b..702fe621 100644 --- a/src/TerraFX.Interop.Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs +++ b/src/TerraFX.Interop.Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs @@ -50,4 +50,4 @@ namespace TerraFX.Interop.WinRT return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ISwapChainPanelNative*)Unsafe.AsPointer(ref this), swapChain); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/BOOL.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/BOOL.cs index 9df0d783..6698a75a 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/BOOL.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/BOOL.cs @@ -99,4 +99,4 @@ namespace TerraFX.Interop.Windows public string ToString(string? format, IFormatProvider? formatProvider) => Value.ToString(format, formatProvider); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/HANDLE.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/HANDLE.cs index 659ab402..cca80e73 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/HANDLE.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/HANDLE.cs @@ -95,4 +95,4 @@ namespace TerraFX.Interop.Windows public string ToString(string? format, IFormatProvider? formatProvider) => ((nuint)(Value)).ToString(format, formatProvider); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/HRESULT.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/HRESULT.cs index 72932ea0..efd5b460 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/HRESULT.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/HRESULT.cs @@ -87,4 +87,4 @@ namespace TerraFX.Interop.Windows public string ToString(string? format, IFormatProvider? formatProvider) => Value.ToString(format, formatProvider); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/HWND.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/HWND.cs index bd2e4ae4..5b66968d 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/HWND.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/HWND.cs @@ -99,4 +99,4 @@ namespace TerraFX.Interop.Windows public string ToString(string? format, IFormatProvider? formatProvider) => ((nuint)(Value)).ToString(format, formatProvider); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/LPARAM.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/LPARAM.cs index 4876b7aa..5225af47 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/LPARAM.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/LPARAM.cs @@ -87,4 +87,4 @@ namespace TerraFX.Interop.Windows public string ToString(string? format, IFormatProvider? formatProvider) => Value.ToString(format, formatProvider); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/LRESULT.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/LRESULT.cs index fd7aebc6..30bbbb1c 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/LRESULT.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/LRESULT.cs @@ -87,4 +87,4 @@ namespace TerraFX.Interop.Windows public string ToString(string? format, IFormatProvider? formatProvider) => Value.ToString(format, formatProvider); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/NativeInheritanceAttribute.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/NativeInheritanceAttribute.cs index 66b88a86..11144f8f 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/NativeInheritanceAttribute.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/NativeInheritanceAttribute.cs @@ -22,4 +22,4 @@ namespace TerraFX.Interop /// Gets the name of the base type that was inherited from in the native signature. public string Name => _name; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/NativeTypeNameAttribute.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/NativeTypeNameAttribute.cs index 0ae70d8e..6110bbd5 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/NativeTypeNameAttribute.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/NativeTypeNameAttribute.cs @@ -22,4 +22,4 @@ namespace TerraFX.Interop /// Gets the name of the type that was used in the native signature. public string Name => _name; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/VtblIndexAttribute.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/VtblIndexAttribute.cs index 020fa7ec..470524a6 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/VtblIndexAttribute.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/VtblIndexAttribute.cs @@ -22,4 +22,4 @@ namespace TerraFX.Interop /// Gets the vtbl index of a method as it was in the native signature. public uint Index => _index; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/other/helper-types/WPARAM.cs b/src/TerraFX.Interop.Windows/Windows/other/helper-types/WPARAM.cs index aeb196d5..b4e1dca2 100644 --- a/src/TerraFX.Interop.Windows/Windows/other/helper-types/WPARAM.cs +++ b/src/TerraFX.Interop.Windows/Windows/other/helper-types/WPARAM.cs @@ -87,4 +87,4 @@ namespace TerraFX.Interop.Windows public string ToString(string? format, IFormatProvider? formatProvider) => Value.ToString(format, formatProvider); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/shared/minwindef/FILETIME.cs b/src/TerraFX.Interop.Windows/Windows/shared/minwindef/FILETIME.cs index 0f4ac886..cbe5ec45 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/minwindef/FILETIME.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/minwindef/FILETIME.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/minwindef.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/Windows/shared/minwindef/Windows.cs b/src/TerraFX.Interop.Windows/Windows/shared/minwindef/Windows.cs index 71839e47..21bc8d56 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/minwindef/Windows.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/minwindef/Windows.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.Windows [NativeTypeName("#define TRUE 1")] public const int TRUE = 1; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/shared/uuids/Windows.Manual.cs b/src/TerraFX.Interop.Windows/Windows/shared/uuids/Windows.Manual.cs index 5d6b72ff..538347d2 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/uuids/Windows.Manual.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/uuids/Windows.Manual.cs @@ -22,7 +22,7 @@ namespace TerraFX.Interop.Windows { return new UuidOfType(UUID.RIID); } - + /// Retrieves the GUID of of a specified type. /// A pointer to a value of type . /// The type to retrieve the GUID for. @@ -83,4 +83,4 @@ namespace TerraFX.Interop.Windows } } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/shared/winerror/DXGI.cs b/src/TerraFX.Interop.Windows/Windows/shared/winerror/DXGI.cs index 51fff5e3..40db8076 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/winerror/DXGI.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/winerror/DXGI.cs @@ -142,4 +142,4 @@ namespace TerraFX.Interop.DirectX [NativeTypeName("#define DXGI_DDI_ERR_NONEXCLUSIVE _HRESULT_TYPEDEF_(0x887B0003L)")] public const int DXGI_DDI_ERR_NONEXCLUSIVE = unchecked((int)(0x887B0003)); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/shared/winerror/E.cs b/src/TerraFX.Interop.Windows/Windows/shared/winerror/E.cs index 50c6ed0c..78e3906b 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/winerror/E.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/winerror/E.cs @@ -364,4 +364,4 @@ namespace TerraFX.Interop.Windows [NativeTypeName("#define E_PROTOCOL_VERSION_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x83760005L)")] public const int E_PROTOCOL_VERSION_NOT_SUPPORTED = unchecked((int)(0x83760005)); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/shared/winerror/S.cs b/src/TerraFX.Interop.Windows/Windows/shared/winerror/S.cs index ed02e8c5..ad5ccf3f 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/winerror/S.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/winerror/S.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.Windows [NativeTypeName("#define S_FALSE ((HRESULT)1L)")] public const int S_FALSE = ((int)(1)); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/shared/winerror/STG.cs b/src/TerraFX.Interop.Windows/Windows/shared/winerror/STG.cs index 80db6d81..a5e814e8 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/winerror/STG.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/winerror/STG.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/Windows/shared/winerror/Windows.Manual.cs b/src/TerraFX.Interop.Windows/Windows/shared/winerror/Windows.Manual.cs index 55c30aed..304a4a26 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/winerror/Windows.Manual.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/winerror/Windows.Manual.cs @@ -17,4 +17,4 @@ namespace TerraFX.Interop.Windows return hr < 0; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/shared/wtypes/STATFLAG.cs b/src/TerraFX.Interop.Windows/Windows/shared/wtypes/STATFLAG.cs index 9a1a5369..2bc25802 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/wtypes/STATFLAG.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/wtypes/STATFLAG.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/wtypes.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/Windows/shared/wtypesbase/CLSCTX.cs b/src/TerraFX.Interop.Windows/Windows/shared/wtypesbase/CLSCTX.cs index d7bfe4ce..5a4290c1 100644 --- a/src/TerraFX.Interop.Windows/Windows/shared/wtypesbase/CLSCTX.cs +++ b/src/TerraFX.Interop.Windows/Windows/shared/wtypesbase/CLSCTX.cs @@ -35,4 +35,4 @@ namespace TerraFX.Interop.Windows CLSCTX_ACTIVATE_ARM32_SERVER = 0x2000000, CLSCTX_PS_DLL = unchecked((int)(0x80000000)), } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IID.cs b/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IID.cs index e5f657bf..f4d7959c 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IID.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IID.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/Unknwnbase.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IUnknown.cs b/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IUnknown.cs index 10af550b..5d110e63 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IUnknown.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IUnknown.cs @@ -39,4 +39,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/WinBase/Windows.cs b/src/TerraFX.Interop.Windows/Windows/um/WinBase/Windows.cs index eb881c81..f2c0bc0d 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/WinBase/Windows.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/WinBase/Windows.cs @@ -18,4 +18,4 @@ namespace TerraFX.Interop.Windows [NativeTypeName("#define INFINITE 0xFFFFFFFF")] public const uint INFINITE = 0xFFFFFFFF; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/combaseapi/Windows.cs b/src/TerraFX.Interop.Windows/Windows/um/combaseapi/Windows.cs index 7c3536ba..828064f8 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/combaseapi/Windows.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/combaseapi/Windows.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.Windows [DllImport("ole32", ExactSpelling = true)] public static extern HRESULT CoCreateInstance([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("LPUNKNOWN")] IUnknown* pUnkOuter, [NativeTypeName("DWORD")] uint dwClsContext, [NativeTypeName("const IID &")] Guid* riid, [NativeTypeName("LPVOID *")] void** ppv); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/coml2api/STGM.cs b/src/TerraFX.Interop.Windows/Windows/um/coml2api/STGM.cs index 8e541953..7cbd5295 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/coml2api/STGM.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/coml2api/STGM.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/coml2api.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/Windows/um/handleapi/Windows.cs b/src/TerraFX.Interop.Windows/Windows/um/handleapi/Windows.cs index 3670f39e..3bfff7c8 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/handleapi/Windows.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/handleapi/Windows.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.Windows [DllImport("kernel32", ExactSpelling = true)] public static extern BOOL CloseHandle(HANDLE hObject); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs b/src/TerraFX.Interop.Windows/Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs index 91554d31..3b1c2ef9 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.Windows public BOOL bInheritHandle; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IID.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IID.cs index 4475b9f7..50d17b3f 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IID.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IID.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/objidlbase.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IStream.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IStream.cs index 637adbfc..947e745e 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IStream.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IStream.cs @@ -116,4 +116,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IStream*)Unsafe.AsPointer(ref this), ppstm); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/STATSTG.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/STATSTG.cs index 1f843abb..40d1c92d 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/STATSTG.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/STATSTG.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/objidlbase.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/STGTY.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/STGTY.cs index 7fd183ca..cd7dc868 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/STGTY.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/STGTY.cs @@ -1,4 +1,4 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/objidlbase.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. diff --git a/src/TerraFX.Interop.Windows/Windows/um/synchapi/Windows.cs b/src/TerraFX.Interop.Windows/Windows/um/synchapi/Windows.cs index df33571b..304391ae 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/synchapi/Windows.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/synchapi/Windows.cs @@ -16,4 +16,4 @@ namespace TerraFX.Interop.Windows [return: NativeTypeName("DWORD")] public static extern uint WaitForSingleObjectEx(HANDLE hHandle, [NativeTypeName("DWORD")] uint dwMilliseconds, BOOL bAlertable); } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/CLSID.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/CLSID.cs index b41a9c11..76ddae4e 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/CLSID.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/CLSID.cs @@ -762,4 +762,4 @@ namespace TerraFX.Interop.Windows } } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/GUID.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/GUID.cs index e010f513..b97850e1 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/GUID.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/GUID.cs @@ -312,4 +312,4 @@ namespace TerraFX.Interop.Windows } } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmap.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmap.cs index 9a11a6b5..5a7d8e9d 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmap.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmap.cs @@ -88,4 +88,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICBitmap*)Unsafe.AsPointer(ref this), dpiX, dpiY); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoder.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoder.cs index ed01c970..e9a466b9 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoder.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoder.cs @@ -95,4 +95,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), index, ppIBitmapFrame); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoder.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoder.cs index 018f4b80..5c98e41b 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoder.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoder.cs @@ -88,4 +88,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameDecode.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameDecode.cs index cfa35e32..7f124edc 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameDecode.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameDecode.cs @@ -81,4 +81,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICBitmapFrameDecode*)Unsafe.AsPointer(ref this), ppIThumbnail); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameEncode.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameEncode.cs index 7af93722..369651f2 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameEncode.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameEncode.cs @@ -102,4 +102,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this)); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapSource.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapSource.cs index 439b5c54..200549f4 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapSource.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapSource.cs @@ -74,4 +74,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmapSource*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFormatConverter.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFormatConverter.cs index e8eb2513..2b0947f8 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFormatConverter.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFormatConverter.cs @@ -88,4 +88,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICFormatConverter*)Unsafe.AsPointer(ref this), srcPixelFormat, dstPixelFormat, pfCanConvert); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory2.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory2.cs index d0a1be4a..9525950d 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory2.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory2.cs @@ -125,4 +125,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IWICImagingFactory2*)Unsafe.AsPointer(ref this), uiWidth, uiHeight, pixelFormat, cbStride, cbBufferSize, pbBuffer, ppIBitmap); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICPalette.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICPalette.cs index a6f6ae88..ffca1860 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICPalette.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICPalette.cs @@ -109,4 +109,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICPalette*)Unsafe.AsPointer(ref this), pfHasAlpha); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICStream.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICStream.cs index f5af19fa..34511f33 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICStream.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICStream.cs @@ -137,4 +137,4 @@ namespace TerraFX.Interop.Windows return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IWICStream*)Unsafe.AsPointer(ref this), pIStream, ulOffset, ulMaxSize); } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapAlphaChannelOption.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapAlphaChannelOption.cs index 80243f3a..d14bed70 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapAlphaChannelOption.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapAlphaChannelOption.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.Windows WICBitmapIgnoreAlpha = 0x2, WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = 0x7fffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapCreateCacheOption.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapCreateCacheOption.cs index 1a9148a0..c979fea1 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapCreateCacheOption.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapCreateCacheOption.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.Windows WICBitmapCacheOnLoad = 0x2, WICBITMAPCREATECACHEOPTION_FORCE_DWORD = 0x7fffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapDitherType.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapDitherType.cs index 5f0a140e..12fb192d 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapDitherType.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapDitherType.cs @@ -19,4 +19,4 @@ namespace TerraFX.Interop.Windows WICBitmapDitherTypeErrorDiffusion = 0x8, WICBITMAPDITHERTYPE_FORCE_DWORD = 0x7fffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapEncoderCacheOption.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapEncoderCacheOption.cs index 29be991b..1dd96305 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapEncoderCacheOption.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapEncoderCacheOption.cs @@ -12,4 +12,4 @@ namespace TerraFX.Interop.Windows WICBitmapEncoderNoCache = 0x2, WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = 0x7fffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapPaletteType.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapPaletteType.cs index 96a27dbd..f6c1faac 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapPaletteType.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICBitmapPaletteType.cs @@ -23,4 +23,4 @@ namespace TerraFX.Interop.Windows WICBitmapPaletteTypeFixedGray256 = 0xc, WICBITMAPPALETTETYPE_FORCE_DWORD = 0x7fffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICDecodeOptions.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICDecodeOptions.cs index 4ef516c3..cb047273 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICDecodeOptions.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICDecodeOptions.cs @@ -11,4 +11,4 @@ namespace TerraFX.Interop.Windows WICDecodeMetadataCacheOnLoad = 0x1, WICMETADATACACHEOPTION_FORCE_DWORD = 0x7fffffff, } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICRect.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICRect.cs index fd1a94e1..1a5921f4 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICRect.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/WICRect.cs @@ -15,4 +15,4 @@ namespace TerraFX.Interop.Windows public int Height; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/winnt/LARGE_INTEGER.cs b/src/TerraFX.Interop.Windows/Windows/um/winnt/LARGE_INTEGER.cs index 190fad7f..b7bc8246 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/winnt/LARGE_INTEGER.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/winnt/LARGE_INTEGER.cs @@ -40,4 +40,4 @@ namespace TerraFX.Interop.Windows public int HighPart; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/winnt/LUID.cs b/src/TerraFX.Interop.Windows/Windows/um/winnt/LUID.cs index 10088097..361feb25 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/winnt/LUID.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/winnt/LUID.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.Windows [NativeTypeName("LONG")] public int HighPart; } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/winnt/ULARGE_INTEGER.cs b/src/TerraFX.Interop.Windows/Windows/um/winnt/ULARGE_INTEGER.cs index 9aa28922..c2210819 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/winnt/ULARGE_INTEGER.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/winnt/ULARGE_INTEGER.cs @@ -40,4 +40,4 @@ namespace TerraFX.Interop.Windows public uint HighPart; } } -} +} \ No newline at end of file diff --git a/src/TerraFX.Interop.Windows/Windows/um/winnt/Windows.cs b/src/TerraFX.Interop.Windows/Windows/um/winnt/Windows.cs index c3b5a2cc..c89422be 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/winnt/Windows.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/winnt/Windows.cs @@ -13,4 +13,4 @@ namespace TerraFX.Interop.Windows [NativeTypeName("#define GENERIC_WRITE (0x40000000L)")] public const int GENERIC_WRITE = (0x40000000); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/D2D1PixelShaderTests.cs b/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/D2D1PixelShaderTests.cs index 481ff5d3..cf350586 100644 --- a/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/D2D1PixelShaderTests.cs +++ b/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/D2D1PixelShaderTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Interop; diff --git a/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/Properties/AssemblyInfo.cs b/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/Properties/AssemblyInfo.cs index 24c73837..896d16dc 100644 --- a/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/Properties/AssemblyInfo.cs +++ b/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -using ComputeSharp.D2D1; +using ComputeSharp.D2D1; [assembly: D2DShaderProfile(D2D1ShaderProfile.PixelShader41)] [assembly: D2DCompileOptions(D2D1CompileOptions.IeeeStrictness | D2D1CompileOptions.OptimizationLevel2 | D2D1CompileOptions.PartialPrecision)] \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/D2D1EffectRegistrationDataTests.cs b/tests/ComputeSharp.D2D1.Tests/D2D1EffectRegistrationDataTests.cs index bb896c9b..ce7c9710 100644 --- a/tests/ComputeSharp.D2D1.Tests/D2D1EffectRegistrationDataTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/D2D1EffectRegistrationDataTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.D2D1.Interop; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/tests/ComputeSharp.D2D1.Tests/D2D1PixelShaderEffectTests.cs b/tests/ComputeSharp.D2D1.Tests/D2D1PixelShaderEffectTests.cs index d2dc4479..74906e55 100644 --- a/tests/ComputeSharp.D2D1.Tests/D2D1PixelShaderEffectTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/D2D1PixelShaderEffectTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Drawing; using ComputeSharp.D2D1.Interop; diff --git a/tests/ComputeSharp.D2D1.Tests/D2D1PixelShaderTests.cs b/tests/ComputeSharp.D2D1.Tests/D2D1PixelShaderTests.cs index ba821605..33d6a7ef 100644 --- a/tests/ComputeSharp.D2D1.Tests/D2D1PixelShaderTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/D2D1PixelShaderTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Interop; diff --git a/tests/ComputeSharp.D2D1.Tests/D2D1ResourceTextureManagerTests.cs b/tests/ComputeSharp.D2D1.Tests/D2D1ResourceTextureManagerTests.cs index ee6a3673..22f7dfd9 100644 --- a/tests/ComputeSharp.D2D1.Tests/D2D1ResourceTextureManagerTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/D2D1ResourceTextureManagerTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.IO; using System.Reflection; diff --git a/tests/ComputeSharp.D2D1.Tests/D2D1ResourceTextureUninitializedFieldDiagnosticSuppressorTests.cs b/tests/ComputeSharp.D2D1.Tests/D2D1ResourceTextureUninitializedFieldDiagnosticSuppressorTests.cs index 7a633d51..9d001184 100644 --- a/tests/ComputeSharp.D2D1.Tests/D2D1ResourceTextureUninitializedFieldDiagnosticSuppressorTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/D2D1ResourceTextureUninitializedFieldDiagnosticSuppressorTests.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Tests; +namespace ComputeSharp.D2D1.Tests; /// /// A test class for the diagnostic suppressor for D2D1 resource texture fields being left uninitialized. @@ -16,4 +16,4 @@ internal sealed partial class D2D1ResourceTextureUninitializedFieldDiagnosticSup public float4 Execute() => texture[0]; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/D2D1ShaderCompilerTests.cs b/tests/ComputeSharp.D2D1.Tests/D2D1ShaderCompilerTests.cs index f2f0e6c5..271a5e8f 100644 --- a/tests/ComputeSharp.D2D1.Tests/D2D1ShaderCompilerTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/D2D1ShaderCompilerTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.D2D1.Exceptions; using ComputeSharp.D2D1.Interop; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/tests/ComputeSharp.D2D1.Tests/D2DPixelShaderSourceTests.cs b/tests/ComputeSharp.D2D1.Tests/D2DPixelShaderSourceTests.cs index 8b910614..89dbf5cb 100644 --- a/tests/ComputeSharp.D2D1.Tests/D2DPixelShaderSourceTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/D2DPixelShaderSourceTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ComputeSharp.D2D1.Tests; diff --git a/tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs b/tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs index 69ef4797..e04c9064 100644 --- a/tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs +++ b/tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; @@ -633,4 +633,4 @@ public sealed partial class BokehBlurEffect return pixel; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/Effects/CheckerboardClipEffect.cs b/tests/ComputeSharp.D2D1.Tests/Effects/CheckerboardClipEffect.cs index b7a02601..612dd11e 100644 --- a/tests/ComputeSharp.D2D1.Tests/Effects/CheckerboardClipEffect.cs +++ b/tests/ComputeSharp.D2D1.Tests/Effects/CheckerboardClipEffect.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Tests.Effects; +namespace ComputeSharp.D2D1.Tests.Effects; [D2DInputCount(1)] [D2DInputSimple(0)] @@ -29,4 +29,4 @@ public partial struct CheckerboardClipEffect : ID2D1PixelShader return D2D.GetInput(0); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/Effects/InvertEffect.cs b/tests/ComputeSharp.D2D1.Tests/Effects/InvertEffect.cs index dbf1dccf..b48972cc 100644 --- a/tests/ComputeSharp.D2D1.Tests/Effects/InvertEffect.cs +++ b/tests/ComputeSharp.D2D1.Tests/Effects/InvertEffect.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Tests.Effects; +namespace ComputeSharp.D2D1.Tests.Effects; [D2DInputCount(1)] [D2DInputSimple(0)] @@ -13,4 +13,4 @@ public partial struct InvertEffect : ID2D1PixelShader return new(rgb, 1); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/Effects/InvertWithThresholdEffect.cs b/tests/ComputeSharp.D2D1.Tests/Effects/InvertWithThresholdEffect.cs index 6d0d9698..542ed490 100644 --- a/tests/ComputeSharp.D2D1.Tests/Effects/InvertWithThresholdEffect.cs +++ b/tests/ComputeSharp.D2D1.Tests/Effects/InvertWithThresholdEffect.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Tests.Effects; +namespace ComputeSharp.D2D1.Tests.Effects; [D2DInputCount(1)] [D2DInputSimple(0)] @@ -16,4 +16,4 @@ public partial struct InvertWithThresholdEffect : ID2D1PixelShader return new(rgb, 1); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/Effects/PixelateEffect.cs b/tests/ComputeSharp.D2D1.Tests/Effects/PixelateEffect.cs index bf330069..161077a3 100644 --- a/tests/ComputeSharp.D2D1.Tests/Effects/PixelateEffect.cs +++ b/tests/ComputeSharp.D2D1.Tests/Effects/PixelateEffect.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.D2D1.Tests.Effects; +namespace ComputeSharp.D2D1.Tests.Effects; [D2DInputCount(1)] [D2DInputComplex(0)] diff --git a/tests/ComputeSharp.D2D1.Tests/Effects/ZonePlateEffect.cs b/tests/ComputeSharp.D2D1.Tests/Effects/ZonePlateEffect.cs index af460bfd..718e0569 100644 --- a/tests/ComputeSharp.D2D1.Tests/Effects/ZonePlateEffect.cs +++ b/tests/ComputeSharp.D2D1.Tests/Effects/ZonePlateEffect.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.D2D1.Tests.Effects; @@ -38,4 +38,4 @@ public readonly partial struct ZonePlateEffect : ID2D1PixelShader return new Float4(v, v, v, 1.0f); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/EndToEndTests.cs b/tests/ComputeSharp.D2D1.Tests/EndToEndTests.cs index 72dc3dbf..c950d65c 100644 --- a/tests/ComputeSharp.D2D1.Tests/EndToEndTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/EndToEndTests.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Reflection; using ComputeSharp.BokehBlur.Processors; using ComputeSharp.D2D1.Interop; diff --git a/tests/ComputeSharp.D2D1.Tests/Extensions/ComPtrExtensions.cs b/tests/ComputeSharp.D2D1.Tests/Extensions/ComPtrExtensions.cs index 93074a24..a9c23451 100644 --- a/tests/ComputeSharp.D2D1.Tests/Extensions/ComPtrExtensions.cs +++ b/tests/ComputeSharp.D2D1.Tests/Extensions/ComPtrExtensions.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; using Win32; namespace ComputeSharp.D2D1.Tests.Extensions; @@ -25,4 +25,4 @@ internal static class ComPtrExtensions return copy; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/Extensions/HRESULTExtensions.cs b/tests/ComputeSharp.D2D1.Tests/Extensions/HRESULTExtensions.cs index e0fc8004..392b79e5 100644 --- a/tests/ComputeSharp.D2D1.Tests/Extensions/HRESULTExtensions.cs +++ b/tests/ComputeSharp.D2D1.Tests/Extensions/HRESULTExtensions.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; using System.Diagnostics; #if NETCOREAPP3_1_OR_GREATER using System.Diagnostics.CodeAnalysis; @@ -55,4 +55,4 @@ internal static class HRESULTExtensions { throw new Win32Exception(result); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/Helpers/D2D1Helper.cs b/tests/ComputeSharp.D2D1.Tests/Helpers/D2D1Helper.cs index 656e7961..e0d9e554 100644 --- a/tests/ComputeSharp.D2D1.Tests/Helpers/D2D1Helper.cs +++ b/tests/ComputeSharp.D2D1.Tests/Helpers/D2D1Helper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Drawing; using ComputeSharp.D2D1.Tests.Extensions; using Win32; @@ -262,4 +262,4 @@ internal static class D2D1Helper d2D1DeviceContext->EndDraw().Assert(); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/Helpers/D2D1TestRunner.cs b/tests/ComputeSharp.D2D1.Tests/Helpers/D2D1TestRunner.cs index 7b414e7d..f40e5af6 100644 --- a/tests/ComputeSharp.D2D1.Tests/Helpers/D2D1TestRunner.cs +++ b/tests/ComputeSharp.D2D1.Tests/Helpers/D2D1TestRunner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; @@ -168,4 +168,4 @@ internal static class D2D1TestRunner // Save the image ImageHelper.SaveBitmapToFile(destinationPath, (uint)width, (uint)height, d2D1MappedRect.pitch, d2D1MappedRect.bits); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.D2D1.Tests/Helpers/ImageHelper.cs b/tests/ComputeSharp.D2D1.Tests/Helpers/ImageHelper.cs index d5489726..a31a5685 100644 --- a/tests/ComputeSharp.D2D1.Tests/Helpers/ImageHelper.cs +++ b/tests/ComputeSharp.D2D1.Tests/Helpers/ImageHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.Runtime.InteropServices; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -60,4 +60,4 @@ internal static class ImageHelper ArrayPool.Shared.Return(pixelData); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Dynamic.NuGet/Program.cs b/tests/ComputeSharp.Dynamic.NuGet/Program.cs index 55fd170e..32dccd17 100644 --- a/tests/ComputeSharp.Dynamic.NuGet/Program.cs +++ b/tests/ComputeSharp.Dynamic.NuGet/Program.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Linq; #if NET6_0_OR_GREATER using System.Runtime.Versioning; @@ -39,4 +39,4 @@ internal readonly partial struct MultiplyByTwo : IComputeShader { buffer[ThreadIds.X] *= 2; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.NuGet/Program.cs b/tests/ComputeSharp.NuGet/Program.cs index b357113c..bb7fb0d3 100644 --- a/tests/ComputeSharp.NuGet/Program.cs +++ b/tests/ComputeSharp.NuGet/Program.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Linq; #if NET6_0_OR_GREATER using System.Runtime.Versioning; @@ -40,4 +40,4 @@ internal readonly partial struct MultiplyByTwo : IComputeShader { buffer[ThreadIds.X] *= 2; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Pix.NuGet/Program.cs b/tests/ComputeSharp.Pix.NuGet/Program.cs index 9fa7a379..aa32da46 100644 --- a/tests/ComputeSharp.Pix.NuGet/Program.cs +++ b/tests/ComputeSharp.Pix.NuGet/Program.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.Linq; #if NET6_0_OR_GREATER using System.Runtime.Versioning; @@ -46,4 +46,4 @@ internal readonly partial struct MultiplyByTwo : IComputeShader { buffer[ThreadIds.X] *= 2; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DeviceLost/DeviceDisposalTests.cs b/tests/ComputeSharp.Tests.DeviceLost/DeviceDisposalTests.cs index 7d2c3be4..2caa1f97 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/DeviceDisposalTests.cs +++ b/tests/ComputeSharp.Tests.DeviceLost/DeviceDisposalTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Interop; using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.DeviceLost.Helpers; @@ -175,4 +175,4 @@ public partial class DeviceDisposalTests return new(col, 1f); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DeviceLost/DeviceLostTests.cs b/tests/ComputeSharp.Tests.DeviceLost/DeviceLostTests.cs index 58895f94..dbef514d 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/DeviceLostTests.cs +++ b/tests/ComputeSharp.Tests.DeviceLost/DeviceLostTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; using ComputeSharp.Tests.Attributes; @@ -155,4 +155,4 @@ public class DeviceLostTests using var _ = graphicsDevice.CreateComputeContext(); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DeviceLost/Extensions/DeviceExtensions.cs b/tests/ComputeSharp.Tests.DeviceLost/Extensions/DeviceExtensions.cs index 983083bb..a15bd748 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/Extensions/DeviceExtensions.cs +++ b/tests/ComputeSharp.Tests.DeviceLost/Extensions/DeviceExtensions.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using CommunityToolkit.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -33,7 +33,7 @@ public static class DeviceExtensions case Device.Discrete: Assert.Inconclusive(); break; case Device.Warp: Assert.Fail(); break; } - + } return device!; @@ -54,4 +54,4 @@ public enum Device /// A WARP device (software fallback). /// Warp -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DeviceLost/GetDefaultDeviceTests.cs b/tests/ComputeSharp.Tests.DeviceLost/GetDefaultDeviceTests.cs index bbfe9ddd..f4de275a 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/GetDefaultDeviceTests.cs +++ b/tests/ComputeSharp.Tests.DeviceLost/GetDefaultDeviceTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using ComputeSharp.Tests.DeviceLost.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -119,4 +119,4 @@ public class GetDefaultDeviceTests Assert.AreEqual(1u, GraphicsDeviceHelper.GetD3D12DeviceRefCount(in d3D12Device)); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DeviceLost/Helpers/GraphicsDeviceHelper.cs b/tests/ComputeSharp.Tests.DeviceLost/Helpers/GraphicsDeviceHelper.cs index cbc4499c..a96569ff 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/Helpers/GraphicsDeviceHelper.cs +++ b/tests/ComputeSharp.Tests.DeviceLost/Helpers/GraphicsDeviceHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using ComputeSharp.Interop; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -94,4 +94,4 @@ internal static class GraphicsDeviceHelper await tcs.Task; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DeviceLost/Properties/AssemblyInfo.cs b/tests/ComputeSharp.Tests.DeviceLost/Properties/AssemblyInfo.cs index 8ed86d91..fb369378 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/Properties/AssemblyInfo.cs +++ b/tests/ComputeSharp.Tests.DeviceLost/Properties/AssemblyInfo.cs @@ -1,3 +1,3 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; -[assembly: DoNotParallelize] +[assembly: DoNotParallelize] \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DeviceLost/TerraFX.Interop.Windows/ID3D12Device5.cs b/tests/ComputeSharp.Tests.DeviceLost/TerraFX.Interop.Windows/ID3D12Device5.cs index d81d75aa..4523e099 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/TerraFX.Interop.Windows/ID3D12Device5.cs +++ b/tests/ComputeSharp.Tests.DeviceLost/TerraFX.Interop.Windows/ID3D12Device5.cs @@ -30,4 +30,4 @@ namespace TerraFX.Interop.DirectX } } -#endif +#endif \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DisableDynamicCompilation/DispatchTests.cs b/tests/ComputeSharp.Tests.DisableDynamicCompilation/DispatchTests.cs index e0815693..1b28e09f 100644 --- a/tests/ComputeSharp.Tests.DisableDynamicCompilation/DispatchTests.cs +++ b/tests/ComputeSharp.Tests.DisableDynamicCompilation/DispatchTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.Extensions; @@ -97,4 +97,4 @@ public partial class DispatchTests return new(ThreadIds.Normalized.X, ThreadIds.Normalized.Y, b, a); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.GlobalStatements/Program.cs b/tests/ComputeSharp.Tests.GlobalStatements/Program.cs index a9507482..b4cdd3ac 100644 --- a/tests/ComputeSharp.Tests.GlobalStatements/Program.cs +++ b/tests/ComputeSharp.Tests.GlobalStatements/Program.cs @@ -1,4 +1,4 @@ -using ComputeSharp; +using ComputeSharp; using Microsoft.VisualStudio.TestTools.UnitTesting; float[] numbers = Enumerable.Range(0, 128).Select(i => (float)i).ToArray(); diff --git a/tests/ComputeSharp.Tests.Internals/AlignmentHelperTests.cs b/tests/ComputeSharp.Tests.Internals/AlignmentHelperTests.cs index 05943b6e..91b6604c 100644 --- a/tests/ComputeSharp.Tests.Internals/AlignmentHelperTests.cs +++ b/tests/ComputeSharp.Tests.Internals/AlignmentHelperTests.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Core.Helpers; +using ComputeSharp.Core.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ComputeSharp.Tests.Internals; @@ -37,4 +37,4 @@ public class AlignmentHelperTests Assert.AreEqual(result, expected); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.Internals/DebugViewTests.cs b/tests/ComputeSharp.Tests.Internals/DebugViewTests.cs index 9c247059..3865953f 100644 --- a/tests/ComputeSharp.Tests.Internals/DebugViewTests.cs +++ b/tests/ComputeSharp.Tests.Internals/DebugViewTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; @@ -318,4 +318,4 @@ public partial class DebugViewTests Assert.IsNull(view.Items); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.Internals/Helpers/DebugDispatchDataLoader.cs b/tests/ComputeSharp.Tests.Internals/Helpers/DebugDispatchDataLoader.cs index ff00dd4e..9dc41823 100644 --- a/tests/ComputeSharp.Tests.Internals/Helpers/DebugDispatchDataLoader.cs +++ b/tests/ComputeSharp.Tests.Internals/Helpers/DebugDispatchDataLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using ComputeSharp.__Internals; @@ -50,4 +50,4 @@ internal readonly unsafe struct DebugDispatchDataLoader : IDispatchDataLoader { this.data.Value.Resources = data.ToArray(); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.Internals/NativeObjectTests.cs b/tests/ComputeSharp.Tests.Internals/NativeObjectTests.cs index f5a387a0..aa87080d 100644 --- a/tests/ComputeSharp.Tests.Internals/NativeObjectTests.cs +++ b/tests/ComputeSharp.Tests.Internals/NativeObjectTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using ComputeSharp.Interop; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -177,4 +177,4 @@ public class NativeObjectTests IsDisposed = true; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.Internals/ShaderCompilerTests.cs b/tests/ComputeSharp.Tests.Internals/ShaderCompilerTests.cs index b7dc4591..66cf1829 100644 --- a/tests/ComputeSharp.Tests.Internals/ShaderCompilerTests.cs +++ b/tests/ComputeSharp.Tests.Internals/ShaderCompilerTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Exceptions; using ComputeSharp.Shaders.Translation; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -45,4 +45,4 @@ public class ShaderCompilerTests using ComPtr dxcBlob = ShaderCompiler.Instance.Compile(faultyShader.AsSpan()); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.Internals/ShaderDataLoaderTests.cs b/tests/ComputeSharp.Tests.Internals/ShaderDataLoaderTests.cs index 4071dbb1..766f597d 100644 --- a/tests/ComputeSharp.Tests.Internals/ShaderDataLoaderTests.cs +++ b/tests/ComputeSharp.Tests.Internals/ShaderDataLoaderTests.cs @@ -1,4 +1,4 @@ -using ComputeSharp.__Internals; +using ComputeSharp.__Internals; using ComputeSharp.Tests.Internals.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -340,7 +340,7 @@ public partial class ShaderDataLoaderTests b: new(44.4f, 55.5f), c: new CustomType3( a: 7654321, - b: new (111.1f, 222.2f))), + b: new(111.1f, 222.2f))), e: new CustomType3( a: 888888, b: new(333.3f, 444.4f)))); @@ -444,4 +444,4 @@ public partial class ShaderDataLoaderTests Assert.AreEqual(y.D3D12GpuDescriptorHandle.ptr, dataLoader.Resources[4]); Assert.AreEqual(z.D3D12GpuDescriptorHandle.ptr, dataLoader.Resources[5]); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.Internals/ShaderHashCodeTests.cs b/tests/ComputeSharp.Tests.Internals/ShaderHashCodeTests.cs index 0dcc496d..adbcb121 100644 --- a/tests/ComputeSharp.Tests.Internals/ShaderHashCodeTests.cs +++ b/tests/ComputeSharp.Tests.Internals/ShaderHashCodeTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.__Internals; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -75,4 +75,4 @@ public partial class ShaderHashCodeTests Assert.IsFalse(hash1 == hash3); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.NativeLibrariesResolver/DynamicNativeLibrariesResolverTests.cs b/tests/ComputeSharp.Tests.NativeLibrariesResolver/DynamicNativeLibrariesResolverTests.cs index d990e218..507f6660 100644 --- a/tests/ComputeSharp.Tests.NativeLibrariesResolver/DynamicNativeLibrariesResolverTests.cs +++ b/tests/ComputeSharp.Tests.NativeLibrariesResolver/DynamicNativeLibrariesResolverTests.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.IO; using ComputeSharp.Tests.NativeLibrariesResolver.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -34,4 +34,4 @@ public class DynamicNativeLibrariesResolverTests : NativeLibrariesResolverTestsB Process.Start("dotnet", $"pack {packagingProjectPath} -c Release").WaitForExit(); Process.Start("dotnet", $"pack {dynamicPackagingProjectPath} -c Release").WaitForExit(); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.NativeLibrariesResolver/Helpers/NativeLibrariesResolverTestsBase.cs b/tests/ComputeSharp.Tests.NativeLibrariesResolver/Helpers/NativeLibrariesResolverTestsBase.cs index 503b491a..37bdfba5 100644 --- a/tests/ComputeSharp.Tests.NativeLibrariesResolver/Helpers/NativeLibrariesResolverTestsBase.cs +++ b/tests/ComputeSharp.Tests.NativeLibrariesResolver/Helpers/NativeLibrariesResolverTestsBase.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; using System.Diagnostics; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/tests/ComputeSharp.Tests.NativeLibrariesResolver/NativeLibrariesResolverTests.cs b/tests/ComputeSharp.Tests.NativeLibrariesResolver/NativeLibrariesResolverTests.cs index 6e8afe8c..e299b1e2 100644 --- a/tests/ComputeSharp.Tests.NativeLibrariesResolver/NativeLibrariesResolverTests.cs +++ b/tests/ComputeSharp.Tests.NativeLibrariesResolver/NativeLibrariesResolverTests.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.IO; using ComputeSharp.Tests.NativeLibrariesResolver.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -32,4 +32,4 @@ public class NativeLibrariesResolverTests : NativeLibrariesResolverTestsBase Process.Start("dotnet", $"pack {corePackagingProjectPath} -c Release").WaitForExit(); Process.Start("dotnet", $"pack {packagingProjectPath} -c Release").WaitForExit(); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.NativeLibrariesResolver/PixNativeLibrariesResolverTests.cs b/tests/ComputeSharp.Tests.NativeLibrariesResolver/PixNativeLibrariesResolverTests.cs index 9624c1c4..e98eb7d5 100644 --- a/tests/ComputeSharp.Tests.NativeLibrariesResolver/PixNativeLibrariesResolverTests.cs +++ b/tests/ComputeSharp.Tests.NativeLibrariesResolver/PixNativeLibrariesResolverTests.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.IO; using ComputeSharp.Tests.NativeLibrariesResolver.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -34,4 +34,4 @@ public class PixNativeLibrariesResolverTests : NativeLibrariesResolverTestsBase Process.Start("dotnet", $"pack {packagingProjectPath} -c Release").WaitForExit(); Process.Start("dotnet", $"pack {pixPackagingProjectPath} -c Release").WaitForExit(); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.NativeLibrariesResolver/Properties/AssemblyInfo.cs b/tests/ComputeSharp.Tests.NativeLibrariesResolver/Properties/AssemblyInfo.cs index 6a076669..fb369378 100644 --- a/tests/ComputeSharp.Tests.NativeLibrariesResolver/Properties/AssemblyInfo.cs +++ b/tests/ComputeSharp.Tests.NativeLibrariesResolver/Properties/AssemblyInfo.cs @@ -1,3 +1,3 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; [assembly: DoNotParallelize] \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.SourceGenerators/AutoConstructorGeneratorTests.cs b/tests/ComputeSharp.Tests.SourceGenerators/AutoConstructorGeneratorTests.cs index d6968c03..f7df6388 100644 --- a/tests/ComputeSharp.Tests.SourceGenerators/AutoConstructorGeneratorTests.cs +++ b/tests/ComputeSharp.Tests.SourceGenerators/AutoConstructorGeneratorTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -111,4 +111,4 @@ public class AutoConstructorGeneratorTests Assert.AreEqual(expectedLines[i], outputLines[i]); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.SourceGenerators/DiagnosticsTests.cs b/tests/ComputeSharp.Tests.SourceGenerators/DiagnosticsTests.cs index 182fe64e..291180b4 100644 --- a/tests/ComputeSharp.Tests.SourceGenerators/DiagnosticsTests.cs +++ b/tests/ComputeSharp.Tests.SourceGenerators/DiagnosticsTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; @@ -1816,4 +1816,4 @@ public class DiagnosticsTests Assert.IsTrue(resultingIds.SetEquals(diagnosticsIds)); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Attributes/AdditionalDataAttribute.cs b/tests/ComputeSharp.Tests/Attributes/AdditionalDataAttribute.cs index d4c0b0bc..1014107b 100644 --- a/tests/ComputeSharp.Tests/Attributes/AdditionalDataAttribute.cs +++ b/tests/ComputeSharp.Tests/Attributes/AdditionalDataAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.Tests.Attributes; @@ -21,4 +21,4 @@ public sealed class AdditionalDataAttribute : Attribute /// Gets the additional input data for the current attribute. /// public object[] Data { get; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Attributes/AdditionalResourceAttribute.cs b/tests/ComputeSharp.Tests/Attributes/AdditionalResourceAttribute.cs index f5c8fda9..70936ae0 100644 --- a/tests/ComputeSharp.Tests/Attributes/AdditionalResourceAttribute.cs +++ b/tests/ComputeSharp.Tests/Attributes/AdditionalResourceAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.Tests.Attributes; @@ -21,4 +21,4 @@ public sealed class AdditionalResourceAttribute : Attribute /// Gets the additional resource type for the current attribute. /// public Type Type { get; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Attributes/AllDevicesAttribute.cs b/tests/ComputeSharp.Tests/Attributes/AllDevicesAttribute.cs index 1c83a15d..7194b7b1 100644 --- a/tests/ComputeSharp.Tests/Attributes/AllDevicesAttribute.cs +++ b/tests/ComputeSharp.Tests/Attributes/AllDevicesAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.Tests.Attributes; @@ -8,4 +8,4 @@ namespace ComputeSharp.Tests.Attributes; [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public sealed class AllDevicesAttribute : Attribute { -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Attributes/CombinatorialTestMethodAttribute.cs b/tests/ComputeSharp.Tests/Attributes/CombinatorialTestMethodAttribute.cs index 2074a0a5..7f1f1441 100644 --- a/tests/ComputeSharp.Tests/Attributes/CombinatorialTestMethodAttribute.cs +++ b/tests/ComputeSharp.Tests/Attributes/CombinatorialTestMethodAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; @@ -274,4 +274,4 @@ public sealed class CombinatorialTestMethodAttribute : TestMethodAttribute, ITes { return $"{methodInfo.Name} ({string.Join(", ", data)})"; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Attributes/DataAttribute.cs b/tests/ComputeSharp.Tests/Attributes/DataAttribute.cs index b1633f24..c8a133b3 100644 --- a/tests/ComputeSharp.Tests/Attributes/DataAttribute.cs +++ b/tests/ComputeSharp.Tests/Attributes/DataAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.Tests.Attributes; @@ -21,4 +21,4 @@ public sealed class DataAttribute : Attribute /// Gets the input data for the current attribute. /// public object[] Data { get; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Attributes/DeviceAttribute.cs b/tests/ComputeSharp.Tests/Attributes/DeviceAttribute.cs index 4bf2e34e..2aad8c70 100644 --- a/tests/ComputeSharp.Tests/Attributes/DeviceAttribute.cs +++ b/tests/ComputeSharp.Tests/Attributes/DeviceAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Tests.Extensions; namespace ComputeSharp.Tests.Attributes; @@ -22,4 +22,4 @@ public sealed class DeviceAttribute : Attribute /// Gets the target to use. /// public Device Device { get; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Attributes/ResourceAttribute.cs b/tests/ComputeSharp.Tests/Attributes/ResourceAttribute.cs index 08e6477f..1498ebf9 100644 --- a/tests/ComputeSharp.Tests/Attributes/ResourceAttribute.cs +++ b/tests/ComputeSharp.Tests/Attributes/ResourceAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace ComputeSharp.Tests.Attributes; @@ -21,4 +21,4 @@ public sealed class ResourceAttribute : Attribute /// Gets the resource type for the current attribute. /// public Type Type { get; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/AutoConstructorAttributeTests.cs b/tests/ComputeSharp.Tests/AutoConstructorAttributeTests.cs index dd147250..88254195 100644 --- a/tests/ComputeSharp.Tests/AutoConstructorAttributeTests.cs +++ b/tests/ComputeSharp.Tests/AutoConstructorAttributeTests.cs @@ -1,4 +1,4 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ComputeSharp.Tests; @@ -86,4 +86,4 @@ public unsafe partial class AutoConstructorAttributeTests Assert.AreEqual(instance.a, a); Assert.AreEqual(instance.b, b); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/BufferTests.cs b/tests/ComputeSharp.Tests/BufferTests.cs index 5d84cf8e..bf6dec9a 100644 --- a/tests/ComputeSharp.Tests/BufferTests.cs +++ b/tests/ComputeSharp.Tests/BufferTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using ComputeSharp.Exceptions; using ComputeSharp.Resources; @@ -197,7 +197,7 @@ public partial class BufferTests [Data(-56, 0, 1024)] [Data(0, 512, 4096)] [Data(1024, 12, 3600)] - [Data(1024, 12, - 2096)] + [Data(1024, 12, -2096)] [ExpectedException(typeof(ArgumentOutOfRangeException))] public void CopyTo_RangeToVoid_Fail(Device device, Type bufferType, int sourceOffset, int destinationOffset, int count) { @@ -416,4 +416,4 @@ public partial class BufferTests Assert.Fail(); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/ComputeContextTests.cs b/tests/ComputeSharp.Tests/ComputeContextTests.cs index 039bbe46..b1b549fe 100644 --- a/tests/ComputeSharp.Tests/ComputeContextTests.cs +++ b/tests/ComputeSharp.Tests/ComputeContextTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using System.Reflection; @@ -1159,7 +1159,7 @@ public partial class ComputeContextTests for (int z = 0; z < destination.Depth; z++) { using var processed = destination.ToImage(depth: z); - + TolerantImageComparer.AssertEqual(sampled, processed, 0.000012f); } @@ -1478,4 +1478,4 @@ public partial class ComputeContextTests destination[ThreadIds.XY] = source[ThreadIds.XY]; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/DispatchTests.cs b/tests/ComputeSharp.Tests/DispatchTests.cs index 68812262..8fdcde6e 100644 --- a/tests/ComputeSharp.Tests/DispatchTests.cs +++ b/tests/ComputeSharp.Tests/DispatchTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Interop; using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.Extensions; @@ -190,7 +190,7 @@ public partial class DispatchTests using ReadWriteBuffer buffer = device.Get().AllocateReadWriteBuffer(32); device.Get().For(1, 1, 1, 4, 15, 7, new GroupSizeShader(buffer)); - + int[] data = buffer.ToArray(); Assert.AreEqual(4, data[0]); @@ -401,4 +401,4 @@ public partial class DispatchTests } } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Extensions/DeviceExtensions.cs b/tests/ComputeSharp.Tests/Extensions/DeviceExtensions.cs index 07a3b3ac..b85b6645 100644 --- a/tests/ComputeSharp.Tests/Extensions/DeviceExtensions.cs +++ b/tests/ComputeSharp.Tests/Extensions/DeviceExtensions.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using CommunityToolkit.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -52,7 +52,7 @@ public static class DeviceExtensions case Device.Discrete: Assert.Inconclusive(); break; case Device.Warp: Assert.Fail(); break; } - + } return device!; @@ -73,4 +73,4 @@ public enum Device /// A WARP device (software fallback). /// Warp -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Extensions/GraphicsDeviceExtensions.cs b/tests/ComputeSharp.Tests/Extensions/GraphicsDeviceExtensions.cs index d40c81b0..6f10e0dc 100644 --- a/tests/ComputeSharp.Tests/Extensions/GraphicsDeviceExtensions.cs +++ b/tests/ComputeSharp.Tests/Extensions/GraphicsDeviceExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using ComputeSharp.Resources; @@ -508,4 +508,4 @@ public static class GraphicsDeviceExtensions throw new ArgumentException($"Invalid input type: {inputType}", nameof(inputType)); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Extensions/ImagingExtensions.cs b/tests/ComputeSharp.Tests/Extensions/ImagingExtensions.cs index 8470ebb3..1c1e75c3 100644 --- a/tests/ComputeSharp.Tests/Extensions/ImagingExtensions.cs +++ b/tests/ComputeSharp.Tests/Extensions/ImagingExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using CommunityToolkit.Diagnostics; using ComputeSharp.Resources; @@ -61,4 +61,4 @@ public static class ImagingExtensions return image; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/GlobalUsingDirectivesTests.cs b/tests/ComputeSharp.Tests/GlobalUsingDirectivesTests.cs index 4c015206..efd5384d 100644 --- a/tests/ComputeSharp.Tests/GlobalUsingDirectivesTests.cs +++ b/tests/ComputeSharp.Tests/GlobalUsingDirectivesTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ComputeSharp.Tests; @@ -107,4 +107,4 @@ public unsafe partial class GlobalUsingDirectivesTests { Assert.AreEqual(left, right); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Helpers/TestHelper.cs b/tests/ComputeSharp.Tests/Helpers/TestHelper.cs index 4d2a447c..08ac4eca 100644 --- a/tests/ComputeSharp.Tests/Helpers/TestHelper.cs +++ b/tests/ComputeSharp.Tests/Helpers/TestHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -55,4 +55,4 @@ public static class TestHelper throw e.InnerException; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Helpers/TolerantImageComparer.cs b/tests/ComputeSharp.Tests/Helpers/TolerantImageComparer.cs index 4f3594c3..43894ff2 100644 --- a/tests/ComputeSharp.Tests/Helpers/TolerantImageComparer.cs +++ b/tests/ComputeSharp.Tests/Helpers/TolerantImageComparer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Text; using System.Runtime.CompilerServices; @@ -141,4 +141,4 @@ internal static class TolerantImageComparer return $"[delta({RedDifference},{GreenDifference},{BlueDifference},{AlphaDifference}) @ ({Position.X},{Position.Y})]"; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/IPixelShaderTests.cs b/tests/ComputeSharp.Tests/IPixelShaderTests.cs index b41a62d5..0c2c60cc 100644 --- a/tests/ComputeSharp.Tests/IPixelShaderTests.cs +++ b/tests/ComputeSharp.Tests/IPixelShaderTests.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Tests.Attributes; +using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,4 +47,4 @@ public partial class IPixelShaderTests return float4.UnitY; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/ImageProcessingTests.cs b/tests/ComputeSharp.Tests/ImageProcessingTests.cs index 99c6e5b1..097f1218 100644 --- a/tests/ComputeSharp.Tests/ImageProcessingTests.cs +++ b/tests/ComputeSharp.Tests/ImageProcessingTests.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Reflection; using ComputeSharp.BokehBlur.Processors; using ComputeSharp.Tests.Attributes; @@ -26,7 +26,7 @@ public class ImageProcessingTests string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, "Imaging"); using var original = Image.Load(Path.Combine(path, "city.jpg")); - + original.Mutate(c => c.Resize(1920, 1080)); using var cpu = original.Clone(c => c.BokehBlur(40, 2, 3)); @@ -64,4 +64,4 @@ public class ImageProcessingTests TolerantImageComparer.AssertEqual(expectedPath, actualPath, 0.0000046f); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/ImagingTests.cs b/tests/ComputeSharp.Tests/ImagingTests.cs index 5b3ce1ab..7008bbcb 100644 --- a/tests/ComputeSharp.Tests/ImagingTests.cs +++ b/tests/ComputeSharp.Tests/ImagingTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers; using System.IO; using System.Reflection; @@ -532,4 +532,4 @@ public class ImagingTests texture.Save(typeof(string), null!); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/InitializationTests.cs b/tests/ComputeSharp.Tests/InitializationTests.cs index 3609519c..5c96a8af 100644 --- a/tests/ComputeSharp.Tests/InitializationTests.cs +++ b/tests/ComputeSharp.Tests/InitializationTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.Extensions; @@ -76,4 +76,4 @@ public partial class InitializationTests buffer[ThreadIds.X] = ThreadIds.X; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/InteropServicesTests.cs b/tests/ComputeSharp.Tests/InteropServicesTests.cs index fa7b36ee..c7944bb9 100644 --- a/tests/ComputeSharp.Tests/InteropServicesTests.cs +++ b/tests/ComputeSharp.Tests/InteropServicesTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Interop; using ComputeSharp.Resources; using ComputeSharp.Tests.Attributes; @@ -184,4 +184,4 @@ public unsafe partial class InteropServicesTests Assert.IsTrue(d3D12Resource.Get() != null); Assert.AreEqual(d3D12Resource.Get()->GetDesc().Dimension, D3D12_RESOURCE_DIMENSION_BUFFER); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/MetaprogrammingTests.cs b/tests/ComputeSharp.Tests/MetaprogrammingTests.cs index 624f6b30..b93c4ceb 100644 --- a/tests/ComputeSharp.Tests/MetaprogrammingTests.cs +++ b/tests/ComputeSharp.Tests/MetaprogrammingTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -236,4 +236,4 @@ public partial class MetaprogrammingTests Assert.AreEqual(result[i], Activations.AddOne(i) + Activations.FunctionWithLocalFunctionAndStaticMethod(i)); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Misc/ExternalStructType.cs b/tests/ComputeSharp.Tests/Misc/ExternalStructType.cs index b01444fd..c28c5c3a 100644 --- a/tests/ComputeSharp.Tests/Misc/ExternalStructType.cs +++ b/tests/ComputeSharp.Tests/Misc/ExternalStructType.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.Tests.Misc; +namespace ComputeSharp.Tests.Misc; /// /// An internal custom struct used to test semantic model information coming from different files (different syntax trees). @@ -21,4 +21,4 @@ internal struct ExternalStructType { return value.A + value.B; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Polyfills/RandomExtensions.cs b/tests/ComputeSharp.Tests/Polyfills/RandomExtensions.cs index 308c6724..01261a90 100644 --- a/tests/ComputeSharp.Tests/Polyfills/RandomExtensions.cs +++ b/tests/ComputeSharp.Tests/Polyfills/RandomExtensions.cs @@ -1,4 +1,4 @@ -#if !NETCOREAPP3_1_OR_GREATER +#if !NETCOREAPP3_1_OR_GREATER namespace System; @@ -22,4 +22,4 @@ internal static class RandomExtensions } } -#endif +#endif \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Properties/AssemblyInfo.cs b/tests/ComputeSharp.Tests/Properties/AssemblyInfo.cs index 8ed86d91..fb369378 100644 --- a/tests/ComputeSharp.Tests/Properties/AssemblyInfo.cs +++ b/tests/ComputeSharp.Tests/Properties/AssemblyInfo.cs @@ -1,3 +1,3 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; -[assembly: DoNotParallelize] +[assembly: DoNotParallelize] \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/ShaderCompilerTests.cs b/tests/ComputeSharp.Tests/ShaderCompilerTests.cs index ab8901df..81f83ae5 100644 --- a/tests/ComputeSharp.Tests/ShaderCompilerTests.cs +++ b/tests/ComputeSharp.Tests/ShaderCompilerTests.cs @@ -1,4 +1,4 @@ -using ComputeSharp; +using ComputeSharp; using ComputeSharp.Interop; using ComputeSharp.Tests.Misc; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -495,4 +495,4 @@ namespace ExternalNamespace _ = ReflectionServices.GetShaderInfo(); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/ShaderMembersTests.cs b/tests/ComputeSharp.Tests/ShaderMembersTests.cs index 5c83f514..110056ec 100644 --- a/tests/ComputeSharp.Tests/ShaderMembersTests.cs +++ b/tests/ComputeSharp.Tests/ShaderMembersTests.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -174,4 +174,4 @@ public partial class ShaderMembersTests buffer[ThreadIds.X].B = true; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/ShaderRewriterTests.cs b/tests/ComputeSharp.Tests/ShaderRewriterTests.cs index b1a57806..82bd79b2 100644 --- a/tests/ComputeSharp.Tests/ShaderRewriterTests.cs +++ b/tests/ComputeSharp.Tests/ShaderRewriterTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.Extensions; @@ -769,4 +769,4 @@ public partial class ShaderRewriterTests destination[ThreadIds.X] = source[ThreadIds.X].AddAndGetSum(ThreadIds.X + 1); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/ColorfulInfinity.cs b/tests/ComputeSharp.Tests/Shaders/Compute/ColorfulInfinity.cs index 2d70a855..dca9584c 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/ColorfulInfinity.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/ColorfulInfinity.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// A shader creating an abstract and colorful animation. @@ -72,4 +72,4 @@ internal readonly partial struct ColorfulInfinity : IComputeShader texture[ThreadIds.XY] = color; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/ContouredLayers.cs b/tests/ComputeSharp.Tests/Shaders/Compute/ContouredLayers.cs index 7b33c396..bd9a8b8f 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/ContouredLayers.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/ContouredLayers.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// Constructing some concise contoured layers, then applying various edge and shading effects to produce some faux depth. @@ -70,7 +70,7 @@ internal readonly partial struct ContouredLayers : IComputeShader private float Noise2D3G(float2 p) { float2 i = Hlsl.Floor(p); - + p -= i; float4 v = default; @@ -114,7 +114,7 @@ internal readonly partial struct ContouredLayers : IComputeShader private float3 GetColor(float2 p, float sh, float fi) { float3 tx = texture.Sample(p + Hash21(new float2(sh, fi))).XYZ; - + tx *= tx; float3 col; @@ -198,4 +198,4 @@ internal readonly partial struct ContouredLayers : IComputeShader destination[ThreadIds.XY] = new float4(Hlsl.Sqrt(Hlsl.Max(col, 0.0f)), 1); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/ExtrudedTruchetPattern.cs b/tests/ComputeSharp.Tests/Shaders/Compute/ExtrudedTruchetPattern.cs index 308b3c65..3e0089bc 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/ExtrudedTruchetPattern.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/ExtrudedTruchetPattern.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// A basic extruded square grid-based blobby Truchet pattern. @@ -297,4 +297,4 @@ internal readonly partial struct ExtrudedTruchetPattern : IComputeShader texture[ThreadIds.XY] = c; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/FourColorGradient.cs b/tests/ComputeSharp.Tests/Shaders/Compute/FourColorGradient.cs index 91309eea..30b3955c 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/FourColorGradient.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/FourColorGradient.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// A shader which interpolates four different colors into a rotating gradient pattern. @@ -67,8 +67,8 @@ internal readonly partial struct FourColorGradient : IComputeShader u.X), Hlsl.Lerp( Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(0.0f, 1.0f)), f - new float2(0.0f, 1.0f)), - Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(1.0f, 1.0f)), f - new float2(1.0f, 1.0f)), - u.X), + Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(1.0f, 1.0f)), f - new float2(1.0f, 1.0f)), + u.X), u.Y); return 0.5f + 0.5f * n; @@ -107,4 +107,4 @@ internal readonly partial struct FourColorGradient : IComputeShader texture[ThreadIds.XY] = new float4(col, 1.0f); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/FractalTiling.cs b/tests/ComputeSharp.Tests/Shaders/Compute/FractalTiling.cs index c61fe0c0..a8df008c 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/FractalTiling.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/FractalTiling.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// A shader creating a fractal tiling animation. @@ -47,4 +47,4 @@ internal readonly partial struct FractalTiling : IComputeShader texture[ThreadIds.XY] = color; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/HelloWorld.cs b/tests/ComputeSharp.Tests/Shaders/Compute/HelloWorld.cs index 09e3e831..9445dd73 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/HelloWorld.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/HelloWorld.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// A simple shader to get started with based on shadertoy new shader template. @@ -24,4 +24,4 @@ internal readonly partial struct HelloWorld : IPixelShader // Output to screen return new(col, 1f); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/MengerJourney.cs b/tests/ComputeSharp.Tests/Shaders/Compute/MengerJourney.cs index 83f97d10..41ca15d7 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/MengerJourney.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/MengerJourney.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// A shader creating a flythrough in a Menger system. @@ -171,4 +171,4 @@ internal readonly partial struct MengerJourney : IComputeShader texture[ThreadIds.XY] = RayMarch(camPos, rayDir, ThreadIds.XY); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/Octagrams.cs b/tests/ComputeSharp.Tests/Shaders/Compute/Octagrams.cs index 9c37ce7b..494d680e 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/Octagrams.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/Octagrams.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// A shader creating an octagram animation, inspired by arabesque. @@ -125,4 +125,4 @@ internal readonly partial struct Octagrams : IComputeShader texture[ThreadIds.XY] = color; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/ProteanClouds.cs b/tests/ComputeSharp.Tests/Shaders/Compute/ProteanClouds.cs index 030ffdb3..d595c668 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/ProteanClouds.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/ProteanClouds.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// Fully procedural 3D animated volume with three evaluations per step (for shading). @@ -170,4 +170,4 @@ internal readonly partial struct ProteanClouds : IComputeShader texture[ThreadIds.XY] = new float4(col, 1.0f); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/PyramidPattern.cs b/tests/ComputeSharp.Tests/Shaders/Compute/PyramidPattern.cs index 778d3442..fcb13292 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/PyramidPattern.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/PyramidPattern.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// An offset grid of square-based pyramids whose tips have been offset according to an underlying directional noise field. @@ -179,4 +179,4 @@ internal readonly partial struct PyramidPattern : IComputeShader texture[ThreadIds.XY] = color; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/TriangleGridContouring.cs b/tests/ComputeSharp.Tests/Shaders/Compute/TriangleGridContouring.cs index 3457d626..70b714e8 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/TriangleGridContouring.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/TriangleGridContouring.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// Utilizing a 2D simplex grid to construct the isolines of a noise function. @@ -281,4 +281,4 @@ internal readonly partial struct TriangleGridContouring : IComputeShader texture[ThreadIds.XY] = color; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Shaders/Compute/TwoTiledTruchet.cs b/tests/ComputeSharp.Tests/Shaders/Compute/TwoTiledTruchet.cs index 8d31b400..62408e6d 100644 --- a/tests/ComputeSharp.Tests/Shaders/Compute/TwoTiledTruchet.cs +++ b/tests/ComputeSharp.Tests/Shaders/Compute/TwoTiledTruchet.cs @@ -1,4 +1,4 @@ -namespace ComputeSharp.SwapChain.Shaders.Compute; +namespace ComputeSharp.SwapChain.Shaders.Compute; /// /// A shader creating an animated two-tiles Truchet arrangement. @@ -145,4 +145,4 @@ internal readonly partial struct TwoTiledTruchet : IComputeShader texture[ThreadIds.XY] = color; } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/ShadersTests.cs b/tests/ComputeSharp.Tests/ShadersTests.cs index 515a829d..a1b3d772 100644 --- a/tests/ComputeSharp.Tests/ShadersTests.cs +++ b/tests/ComputeSharp.Tests/ShadersTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; @@ -259,4 +259,4 @@ public class ShadersTests TolerantImageComparer.AssertEqual(expectedPath, actualPath, delta); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Texture1DTests.Pixels.cs b/tests/ComputeSharp.Tests/Texture1DTests.Pixels.cs index 4c60ce88..4091e10f 100644 --- a/tests/ComputeSharp.Tests/Texture1DTests.Pixels.cs +++ b/tests/ComputeSharp.Tests/Texture1DTests.Pixels.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; @@ -162,4 +162,4 @@ partial class Texture1DTests TestHelper.Run(Test, t, tPixel, device); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Texture1DTests.cs b/tests/ComputeSharp.Tests/Texture1DTests.cs index d7fd68a3..32aa1ea7 100644 --- a/tests/ComputeSharp.Tests/Texture1DTests.cs +++ b/tests/ComputeSharp.Tests/Texture1DTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using ComputeSharp.Resources; using ComputeSharp.Tests.Attributes; @@ -378,7 +378,7 @@ public partial class Texture1DTests [AllDevices] public void Dispatch_ReadWriteTexture1D(Device device) { - int[] data = Enumerable.Range(0,256).ToArray(); + int[] data = Enumerable.Range(0, 256).ToArray(); using ReadWriteTexture1D source = device.Get().AllocateReadWriteTexture1D(data); using ReadWriteTexture1D destination = device.Get().AllocateReadWriteTexture1D(256); @@ -403,4 +403,4 @@ public partial class Texture1DTests destination[ThreadIds.X] = source[ThreadIds.X]; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Texture2DTests.Pixels.cs b/tests/ComputeSharp.Tests/Texture2DTests.Pixels.cs index 956500ba..89a85fde 100644 --- a/tests/ComputeSharp.Tests/Texture2DTests.Pixels.cs +++ b/tests/ComputeSharp.Tests/Texture2DTests.Pixels.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Reflection; using ComputeSharp.Resources; @@ -177,4 +177,4 @@ partial class Texture2DTests TestHelper.Run(Test, t, tPixel, device); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Texture2DTests.cs b/tests/ComputeSharp.Tests/Texture2DTests.cs index a72642a4..a3879583 100644 --- a/tests/ComputeSharp.Tests/Texture2DTests.cs +++ b/tests/ComputeSharp.Tests/Texture2DTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using CommunityToolkit.HighPerformance; using ComputeSharp.Resources; @@ -468,4 +468,4 @@ public partial class Texture2DTests destination[ThreadIds.XY] = source[ThreadIds.XY]; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Texture3DTests.Pixels.cs b/tests/ComputeSharp.Tests/Texture3DTests.Pixels.cs index b482b4d3..50caca4d 100644 --- a/tests/ComputeSharp.Tests/Texture3DTests.Pixels.cs +++ b/tests/ComputeSharp.Tests/Texture3DTests.Pixels.cs @@ -1,4 +1,4 @@ -using System; +using System; using ComputeSharp.Resources; using ComputeSharp.Tests.Attributes; using ComputeSharp.Tests.Extensions; @@ -109,4 +109,4 @@ partial class Texture3DTests TestHelper.Run(Test, t, tPixel, device); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/Texture3DTests.cs b/tests/ComputeSharp.Tests/Texture3DTests.cs index 80dbcdbe..ea0f4ceb 100644 --- a/tests/ComputeSharp.Tests/Texture3DTests.cs +++ b/tests/ComputeSharp.Tests/Texture3DTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using CommunityToolkit.HighPerformance; using ComputeSharp.Resources; @@ -572,4 +572,4 @@ public partial class Texture3DTests destination[ThreadIds.XYZ] = source[ThreadIds.XYZ]; } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/TransferBufferTests.cs b/tests/ComputeSharp.Tests/TransferBufferTests.cs index 62900553..d7c76232 100644 --- a/tests/ComputeSharp.Tests/TransferBufferTests.cs +++ b/tests/ComputeSharp.Tests/TransferBufferTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Runtime.CompilerServices; using CommunityToolkit.HighPerformance; @@ -221,4 +221,4 @@ public partial class TransferBufferTests Assert.AreEqual(source.Length, readBackBuffer.Length); Assert.IsTrue(source.AsSpan(sourceOffset, count).SequenceEqual(readBackBuffer.Span.Slice(destinationOffset, count))); } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/TransferTexture1DTests.cs b/tests/ComputeSharp.Tests/TransferTexture1DTests.cs index 61529276..87b5565d 100644 --- a/tests/ComputeSharp.Tests/TransferTexture1DTests.cs +++ b/tests/ComputeSharp.Tests/TransferTexture1DTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Runtime.CompilerServices; using CommunityToolkit.HighPerformance; @@ -172,4 +172,4 @@ public partial class TransferTexture1DTests Assert.IsTrue(sourceRow.SequenceEqual(destinationRow)); } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/TransferTexture2DTests.cs b/tests/ComputeSharp.Tests/TransferTexture2DTests.cs index 82fe3d4d..649bce97 100644 --- a/tests/ComputeSharp.Tests/TransferTexture2DTests.cs +++ b/tests/ComputeSharp.Tests/TransferTexture2DTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Runtime.CompilerServices; using CommunityToolkit.HighPerformance; @@ -191,4 +191,4 @@ public partial class TransferTexture2DTests } } } -} +} \ No newline at end of file diff --git a/tests/ComputeSharp.Tests/TransferTexture3DTests.cs b/tests/ComputeSharp.Tests/TransferTexture3DTests.cs index 54c0fa53..9c145e17 100644 --- a/tests/ComputeSharp.Tests/TransferTexture3DTests.cs +++ b/tests/ComputeSharp.Tests/TransferTexture3DTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Runtime.CompilerServices; using CommunityToolkit.HighPerformance; @@ -226,4 +226,4 @@ public partial class TransferTexture3DTests } } } -} +} \ No newline at end of file