From 37f53ce8d2c128fa6fa2241ee5b168b818f272f3 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 00:56:15 +0200 Subject: [PATCH 01/10] Changed namespace of local TerraFX bindings --- .../Inspectable/IInspectable.cs | 2 +- .../DirectX/headers/d3dcommon/D3D_FEATURE_LEVEL.cs | 2 +- .../DirectX/um/d2d1/D2D1_EXTEND_MODE.cs | 2 +- src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs | 2 +- src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs | 2 +- .../DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs | 2 +- .../DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs | 2 +- .../DirectX/um/d2d1_1/D2D1_PROPERTY.cs | 2 +- .../DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs | 2 +- .../DirectX/um/d2d1_1/ID2D1CommandList.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 +- .../DirectX/um/d2d1_2/ID2D1Device1.cs | 2 +- .../DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs | 2 +- .../DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs | 2 +- .../um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs | 2 +- .../DirectX/um/d2d1effectauthor/D2D1_FILTER.cs | 2 +- .../DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs | 2 +- .../DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs | 2 +- .../DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs | 2 +- .../um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs | 2 +- .../DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs | 2 +- .../DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs | 2 +- .../DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs | 2 +- .../DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs | 2 +- .../DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs | 2 +- .../DirectX/um/d2d1effectauthor/ID2D1Transform.cs | 2 +- .../DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs | 2 +- .../DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs | 2 +- src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/CLSID.cs | 2 +- .../DirectX/um/d2d1effects/D2D1_BORDER_MODE.cs | 2 +- .../d2d1effects/D2D1_DPICOMPENSATION_INTERPOLATION_MODE.cs | 2 +- .../DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_PROP.cs | 2 +- .../DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs | 2 +- .../DirectX/um/d3d11shader/ID3D11ShaderReflection.cs | 2 +- .../DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs | 2 +- .../DirectX/um/d3dcommon/D3D_SHADER_MACRO.cs | 6 +++--- .../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 +- .../DirectX/um/dcommon/D2D_VECTOR_2F.cs | 2 +- .../IDirect3DDxgiInterfaceAccess.cs | 2 +- .../WinRT/winrt/hstring/HSTRING_HEADER.cs | 2 +- .../Windows/other/helper-types/HSTRING.cs | 2 +- .../Windows/shared/uuids/Windows.Manual.cs | 2 +- src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs | 2 +- .../Windows/shared/winerror/D2DERR.cs | 2 +- src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/E.cs | 2 +- src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/RO.cs | 2 +- .../Windows/shared/winerror/Windows.cs | 2 +- src/ComputeSharp.Win32.D3D12/ComPtr`1.cs | 2 +- .../DirectX/other/d3dx12/D3D12_BOX.Manual.cs | 2 +- .../other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs | 2 +- .../other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs | 2 +- .../other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs | 2 +- .../DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs | 2 +- .../DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs | 2 +- .../DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs | 2 +- .../DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs | 2 +- .../DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs | 2 +- .../other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs | 2 +- .../DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs | 2 +- .../DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs | 2 +- .../other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs | 2 +- .../other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs | 2 +- .../d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs | 2 +- src/ComputeSharp.Win32.D3D12/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 +- .../DirectX/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 +- .../DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs | 2 +- .../DirectX/shared/dxgi1_2/IDXGIFactory2.cs | 2 +- .../DirectX/shared/dxgi1_2/IDXGISwapChain1.cs | 2 +- src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI.cs | 2 +- .../DirectX/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 +- .../DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs | 2 +- .../DirectX/shared/dxgi1_6/IDXGIFactory6.cs | 2 +- .../DirectX/shared/dxgicommon/DXGI_RATIONAL.cs | 2 +- .../DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs | 2 +- .../DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs | 2 +- .../DirectX/shared/dxgiformat/DXGI_FORMAT.cs | 2 +- .../DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs | 2 +- .../DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs | 2 +- .../DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs | 2 +- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11/D3D11.cs | 2 +- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11shader/D3D.cs | 2 +- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12.cs | 2 +- .../DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs | 2 +- .../DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs | 2 +- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BOX.cs | 2 +- .../DirectX/um/d3d12/D3D12_BUFFER_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_BUFFER_UAV.cs | 2 +- .../DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs | 2 +- .../DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs | 2 +- .../DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs | 2 +- .../DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs | 2 +- .../DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs | 2 +- .../DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs | 2 +- .../um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs | 2 +- .../DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs | 2 +- .../DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs | 2 +- .../DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs | 2 +- .../DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs | 2 +- .../DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs | 2 +- .../DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs | 2 +- .../DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs | 2 +- .../DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs | 2 +- .../DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs | 2 +- .../DirectX/um/d3d12/D3D12_FEATURE.cs | 2 +- .../DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs | 2 +- .../DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs | 2 +- .../DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs | 2 +- .../DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs | 2 +- .../DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs | 2 +- .../DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs | 2 +- .../DirectX/um/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 +- .../DirectX/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 +- .../DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_MIP_REGION.cs | 2 +- .../DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs | 2 +- .../DirectX/um/d3d12/D3D12_RANGE.cs | 2 +- .../um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs | 2 +- .../DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs | 2 +- .../DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs | 2 +- .../DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs | 2 +- .../DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs | 2 +- .../DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs | 2 +- .../DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs | 2 +- .../DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs | 2 +- .../DirectX/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 +- .../DirectX/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 +- .../DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs | 2 +- .../DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs | 2 +- .../DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs | 2 +- .../DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs | 2 +- .../DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs | 2 +- .../DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs | 2 +- .../DirectX/um/d3d12/D3D_SHADER_MODEL.cs | 2 +- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs | 2 +- .../DirectX/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 +- .../DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs | 2 +- .../um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs | 2 +- .../DirectX/um/d3d12/ID3D12Fence.cs | 2 +- .../DirectX/um/d3d12/ID3D12GraphicsCommandList.cs | 2 +- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs | 2 +- .../DirectX/um/d3d12/ID3D12PipelineState.cs | 2 +- .../DirectX/um/d3d12/ID3D12Resource.cs | 2 +- .../DirectX/um/d3d12/ID3D12RootSignature.cs | 2 +- .../DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs | 2 +- .../um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs | 2 +- .../DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs | 2 +- .../DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs | 2 +- .../DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs | 2 +- .../DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs | 2 +- .../DirectX/um/d3d12sdklayers/ID3D12Debug.cs | 2 +- .../DirectX/um/d3d12sdklayers/ID3D12Debug1.cs | 2 +- .../DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs | 2 +- .../DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs | 2 +- .../DirectX/um/d3d12shader/ID3D12ShaderReflection.cs | 2 +- .../DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs | 2 +- .../DirectX/um/d3dcommon/D3D_PRIMITIVE.cs | 2 +- .../DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs | 2 +- .../DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs | 2 +- .../um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs | 2 +- .../DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs | 2 +- .../DirectX/um/d3dcommon/ID3DBlob.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 +- .../other/helper-types/NativeInheritanceAttribute.cs | 2 +- .../Windows/other/helper-types/NativeTypeNameAttribute.cs | 2 +- .../Windows/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 | 2 +- .../Windows/shared/winerror/DXGI.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/E.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/S.cs | 2 +- src/ComputeSharp.Win32.D3D12/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 +- src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IID.cs | 2 +- .../Windows/um/Unknwnbase/IUnknown.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs | 2 +- .../Windows/um/combaseapi/Windows.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/coml2api/STGM.cs | 2 +- .../Windows/um/handleapi/Windows.cs | 2 +- .../Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IID.cs | 2 +- .../Windows/um/objidlbase/IStream.cs | 2 +- .../Windows/um/objidlbase/STATSTG.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STGTY.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/synchapi/Windows.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/CLSID.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/GUID.cs | 2 +- .../Windows/um/wincodec/IWICBitmap.cs | 2 +- .../Windows/um/wincodec/IWICBitmapDecoder.cs | 2 +- .../Windows/um/wincodec/IWICBitmapEncoder.cs | 2 +- .../Windows/um/wincodec/IWICBitmapFrameDecode.cs | 2 +- .../Windows/um/wincodec/IWICBitmapFrameEncode.cs | 2 +- .../Windows/um/wincodec/IWICBitmapSource.cs | 2 +- .../Windows/um/wincodec/IWICFormatConverter.cs | 2 +- .../Windows/um/wincodec/IWICImagingFactory2.cs | 2 +- .../Windows/um/wincodec/IWICPalette.cs | 2 +- .../Windows/um/wincodec/IWICStream.cs | 2 +- .../Windows/um/wincodec/WICBitmapAlphaChannelOption.cs | 2 +- .../Windows/um/wincodec/WICBitmapCreateCacheOption.cs | 2 +- .../Windows/um/wincodec/WICBitmapDitherType.cs | 2 +- .../Windows/um/wincodec/WICBitmapEncoderCacheOption.cs | 2 +- .../Windows/um/wincodec/WICBitmapPaletteType.cs | 2 +- .../Windows/um/wincodec/WICDecodeOptions.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICRect.cs | 2 +- .../Windows/um/winnt/LARGE_INTEGER.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LUID.cs | 2 +- .../Windows/um/winnt/ULARGE_INTEGER.cs | 2 +- src/ComputeSharp.Win32.D3D12/Windows/um/winnt/Windows.cs | 2 +- 308 files changed, 310 insertions(+), 310 deletions(-) diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Inspectable/IInspectable.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Inspectable/IInspectable.cs index 12fb85bc..84614429 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Inspectable/IInspectable.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Inspectable/IInspectable.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649, IDE1006 -namespace TerraFX.Interop.WinRT; +namespace ComputeSharp.Win32; /// /// The native WinRT interface for IInspectable objects. diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/headers/d3dcommon/D3D_FEATURE_LEVEL.cs b/src/ComputeSharp.Win32.D2D1/DirectX/headers/d3dcommon/D3D_FEATURE_LEVEL.cs index 3ef2ffc0..253f51ae 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/headers/d3dcommon/D3D_FEATURE_LEVEL.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/headers/d3dcommon/D3D_FEATURE_LEVEL.cs @@ -3,7 +3,7 @@ // Ported from d3dcommon.h in microsoft/DirectX-Headers tag v1.606.4 // Original source is Copyright © Microsoft. Licensed under the MIT license -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_FEATURE_LEVEL { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/D2D1_EXTEND_MODE.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/D2D1_EXTEND_MODE.cs index 668e8d17..9f9d611c 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/D2D1_EXTEND_MODE.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/D2D1_EXTEND_MODE.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_EXTEND_MODE : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs index d27b5230..1447bc76 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("06152247-6F50-465A-9245-118BFD3B6007")] [NativeTypeName("struct ID2D1Factory : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs index 0e16fc76..ce9bd902 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("65019F75-8DA2-497C-B32C-DFA34E48EDE6")] [NativeTypeName("struct ID2D1Image : ID2D1Resource")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs index 433ed750..e77acab6 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_BUFFER_PRECISION.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_BUFFER_PRECISION : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs index 09b67145..076f5955 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_CHANNEL_DEPTH.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_CHANNEL_DEPTH : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY.cs index 03315307..6fe11263 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_PROPERTY : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs index afab61b9..7c727b61 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/D2D1_PROPERTY_TYPE.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_PROPERTY_TYPE : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1CommandList.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1CommandList.cs index 184b8c3f..b5f7ac8b 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1CommandList.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1CommandList.cs @@ -6,7 +6,7 @@ using System; using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("B4F34A19-2383-4D76-94F6-EC343657C3DC")] [NativeTypeName("struct ID2D1CommandList : ID2D1Image")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs index 620225ba..a62b2e64 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("E8F7FE7A-191C-466D-AD95-975678BDA998")] [NativeTypeName("struct ID2D1DeviceContext : ID2D1RenderTarget")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs index 63404b95..a043db7e 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("28211A43-7D89-476F-8181-2D6159B220AD")] [NativeTypeName("struct ID2D1Effect : ID2D1Properties")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs index ccee9129..94ceaefe 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("BB12D362-DAEE-4B9A-AA1D-14BA401CFA1F")] [NativeTypeName("struct ID2D1Factory1 : ID2D1Factory")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs index 4609186b..b9335f4d 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("31E6E7BC-E0FF-4D46-8C64-A0A8C41C15D3")] [NativeTypeName("struct ID2D1Multithread : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs index 193e8b8c..17cf0d7b 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("D21768E1-23A4-4823-A14B-7C3EBA85D658")] [NativeTypeName("struct ID2D1Device1 : ID2D1Device")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs index c227c452..fc2416fe 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_CHANGE_TYPE.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D2D1_CHANGE_TYPE : uint diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs index 1624c2be..9d92117a 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_FEATURE : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs index 48e6b61e..1de0cb63 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FEATURE_DATA_DOUBLES.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D2D1_FEATURE_DATA_DOUBLES { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FILTER.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FILTER.cs index 46e18c72..18b9f3a5 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FILTER.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_FILTER.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_FILTER : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs index 0a875b80..52b5b97a 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_INPUT_DESCRIPTION.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D2D1_INPUT_DESCRIPTION { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs index cdcaad6d..c2e2677c 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PIXEL_OPTIONS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D2D1_PIXEL_OPTIONS : uint diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs index 21b3a4fa..670e74db 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs @@ -9,7 +9,7 @@ using TerraFX.Interop.Windows; #endif -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D2D1_PROPERTY_BINDING { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs index d1303b81..db5e4e9f 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs @@ -5,7 +5,7 @@ #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D2D1_RESOURCE_TEXTURE_PROPERTIES { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs index 03284662..4db61ffe 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs @@ -11,7 +11,7 @@ using static TerraFX.Interop.DirectX.D2D1_PIXEL_OPTIONS; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("693CE632-7F2F-45DE-93FE-18D88B37AA21")] [NativeTypeName("struct ID2D1DrawInfo : ID2D1RenderInfo")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs index 5ef1dcdd..22e9769b 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("36BFDCB6-9739-435D-A30D-A653BEFF6A6F")] [NativeTypeName("struct ID2D1DrawTransform : ID2D1Transform")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs index 9e443f45..2822d1c3 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("3D9F916B-27DC-4AD7-B4F1-64945340F563")] [NativeTypeName("struct ID2D1EffectContext : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs index 46855b69..3a7651cf 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("A248FD3F-3E6C-4E63-9F03-7F68ECC91DB9")] [NativeTypeName("struct ID2D1EffectImpl : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs index e5aff323..8c5e68bc 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("688D15C3-02B0-438D-B13A-D1B44C32C39A")] [NativeTypeName("struct ID2D1ResourceTexture : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs index 885cdd47..6e9342ef 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("EF1A287D-342A-4F76-8FDB-DA0D6EA9F92B")] [NativeTypeName("struct ID2D1Transform : ID2D1TransformNode")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs index bb8ade8f..51acf390 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("13D29038-C3E6-4034-9081-13B53A417992")] [NativeTypeName("struct ID2D1TransformGraph : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs index 06184dc7..5819cf26 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("B2EFE1E7-729F-4102-949F-505FA21BF666")] [NativeTypeName("struct ID2D1TransformNode : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/CLSID.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/CLSID.cs index bd310a66..233ee71e 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/CLSID.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/CLSID.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class CLSID { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_BORDER_MODE.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_BORDER_MODE.cs index 372c5be9..e96e22a4 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_BORDER_MODE.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_BORDER_MODE.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1effects.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_BORDER_MODE : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_INTERPOLATION_MODE.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_INTERPOLATION_MODE.cs index 6897b0d0..f020bb49 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_INTERPOLATION_MODE.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_INTERPOLATION_MODE.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1effects.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_DPICOMPENSATION_INTERPOLATION_MODE : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_PROP.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_PROP.cs index 7825110e..5ba834e9 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_PROP.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effects/D2D1_DPICOMPENSATION_PROP.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1effects.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_DPICOMPENSATION_PROP : uint { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs index e2041128..5b24cd13 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/D3D11_SHADER_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D11_SHADER_DESC { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs index bfba6145..83933bce 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("8D536CA1-0CCA-4956-A837-786963755584")] [NativeTypeName("struct ID3D11ShaderReflection : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs index 5d52b403..b7d51c2f 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/D3D_INCLUDE_TYPE.cs @@ -3,7 +3,7 @@ // Ported from d3dcommon.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_INCLUDE_TYPE { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/D3D_SHADER_MACRO.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/D3D_SHADER_MACRO.cs index a44ad958..5693efae 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/D3D_SHADER_MACRO.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/D3D_SHADER_MACRO.cs @@ -1,9 +1,9 @@ -// 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 +// Original source is Copyright � Microsoft. Licensed under the MIT license -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D_SHADER_MACRO { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs index e372b4f6..b0eacea5 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs @@ -8,7 +8,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct ID3DInclude { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/D3DCOMPILE.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/D3DCOMPILE.cs index ffe7922a..b7464889 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/D3DCOMPILE.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/D3DCOMPILE.cs @@ -3,7 +3,7 @@ // Ported from um/d3dcompiler.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static partial class D3DCOMPILE { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/D3D_BLOB_PART.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/D3D_BLOB_PART.cs index 03c00f22..9beee6f1 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/D3D_BLOB_PART.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/D3D_BLOB_PART.cs @@ -3,7 +3,7 @@ // Ported from um/d3dcompiler.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_BLOB_PART { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs index 0a97de46..2cb714fd 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static unsafe partial class DirectX { diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/dcommon/D2D_VECTOR_2F.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/dcommon/D2D_VECTOR_2F.cs index e52724d5..23a0831a 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/dcommon/D2D_VECTOR_2F.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/dcommon/D2D_VECTOR_2F.cs @@ -3,7 +3,7 @@ // Ported from um/dcommon.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D2D_VECTOR_2F { diff --git a/src/ComputeSharp.Win32.D2D1/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs b/src/ComputeSharp.Win32.D2D1/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs index 25ceb2d6..a5393191 100644 --- a/src/ComputeSharp.Win32.D2D1/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs +++ b/src/ComputeSharp.Win32.D2D1/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.WinRT; +namespace ComputeSharp.Win32; [Guid("A9B3D012-3DF2-4EE3-B8D1-8695F457D3C1")] [NativeTypeName("struct IDirect3DDxgiInterfaceAccess : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/WinRT/winrt/hstring/HSTRING_HEADER.cs b/src/ComputeSharp.Win32.D2D1/WinRT/winrt/hstring/HSTRING_HEADER.cs index c22767c3..353a65a3 100644 --- a/src/ComputeSharp.Win32.D2D1/WinRT/winrt/hstring/HSTRING_HEADER.cs +++ b/src/ComputeSharp.Win32.D2D1/WinRT/winrt/hstring/HSTRING_HEADER.cs @@ -3,7 +3,7 @@ // Ported from winrt/hstring.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.WinRT; +namespace ComputeSharp.Win32; internal partial struct HSTRING_HEADER { diff --git a/src/ComputeSharp.Win32.D2D1/Windows/other/helper-types/HSTRING.cs b/src/ComputeSharp.Win32.D2D1/Windows/other/helper-types/HSTRING.cs index 5cc0abeb..c8262771 100644 --- a/src/ComputeSharp.Win32.D2D1/Windows/other/helper-types/HSTRING.cs +++ b/src/ComputeSharp.Win32.D2D1/Windows/other/helper-types/HSTRING.cs @@ -1,6 +1,6 @@ // Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -namespace TerraFX.Interop.WinRT; +namespace ComputeSharp.Win32; internal readonly unsafe partial struct HSTRING { diff --git a/src/ComputeSharp.Win32.D2D1/Windows/shared/uuids/Windows.Manual.cs b/src/ComputeSharp.Win32.D2D1/Windows/shared/uuids/Windows.Manual.cs index b575a2c9..bf27777e 100644 --- a/src/ComputeSharp.Win32.D2D1/Windows/shared/uuids/Windows.Manual.cs +++ b/src/ComputeSharp.Win32.D2D1/Windows/shared/uuids/Windows.Manual.cs @@ -7,7 +7,7 @@ using System; using System.ComponentModel; using System.Runtime.CompilerServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class Windows { diff --git a/src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs b/src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs index 4b826b68..c6c8ddf5 100644 --- a/src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs +++ b/src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs @@ -5,7 +5,7 @@ #pragma warning disable CS0649 -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal struct RECT { diff --git a/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/D2DERR.cs b/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/D2DERR.cs index 472a86b8..0309c7be 100644 --- a/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/D2DERR.cs +++ b/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/D2DERR.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static partial class D2DERR { diff --git a/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/E.cs b/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/E.cs index 27cd177d..41df1bee 100644 --- a/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/E.cs +++ b/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/E.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static class E { diff --git a/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/RO.cs b/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/RO.cs index 1e972113..79468474 100644 --- a/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/RO.cs +++ b/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/RO.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class RO { diff --git a/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/Windows.cs b/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/Windows.cs index 4d36cac3..9882754c 100644 --- a/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/Windows.cs +++ b/src/ComputeSharp.Win32.D2D1/Windows/shared/winerror/Windows.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class Windows { diff --git a/src/ComputeSharp.Win32.D3D12/ComPtr`1.cs b/src/ComputeSharp.Win32.D3D12/ComPtr`1.cs index ca4edb48..afbc696c 100644 --- a/src/ComputeSharp.Win32.D3D12/ComPtr`1.cs +++ b/src/ComputeSharp.Win32.D3D12/ComPtr`1.cs @@ -11,7 +11,7 @@ using System.Runtime.CompilerServices; using static TerraFX.Interop.Windows.Windows; using static TerraFX.Interop.Windows.S; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; /// /// Extensions for to operate on raw pointers as well. diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_BOX.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_BOX.Manual.cs index 8df7faeb..d5cbc485 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_BOX.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_BOX.Manual.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_BOX : IEquatable { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs index ddf461a6..d7b2d359 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_CPU_DESCRIPTOR_HANDLE.Manual.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_CPU_DESCRIPTOR_HANDLE : IEquatable { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs index c6f00196..7ae218e0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_GPU_DESCRIPTOR_HANDLE.Manual.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_GPU_DESCRIPTOR_HANDLE : IEquatable { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs index 2b831a36..4350b824 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_ALLOCATION_INFO.Manual.cs @@ -3,7 +3,7 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_RESOURCE_ALLOCATION_INFO { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs index b2014aca..87a72985 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs @@ -7,7 +7,7 @@ using static TerraFX.Interop.DirectX.D3D12; using static TerraFX.Interop.DirectX.D3D12_RESOURCE_BARRIER_FLAGS; using static TerraFX.Interop.DirectX.D3D12_RESOURCE_BARRIER_TYPE; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_RESOURCE_BARRIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs index 7e7f2e5a..0985950b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs @@ -9,7 +9,7 @@ using static TerraFX.Interop.DirectX.D3D12_RESOURCE_FLAGS; using static TerraFX.Interop.DirectX.D3D12_TEXTURE_LAYOUT; using static TerraFX.Interop.DirectX.DXGI_FORMAT; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_RESOURCE_DESC : IEquatable { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs index b7c31011..c0a75cf3 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_CONSTANTS.Manual.cs @@ -3,7 +3,7 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_CONSTANTS { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs index 0f4b4ed4..5dd7c923 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR.Manual.cs @@ -3,7 +3,7 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_DESCRIPTOR { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs index 8b5eaa6e..ed0b0aeb 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs @@ -5,7 +5,7 @@ using static TerraFX.Interop.DirectX.D3D12_ROOT_DESCRIPTOR_FLAGS; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_DESCRIPTOR1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs index d0dd2ae5..68ffc442 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR_TABLE1.Manual.cs @@ -3,7 +3,7 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_DESCRIPTOR_TABLE1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs index 68101402..cb276958 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs @@ -6,7 +6,7 @@ using static TerraFX.Interop.DirectX.D3D12_ROOT_PARAMETER_TYPE; using static TerraFX.Interop.DirectX.D3D12_SHADER_VISIBILITY; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_PARAMETER1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs index adba26d2..c56bccad 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_SHADER_BYTECODE.Manual.cs @@ -3,7 +3,7 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_SHADER_BYTECODE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs index d8a8426f..ef69191c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs @@ -10,7 +10,7 @@ using static TerraFX.Interop.DirectX.D3D12_SHADER_VISIBILITY; using static TerraFX.Interop.DirectX.D3D12_STATIC_BORDER_COLOR; using static TerraFX.Interop.DirectX.D3D12_TEXTURE_ADDRESS_MODE; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_STATIC_SAMPLER_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs index 70f1abc8..4365fa5c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs @@ -6,7 +6,7 @@ using System.Runtime.CompilerServices; using static TerraFX.Interop.DirectX.D3D12_TEXTURE_COPY_TYPE; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_TEXTURE_COPY_LOCATION { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs index 4b4a0e5a..d3676492 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs @@ -6,7 +6,7 @@ using static TerraFX.Interop.DirectX.D3D_ROOT_SIGNATURE_VERSION; using static TerraFX.Interop.DirectX.D3D12_ROOT_SIGNATURE_FLAGS; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_VERSIONED_ROOT_SIGNATURE_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI.cs index 1e32ed74..c85eb359 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static partial class DXGI { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs index b21f4410..da739d36 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs @@ -5,7 +5,7 @@ using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct DXGI_ADAPTER_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs index 2b2ac9c2..bfa77122 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs @@ -5,7 +5,7 @@ using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct DXGI_ADAPTER_DESC1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs index fdbc0833..dd5dcbd5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_FLAG.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum DXGI_ADAPTER_FLAG : uint diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs index d875a40a..fc3c3753 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_SWAP_CHAIN_FLAG.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum DXGI_SWAP_CHAIN_FLAG diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs index 7396cab3..41f923c5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_SWAP_EFFECT.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum DXGI_SWAP_EFFECT { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs index b1d2f7d2..f3448436 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("2411E7E1-12AC-4CCF-BD14-9798E8534DC0")] [NativeTypeName("struct IDXGIAdapter : IDXGIObject")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs index a5bc515d..2d3646a1 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("29038F61-3839-4626-91FD-086879011A05")] [NativeTypeName("struct IDXGIAdapter1 : IDXGIAdapter")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs index 0818d120..6b2b7f03 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("7B7166EC-21C7-44AE-B21A-C9AE321AE369")] [NativeTypeName("struct IDXGIFactory : IDXGIObject")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs index 416f75e6..13920f6e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("AE02EEDB-C735-4690-8D52-5A8DC20213AA")] [NativeTypeName("struct IDXGIOutput : IDXGIObject")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs index b2d06f4b..73cf51bc 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("310D36A0-D2E7-4C0A-AA04-6A9D23B8886A")] [NativeTypeName("struct IDXGISwapChain : IDXGIDeviceSubObject")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs index 0eda66b8..7f02fdd5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("00CDDEA8-939B-4B83-A340-A685226666CC")] [NativeTypeName("struct IDXGIOutput1 : IDXGIOutput")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs index 45c56fe4..416f0221 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_ALPHA_MODE.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum DXGI_ALPHA_MODE : uint { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs index 05e5c746..1a5b5107 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs @@ -5,7 +5,7 @@ using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct DXGI_MODE_DESC1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SCALING.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SCALING.cs index f846c4ba..fef2ff16 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SCALING.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SCALING.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum DXGI_SCALING { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs index f7e09da5..0ab99c1c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs @@ -5,7 +5,7 @@ using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct DXGI_SWAP_CHAIN_DESC1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs index a7c6554a..a81b1f32 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("50C83A1C-E072-4C48-87B0-3630FA36A6D0")] [NativeTypeName("struct IDXGIFactory2 : IDXGIFactory1")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs index d9dfd326..bfb4aed1 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("790A45F7-0D42-4876-983A-0A55CFE6F4AA")] [NativeTypeName("struct IDXGISwapChain1 : IDXGISwapChain")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI.cs index cd1f58c3..102c9542 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgi1_3.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static partial class DXGI { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs index 267e64a9..2a5fab5a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DXGI_MATRIX_3X2_F.cs @@ -5,7 +5,7 @@ using System.Runtime.Versioning; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [SupportedOSPlatform("windows8.1")] internal partial struct DXGI_MATRIX_3X2_F diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs index 7969e46b..f09a4cdb 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; using System.Runtime.Versioning; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static unsafe partial class DirectX { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs index 07b8b9e5..d5964d7d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("1BC6EA02-EF36-464F-BF0C-21CA39E5168A")] [NativeTypeName("struct IDXGIFactory4 : IDXGIFactory3")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs index 2a737cea..7a108332 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs @@ -9,7 +9,7 @@ using System.Runtime.InteropServices; using System.Runtime.Versioning; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [SupportedOSPlatform("windows10.0")] [Guid("94D99BDB-F1F8-4AB0-B236-7DA0170EDAB1")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_5/DXGI_FEATURE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_5/DXGI_FEATURE.cs index 48c82e83..eac6b56c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_5/DXGI_FEATURE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_5/DXGI_FEATURE.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgi1_5.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum DXGI_FEATURE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs index aff48bbd..27dbcd57 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/DXGI_GPU_PREFERENCE.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgi1_6.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum DXGI_GPU_PREFERENCE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs index 4d0c75d4..6fc241d9 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs @@ -9,7 +9,7 @@ using System.Runtime.InteropServices; using System.Runtime.Versioning; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [SupportedOSPlatform("windows10.0.17134.0")] [Guid("C1B6694F-FF09-44A9-B03C-77900A0A1D17")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_RATIONAL.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_RATIONAL.cs index dde9e8e0..a622341c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_RATIONAL.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_RATIONAL.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgicommon.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct DXGI_RATIONAL { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs index 9edbee10..b1672db8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.Manual.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgicommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct DXGI_SAMPLE_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs index 5d8d5c25..866316ac 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgicommon/DXGI_SAMPLE_DESC.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgicommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct DXGI_SAMPLE_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgiformat/DXGI_FORMAT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgiformat/DXGI_FORMAT.cs index b9b9b142..d49c46e8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgiformat/DXGI_FORMAT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgiformat/DXGI_FORMAT.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgiformat.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum DXGI_FORMAT : uint { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs index c2874cb6..b6217c2f 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgitype/DXGI_MODE_SCALING.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgitype.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum DXGI_MODE_SCALING { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs index 2af3aefa..c33c46f5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgitype/DXGI_MODE_SCANLINE_ORDER.cs @@ -3,7 +3,7 @@ // Ported from shared/dxgitype.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum DXGI_MODE_SCANLINE_ORDER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs index 20a89b1d..fd23304d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs @@ -5,7 +5,7 @@ using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D2D1_FEATURE_LEVEL : uint { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11/D3D11.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11/D3D11.cs index 2a550678..3489e153 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11/D3D11.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11/D3D11.cs @@ -8,7 +8,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static partial class D3D11 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11shader/D3D.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11shader/D3D.cs index 81a8cd4a..f9b2e8ba 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11shader/D3D.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d11shader/D3D.cs @@ -3,7 +3,7 @@ // Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static partial class D3D { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12.cs index 9e246b46..4180da06 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12.cs @@ -8,7 +8,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static partial class D3D12 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs index d916509d..36ae4f31 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs @@ -3,7 +3,7 @@ // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_AUTO_BREADCRUMB_NODE1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs index d04080ab..a0d929c7 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_AUTO_BREADCRUMB_OP.cs @@ -3,7 +3,7 @@ // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_AUTO_BREADCRUMB_OP { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BOX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BOX.cs index c5544de8..d0280bd9 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BOX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BOX.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_BOX { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_SRV.cs index ca76def6..5b33c419 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_BUFFER_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs index 82257a21..a9e7766e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_SRV_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_BUFFER_SRV_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_UAV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_UAV.cs index 70755b12..b602688f 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_UAV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_UAV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_BUFFER_UAV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs index 9fa08a86..2960257d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_BUFFER_UAV_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_BUFFER_UAV_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs index cb97d2aa..d72c2ad9 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CACHED_PIPELINE_STATE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_CACHED_PIPELINE_STATE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs index f4568a11..0745cfa3 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_CLEAR_VALUE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs index e93197fc..3335da8e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_LIST_TYPE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_COMMAND_LIST_TYPE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs index ecb8f075..467370c7 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_COMMAND_QUEUE_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs index a7acef1b..7ab66002 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_COMMAND_QUEUE_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs index ff808739..a6447fc8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_COMMAND_QUEUE_PRIORITY { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs index cb7b5e18..7442f440 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMPARISON_FUNC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_COMPARISON_FUNC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs index ed826aee..c7e8088b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_COMPUTE_PIPELINE_STATE_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_COMPUTE_PIPELINE_STATE_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs index 2dbf07bb..df5395af 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CONSERVATIVE_RASTERIZATION_TIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_CONSERVATIVE_RASTERIZATION_TIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs index 28baffe7..182ceb47 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CONSTANT_BUFFER_VIEW_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_CONSTANT_BUFFER_VIEW_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs index 02c37945..d876e269 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CPU_DESCRIPTOR_HANDLE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_CPU_DESCRIPTOR_HANDLE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs index 3173d685..8fbbd797 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CPU_PAGE_PROPERTY.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_CPU_PAGE_PROPERTY { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs index 9958bcf3..c9398a77 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_CROSS_NODE_SHARING_TIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_CROSS_NODE_SHARING_TIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs index 5bbdce79..695f4f6a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VALUE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_DEPTH_STENCIL_VALUE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs index b6b5adf2..39fad226 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_DESCRIPTOR_HEAP_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs index 5aa41e15..c88c6274 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_DESCRIPTOR_HEAP_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs index d787ee5a..30033f89 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_HEAP_TYPE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_DESCRIPTOR_HEAP_TYPE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs index 2167f824..94514d46 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_DESCRIPTOR_RANGE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs index 5e069ba8..97202454 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE1.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_DESCRIPTOR_RANGE1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs index 0b32d22f..96b75acb 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_DESCRIPTOR_RANGE_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs index cc44d622..674daa56 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DESCRIPTOR_RANGE_TYPE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_DESCRIPTOR_RANGE_TYPE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs index 6eb9eed9..21d0a113 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_AUTO_BREADCRUMB_OUTPUT1.cs @@ -3,7 +3,7 @@ // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs index b90a0279..c248a714 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_BREADCRUMB_CONTEXT.cs @@ -3,7 +3,7 @@ // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_DRED_BREADCRUMB_CONTEXT { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs index e673f11c..2d83ac08 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_DRED_ENABLEMENT.cs @@ -3,7 +3,7 @@ // Ported from d3d12.h in Microsoft.Direct3D.D3D12 v1.600.10 // Original source is Copyright © Microsoft. Licensed under the MIT license -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_DRED_ENABLEMENT { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE.cs index 40208a9c..1d74e51f 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_FEATURE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs index 293d5c5c..2f468516 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs @@ -5,7 +5,7 @@ using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_ARCHITECTURE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs index 9f8ff1c6..11e6dc2e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs @@ -5,7 +5,7 @@ using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_ARCHITECTURE1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs index 89b4e1fd..afc1bbc9 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs @@ -5,7 +5,7 @@ using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_D3D12_OPTIONS { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs index 1b06fc6b..175c6e6c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs @@ -5,7 +5,7 @@ using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_D3D12_OPTIONS1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs index 2d5fa0f5..1de60743 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS7.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_D3D12_OPTIONS7 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs index 78338b78..81ce3bbe 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_FORMAT_SUPPORT.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_FORMAT_SUPPORT { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs index 6f40a918..10131ee1 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_SHADER_MODEL.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_SHADER_MODEL { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs index f16eae1f..4624e449 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FENCE_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_FENCE_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FILTER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FILTER.cs index 25119b2a..98f6febe 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FILTER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FILTER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_FILTER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs index 54d3aa6c..2f005fbc 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT1.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_FORMAT_SUPPORT1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs index 3d12a2b0..336ae0c9 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FORMAT_SUPPORT2.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_FORMAT_SUPPORT2 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs index 40cc10f1..5dbeb3c1 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_GPU_DESCRIPTOR_HANDLE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_GPU_DESCRIPTOR_HANDLE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_DESC.cs index c9c848a0..8d0a925d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_HEAP_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs index 6e0b596f..b80245b8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_HEAP_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs index 867db3cb..a152e8eb 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_PROPERTIES.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_HEAP_PROPERTIES { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_TYPE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_TYPE.cs index 481a8018..b8ba3d0b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_TYPE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_HEAP_TYPE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_HEAP_TYPE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MEMORY_POOL.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MEMORY_POOL.cs index 3c945b77..38293f6b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MEMORY_POOL.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MEMORY_POOL.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_MEMORY_POOL { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs index 1af3616f..3de2d98e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MESH_SHADER_TIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_MESH_SHADER_TIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MIP_REGION.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MIP_REGION.cs index bcb82cd4..ab13e1a3 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MIP_REGION.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_MIP_REGION.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_MIP_REGION { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs index b16c9158..55936aa6 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_PIPELINE_STATE_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs index c67f0417..0e1c1444 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_PLACED_SUBRESOURCE_FOOTPRINT.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_PLACED_SUBRESOURCE_FOOTPRINT { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RANGE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RANGE.cs index 54656b19..ab38378f 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RANGE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RANGE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_RANGE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs index 9dfa161c..e00a0ffe 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs index 1eb706ac..494cc133 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALIASING_BARRIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_RESOURCE_ALIASING_BARRIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs index 23bf65ce..49f2ea8d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_RESOURCE_ALLOCATION_INFO { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs index 0cadc2a3..4cf47f4e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_ALLOCATION_INFO1.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_RESOURCE_ALLOCATION_INFO1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs index 134960e8..f561fdbc 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_RESOURCE_BARRIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs index d30ccbaf..92855433 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_RESOURCE_BARRIER_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs index 37c7704a..0b3556fa 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER_TYPE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_RESOURCE_BARRIER_TYPE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs index a11b9104..42062c24 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_BINDING_TIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_RESOURCE_BINDING_TIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs index aa85e919..a80dbb7b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_RESOURCE_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs index bf7d4af0..75c1028e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DESC1.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_RESOURCE_DESC1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs index 2beb386f..c6e68501 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_DIMENSION.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_RESOURCE_DIMENSION { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs index 48c64e0c..a3dc096b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_RESOURCE_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs index 4d1e88dc..099ab50f 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_HEAP_TIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_RESOURCE_HEAP_TIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs index 5e48110c..4f5d9254 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_STATES.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_RESOURCE_STATES diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs index 231f1759..bb48b718 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_TRANSITION_BARRIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_RESOURCE_TRANSITION_BARRIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs index 38797652..12a4b09c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_RESOURCE_UAV_BARRIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_RESOURCE_UAV_BARRIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs index b29c1a86..b166a7a4 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_CONSTANTS.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_ROOT_CONSTANTS { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs index 3a7753d8..0e0b9844 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_ROOT_DESCRIPTOR { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs index 10045f83..bc78d34b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR1.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_ROOT_DESCRIPTOR1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs index 6f5a6df2..6137cc1c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_ROOT_DESCRIPTOR_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs index 47749411..08075912 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_DESCRIPTOR_TABLE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs index 90bf97b5..ab974aa4 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_DESCRIPTOR_TABLE1.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_DESCRIPTOR_TABLE1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs index ae61aa18..fd0a653a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_ROOT_PARAMETER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs index e5220d7a..9bb63db9 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_ROOT_PARAMETER1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs index 9fc321a3..a36d305b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_PARAMETER_TYPE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_ROOT_PARAMETER_TYPE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs index 80d5da7b..6377a41e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_SIGNATURE_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs index 76dbb13a..43a495ed 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_DESC1.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_ROOT_SIGNATURE_DESC1 { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs index a8e52e8b..45bfa94e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_ROOT_SIGNATURE_FLAGS.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_ROOT_SIGNATURE_FLAGS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs index 023552c2..12ee10e3 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SAMPLER_FEEDBACK_TIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_SAMPLER_FEEDBACK_TIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs index 898904c7..3269ea34 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_BYTECODE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_SHADER_BYTECODE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs index 7fd36fab..62371f30 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_MIN_PRECISION_SUPPORT.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Flags] internal enum D3D12_SHADER_MIN_PRECISION_SUPPORT diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs index 9aa5071f..eae2a061 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs @@ -7,7 +7,7 @@ using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_SHADER_RESOURCE_VIEW_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs index bffe3d65..25a6cac6 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SHADER_VISIBILITY.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_SHADER_VISIBILITY { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs index 43822779..a1959868 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SRV_DIMENSION.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_SRV_DIMENSION { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs index 45f2b3dd..7f0cbf83 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_STATIC_BORDER_COLOR.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_STATIC_BORDER_COLOR { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs index 0b4a53e1..d9882e16 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_STATIC_SAMPLER_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_STATIC_SAMPLER_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs index 765f1be7..71143115 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_SUBRESOURCE_FOOTPRINT.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_SUBRESOURCE_FOOTPRINT { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs index ea6d8cf5..b121fbc8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX1D_ARRAY_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs index aeaf9632..d6d5442e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_ARRAY_UAV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX1D_ARRAY_UAV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_SRV.cs index a2bdf365..a833cd80 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX1D_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_UAV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_UAV.cs index 4535bdef..515557e4 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_UAV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX1D_UAV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX1D_UAV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs index 151e8e29..f423324c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2DMS_ARRAY_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX2DMS_ARRAY_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs index 4d4f6109..b3a6c8aa 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2DMS_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX2DMS_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs index 008ad812..9c76e77e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX2D_ARRAY_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs index da337db6..4cd1c4b0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_ARRAY_UAV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX2D_ARRAY_UAV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_SRV.cs index 9c0cb28f..f6ad80e3 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX2D_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_UAV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_UAV.cs index 921482df..59761102 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_UAV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX2D_UAV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX2D_UAV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX3D_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX3D_SRV.cs index 22e41912..977c224e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX3D_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX3D_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX3D_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX3D_UAV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX3D_UAV.cs index 70ca54f0..419e50a3 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX3D_UAV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEX3D_UAV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEX3D_UAV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs index 9553f996..ac996c68 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXCUBE_ARRAY_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEXCUBE_ARRAY_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs index 94702abf..dbfa7108 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXCUBE_SRV.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_TEXCUBE_SRV { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs index e2b35919..e5953bba 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_ADDRESS_MODE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_TEXTURE_ADDRESS_MODE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs index 8751fef8..faa0f9e0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_TEXTURE_COPY_LOCATION { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs index 3b69f3e9..64ac7fbf 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_COPY_TYPE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_TEXTURE_COPY_TYPE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs index 54f6c22a..384a73cd 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TEXTURE_LAYOUT.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_TEXTURE_LAYOUT { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs index d73af463..a09a5c37 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_TILED_RESOURCES_TIER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_TILED_RESOURCES_TIER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs index 9b9173c7..26cb51ba 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_UAV_DIMENSION.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_UAV_DIMENSION { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs index 0cd5b52a..1e3d6ec0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs @@ -7,7 +7,7 @@ using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_UNORDERED_ACCESS_VIEW_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs index f80f9288..2cdced4a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_VERSIONED_ROOT_SIGNATURE_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs index ea60f691..37ddd4b8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D_ROOT_SIGNATURE_VERSION.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_ROOT_SIGNATURE_VERSION { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D_SHADER_MODEL.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D_SHADER_MODEL.cs index 3b031c97..2603a16d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D_SHADER_MODEL.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D_SHADER_MODEL.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_SHADER_MODEL { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs index ffa566f7..7534d97a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static unsafe partial class DirectX { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs index 452d84df..f5ed910f 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("6102DEE4-AF59-4B09-B999-B44D73F09B24")] [NativeTypeName("struct ID3D12CommandAllocator : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs index b3440889..7fb29595 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("7116D91C-E7E4-47CE-B8C6-EC8168F437E5")] [NativeTypeName("struct ID3D12CommandList : ID3D12DeviceChild")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs index 8bdd51c2..c1038198 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("0EC870A6-5D7E-4C22-8CFC-5BAAE07616ED")] [NativeTypeName("struct ID3D12CommandQueue : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs index 601e78ae..8dda3273 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("8EFB471D-616C-4F49-90F7-127BB763FA51")] [NativeTypeName("struct ID3D12DescriptorHeap : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs index e806f9d1..2e91f41b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("189819F1-1DB6-4B57-BE54-1821339B85F7")] [NativeTypeName("struct ID3D12Device : ID3D12Object")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs index e82d5ed1..c6c3d657 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("9727A022-CF1D-4DDA-9EBA-EFFA653FC506")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemovedExtendedData")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs index 6ebe1113..3d4aaff8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("DBD5AE51-3317-4F0A-ADF9-1D7CEDCAAE0B")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12DeviceRemovedExtendedDataSettings")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs index 8ba93988..78df37ff 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("0A753DCF-C4D8-4B91-ADF6-BE5A60D95A76")] [NativeTypeName("struct ID3D12Fence : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs index 579c62b5..84316d99 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("5B160D0F-AC1B-4185-8BA8-B3AE42A5A455")] [NativeTypeName("struct ID3D12GraphicsCommandList : ID3D12CommandList")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs index f2fb5127..659eeb77 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("6B3B2502-6E51-45B3-90EE-9884265E8DF3")] [NativeTypeName("struct ID3D12Heap : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs index 3955308f..c0a49152 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("765A30F3-F624-4C6F-A828-ACE948622445")] [NativeTypeName("struct ID3D12PipelineState : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs index 5f7b56b7..8bac7f85 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("696442BE-A72E-4059-BC79-5B5C98040FAD")] [NativeTypeName("struct ID3D12Resource : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs index be8e303b..22a6096c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("C54A6B66-72DF-4EE8-8BE5-A946A1429214")] [NativeTypeName("struct ID3D12RootSignature : ID3D12DeviceChild")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs index 41f5aede..41bf7396 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12sdklayers.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal partial struct D3D12_INFO_QUEUE_FILTER { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs index 2a3d3b63..8fc5e44e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_INFO_QUEUE_FILTER_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12sdklayers.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_INFO_QUEUE_FILTER_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs index 5c4a4dbc..b3b2e052 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12sdklayers.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_MESSAGE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs index 8deb87ae..9f6c2fdc 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_CATEGORY.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12sdklayers.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_MESSAGE_CATEGORY { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs index ca13381f..cc88858a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_ID.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12sdklayers.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_MESSAGE_ID { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs index a5283d8a..0789a201 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/D3D12_MESSAGE_SEVERITY.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12sdklayers.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D12_MESSAGE_SEVERITY { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs index 5f47ce6f..74f5a97d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("344488B7-6846-474B-B989-F027448245E0")] [NativeTypeName("struct ID3D12Debug : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs index 1ec940b1..57337de0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("AFFAA4CA-63FE-4D8E-B8AD-159000AF4304")] [NativeTypeName("struct ID3D12Debug1 : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs index 5148e53d..5399bad7 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("0742A90B-C387-483F-B946-30A7E4E61458")] [NativeTypeName("struct ID3D12InfoQueue : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs index 4f898b59..25227c05 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/D3D12_SHADER_DESC.cs @@ -3,7 +3,7 @@ // Ported from um/d3d12shader.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct D3D12_SHADER_DESC { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs index 979816fa..dcd58f38 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("5A58797D-A72C-478D-8BA2-EFC6B0EFE88E")] [NativeTypeName("struct ID3D12ShaderReflection : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs index 92874f93..2d827dd5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_FEATURE_LEVEL.cs @@ -3,7 +3,7 @@ // Ported from um/d3dcommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_FEATURE_LEVEL { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_PRIMITIVE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_PRIMITIVE.cs index ae25e9ad..660a966a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_PRIMITIVE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_PRIMITIVE.cs @@ -3,7 +3,7 @@ // Ported from um/d3dcommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_PRIMITIVE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs index c9136041..6b282e6c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_PRIMITIVE_TOPOLOGY.cs @@ -3,7 +3,7 @@ // Ported from um/d3dcommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_PRIMITIVE_TOPOLOGY { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs index 388860cb..1ff10f44 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_DOMAIN.cs @@ -3,7 +3,7 @@ // Ported from um/d3dcommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_TESSELLATOR_DOMAIN { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs index 83805b15..e125d731 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_OUTPUT_PRIMITIVE.cs @@ -3,7 +3,7 @@ // Ported from um/d3dcommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs index 4e6fab59..60f5640a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/D3D_TESSELLATOR_PARTITIONING.cs @@ -3,7 +3,7 @@ // Ported from um/d3dcommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal enum D3D_TESSELLATOR_PARTITIONING { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs index 64e21959..80ff9ad0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs @@ -10,7 +10,7 @@ using TerraFX.Interop.Windows; #pragma warning disable CS0649 -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("8BA5FB08-5195-40E2-AC58-0D989C3A0102")] [NativeTypeName("struct ID3D10Blob : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs b/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs index f0a71eb0..6803a721 100644 --- a/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs +++ b/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs @@ -10,7 +10,7 @@ using System.Runtime.Versioning; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; -namespace TerraFX.Interop.WinRT; +namespace ComputeSharp.Win32; [SupportedOSPlatform("windows8.1")] [Guid("F92F19D2-3ADE-45A6-A20C-F6F1EA90554B")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/BOOL.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/BOOL.cs index 2cc7a268..35f7f936 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/BOOL.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/BOOL.cs @@ -2,7 +2,7 @@ using System; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal readonly partial struct BOOL : IComparable, IComparable, IEquatable, IFormattable { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HANDLE.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HANDLE.cs index 0cd920e0..a429108b 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HANDLE.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HANDLE.cs @@ -2,7 +2,7 @@ using System; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal readonly unsafe partial struct HANDLE : IComparable, IComparable, IEquatable, IFormattable { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HRESULT.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HRESULT.cs index cfad5c70..c9b4f033 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HRESULT.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HRESULT.cs @@ -2,7 +2,7 @@ using System; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal readonly unsafe partial struct HRESULT : IComparable, IComparable, IEquatable, IFormattable { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HWND.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HWND.cs index 085d1806..fc536b74 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HWND.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/HWND.cs @@ -2,7 +2,7 @@ using System; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal readonly unsafe partial struct HWND : IComparable, IComparable, IEquatable, IFormattable { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/LPARAM.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/LPARAM.cs index a16ba041..a0ff8e3a 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/LPARAM.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/LPARAM.cs @@ -2,7 +2,7 @@ using System; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal readonly unsafe partial struct LPARAM : IComparable, IComparable, IEquatable, IFormattable { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/LRESULT.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/LRESULT.cs index 4e1c0d04..0483721d 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/LRESULT.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/LRESULT.cs @@ -2,7 +2,7 @@ using System; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal readonly partial struct LRESULT : IComparable, IComparable, IEquatable, IFormattable { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/NativeInheritanceAttribute.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/NativeInheritanceAttribute.cs index 8938ad92..4791bdd8 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/NativeInheritanceAttribute.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/NativeInheritanceAttribute.cs @@ -3,7 +3,7 @@ using System; using System.Diagnostics; -namespace TerraFX.Interop; +namespace ComputeSharp.Win32; /// Defines the base type of a struct as it was in the native signature. [AttributeUsage(AttributeTargets.Struct, AllowMultiple = false, Inherited = true)] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/NativeTypeNameAttribute.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/NativeTypeNameAttribute.cs index 1c96db9c..eb398d15 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/NativeTypeNameAttribute.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/NativeTypeNameAttribute.cs @@ -3,7 +3,7 @@ using System; using System.Diagnostics; -namespace TerraFX.Interop; +namespace ComputeSharp.Win32; /// Defines the type of a member as it was used in the native signature. [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = true)] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/VtblIndexAttribute.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/VtblIndexAttribute.cs index e5e7df01..95cd0a8f 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/VtblIndexAttribute.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/VtblIndexAttribute.cs @@ -3,7 +3,7 @@ using System; using System.Diagnostics; -namespace TerraFX.Interop; +namespace ComputeSharp.Win32; /// Defines the vtbl index of a method as it was in the native signature. [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/WPARAM.cs b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/WPARAM.cs index 177a7a4d..bd8377c8 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/WPARAM.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/other/helper-types/WPARAM.cs @@ -2,7 +2,7 @@ using System; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal readonly unsafe partial struct WPARAM : IComparable, IComparable, IEquatable, IFormattable { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/minwindef/FILETIME.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/minwindef/FILETIME.cs index cbe5ec45..73fdb562 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/minwindef/FILETIME.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/minwindef/FILETIME.cs @@ -3,7 +3,7 @@ // Ported from shared/minwindef.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal partial struct FILETIME { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/minwindef/Windows.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/minwindef/Windows.cs index 4dfe2b89..3b7b1976 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/minwindef/Windows.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/minwindef/Windows.cs @@ -3,7 +3,7 @@ // Ported from shared/minwindef.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class Windows { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/uuids/Windows.Manual.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/uuids/Windows.Manual.cs index 15045cca..42b890d5 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/uuids/Windows.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/uuids/Windows.Manual.cs @@ -9,7 +9,7 @@ using System.Runtime.CompilerServices; #pragma warning disable IDE1006 -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class Windows { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/DXGI.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/DXGI.cs index 77036760..e07d9c25 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/DXGI.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/DXGI.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static partial class DXGI { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/E.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/E.cs index 2a279efd..e046515c 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/E.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/E.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class E { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/S.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/S.cs index 9869841d..73a7aadd 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/S.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/S.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class S { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/STG.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/STG.cs index a5e814e8..12177431 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/STG.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/STG.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class STG { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/Windows.Manual.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/Windows.Manual.cs index 00d57787..ae8e2535 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/Windows.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/winerror/Windows.Manual.cs @@ -3,7 +3,7 @@ // Ported from shared/winerror.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class Windows { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/wtypes/STATFLAG.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/wtypes/STATFLAG.cs index 2bc25802..febe6b16 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/wtypes/STATFLAG.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/wtypes/STATFLAG.cs @@ -3,7 +3,7 @@ // Ported from shared/wtypes.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum STATFLAG { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/shared/wtypesbase/CLSCTX.cs b/src/ComputeSharp.Win32.D3D12/Windows/shared/wtypesbase/CLSCTX.cs index 260fce83..2101b68a 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/shared/wtypesbase/CLSCTX.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/shared/wtypesbase/CLSCTX.cs @@ -3,7 +3,7 @@ // Ported from shared/wtypesbase.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum CLSCTX { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IID.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IID.cs index f4d7959c..f3f05efa 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IID.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IID.cs @@ -8,7 +8,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class IID { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs index 9a75021e..d19342f0 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs @@ -9,7 +9,7 @@ using System.Runtime.InteropServices; #pragma warning disable CS0649 -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("00000000-0000-0000-C000-000000000046")] internal unsafe partial struct IUnknown diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs index 83a243a9..80b6e027 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static unsafe partial class Windows { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/combaseapi/Windows.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/combaseapi/Windows.cs index 22885466..0bbd7f8b 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/combaseapi/Windows.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/combaseapi/Windows.cs @@ -6,7 +6,7 @@ using System; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static unsafe partial class Windows { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/coml2api/STGM.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/coml2api/STGM.cs index 7cbd5295..aa7df8a0 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/coml2api/STGM.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/coml2api/STGM.cs @@ -3,7 +3,7 @@ // Ported from um/coml2api.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class STGM { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/handleapi/Windows.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/handleapi/Windows.cs index 1a4c3e6e..dab6cacd 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/handleapi/Windows.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/handleapi/Windows.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static unsafe partial class Windows { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs index d7078000..04a248a4 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/minwinbase/SECURITY_ATTRIBUTES.cs @@ -3,7 +3,7 @@ // Ported from um/minwinbase.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal unsafe partial struct SECURITY_ATTRIBUTES { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IID.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IID.cs index 50d17b3f..72e17ac5 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IID.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IID.cs @@ -8,7 +8,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class IID { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IStream.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IStream.cs index 95ce48a8..a5837eaf 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IStream.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/IStream.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("0000000C-0000-0000-C000-000000000046")] [NativeTypeName("struct IStream : ISequentialStream")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STATSTG.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STATSTG.cs index 40d1c92d..73d210e3 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STATSTG.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STATSTG.cs @@ -5,7 +5,7 @@ using System; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal unsafe partial struct STATSTG { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STGTY.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STGTY.cs index cd7dc868..8e9389f8 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STGTY.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/objidlbase/STGTY.cs @@ -3,7 +3,7 @@ // Ported from um/objidlbase.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum STGTY { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/synchapi/Windows.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/synchapi/Windows.cs index 4d7a236a..69440260 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/synchapi/Windows.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/synchapi/Windows.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static unsafe partial class Windows { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/CLSID.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/CLSID.cs index c16a8a65..0db82a11 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/CLSID.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/CLSID.cs @@ -8,7 +8,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class CLSID { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/GUID.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/GUID.cs index efc5e2dc..ff2cfdcf 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/GUID.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/GUID.cs @@ -8,7 +8,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class GUID { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmap.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmap.cs index c6a1d9b7..eb9cc87b 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmap.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmap.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("00000121-A8F2-4877-BA0A-FD2B6645FB94")] [NativeTypeName("struct IWICBitmap : IWICBitmapSource")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapDecoder.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapDecoder.cs index 719e3d0d..795ab442 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapDecoder.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapDecoder.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("9EDDE9E7-8DEE-47EA-99DF-E6FAF2ED44BF")] [NativeTypeName("struct IWICBitmapDecoder : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapEncoder.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapEncoder.cs index df4ca5e2..ae4e785e 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapEncoder.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapEncoder.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("00000103-A8F2-4877-BA0A-FD2B6645FB94")] [NativeTypeName("struct IWICBitmapEncoder : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapFrameDecode.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapFrameDecode.cs index 9f081dc8..dba20399 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapFrameDecode.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapFrameDecode.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("3B16811B-6A43-4EC9-A813-3D930C13B940")] [NativeTypeName("struct IWICBitmapFrameDecode : IWICBitmapSource")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapFrameEncode.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapFrameEncode.cs index 9c2c17cc..cf8de1bb 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapFrameEncode.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapFrameEncode.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("00000105-A8F2-4877-BA0A-FD2B6645FB94")] [NativeTypeName("struct IWICBitmapFrameEncode : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapSource.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapSource.cs index c4b25679..4ee3654a 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapSource.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICBitmapSource.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("00000120-A8F2-4877-BA0A-FD2B6645FB94")] [NativeTypeName("struct IWICBitmapSource : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICFormatConverter.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICFormatConverter.cs index 1440b8ee..00ffced5 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICFormatConverter.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICFormatConverter.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("00000301-A8F2-4877-BA0A-FD2B6645FB94")] [NativeTypeName("struct IWICFormatConverter : IWICBitmapSource")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICImagingFactory2.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICImagingFactory2.cs index b95ed100..5c6451f9 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICImagingFactory2.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICImagingFactory2.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [SupportedOSPlatform("windows8.0")] [Guid("7B816B45-1996-4476-B132-DE9E247C8AF0")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICPalette.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICPalette.cs index b92e5d63..39dc8bcb 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICPalette.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICPalette.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("00000040-A8F2-4877-BA0A-FD2B6645FB94")] [NativeTypeName("struct IWICPalette : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICStream.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICStream.cs index cb976b3b..dffbc1f9 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICStream.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICStream.cs @@ -7,7 +7,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [Guid("135FF860-22B7-4DDF-B0F6-218F4F299A43")] [NativeTypeName("struct IWICStream : IStream")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapAlphaChannelOption.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapAlphaChannelOption.cs index b6f7b716..1c2edf97 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapAlphaChannelOption.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapAlphaChannelOption.cs @@ -3,7 +3,7 @@ // Ported from um/wincodec.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum WICBitmapAlphaChannelOption { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapCreateCacheOption.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapCreateCacheOption.cs index 97e27bf2..387312dc 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapCreateCacheOption.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapCreateCacheOption.cs @@ -3,7 +3,7 @@ // Ported from um/wincodec.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum WICBitmapCreateCacheOption { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapDitherType.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapDitherType.cs index 015438f3..27fccb12 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapDitherType.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapDitherType.cs @@ -3,7 +3,7 @@ // Ported from um/wincodec.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum WICBitmapDitherType { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapEncoderCacheOption.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapEncoderCacheOption.cs index e8ad5dd8..9c4eca2f 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapEncoderCacheOption.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapEncoderCacheOption.cs @@ -3,7 +3,7 @@ // Ported from um/wincodec.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum WICBitmapEncoderCacheOption { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapPaletteType.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapPaletteType.cs index 17a97bce..856cdb0e 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapPaletteType.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICBitmapPaletteType.cs @@ -3,7 +3,7 @@ // Ported from um/wincodec.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum WICBitmapPaletteType { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICDecodeOptions.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICDecodeOptions.cs index 9d62b723..450b7730 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICDecodeOptions.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICDecodeOptions.cs @@ -3,7 +3,7 @@ // Ported from um/wincodec.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal enum WICDecodeOptions { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICRect.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICRect.cs index 3030a18e..df80002c 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICRect.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/WICRect.cs @@ -3,7 +3,7 @@ // Ported from um/wincodec.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal partial struct WICRect { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LARGE_INTEGER.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LARGE_INTEGER.cs index f63ab0a1..ce4f73ec 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LARGE_INTEGER.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LARGE_INTEGER.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [StructLayout(LayoutKind.Explicit)] internal partial struct LARGE_INTEGER diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LUID.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LUID.cs index cdd8b361..fea92cd7 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LUID.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/LUID.cs @@ -3,7 +3,7 @@ // Ported from um/winnt.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal partial struct LUID { diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/ULARGE_INTEGER.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/ULARGE_INTEGER.cs index 918aa17b..21aade10 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/ULARGE_INTEGER.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/ULARGE_INTEGER.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; [StructLayout(LayoutKind.Explicit)] internal partial struct ULARGE_INTEGER diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/Windows.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/Windows.cs index b480be6b..d2fb1c51 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/Windows.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/winnt/Windows.cs @@ -3,7 +3,7 @@ // Ported from um/winnt.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class Windows { From ff071ced693aaa9464b4276217f661e9b58f5e16 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 01:04:54 +0200 Subject: [PATCH 02/10] Update namespaces in ComputeSharp.D2D1 --- src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs | 2 +- src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs | 2 +- src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs | 2 +- src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs | 2 +- src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs | 2 +- src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs | 2 +- src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs | 2 +- src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs | 2 +- src/ComputeSharp.D2D1/Shaders/Interop/D2D1ExtendMode.cs | 2 +- src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs | 3 +-- .../Shaders/Interop/D2D1PixelShaderEffect.cs | 3 +-- .../Shaders/Interop/D2D1ReflectionServices.cs | 3 +-- .../Shaders/Interop/D2D1ResourceTextureManager.cs | 3 +-- src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs | 3 +-- .../Shaders/Interop/D2D1TransformMapper{T}.cs | 2 +- src/ComputeSharp.D2D1/Shaders/Interop/D3DFeatureLevel.cs | 2 +- .../Shaders/Interop/Effects/PixelShaderEffect.Globals{T}.cs | 3 +-- .../Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs | 3 +-- .../Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs | 3 +-- .../Shaders/Interop/Effects/PixelShaderEffect.Properties.cs | 3 +-- .../Shaders/Interop/Effects/PixelShaderEffect.Properties.g.cs | 3 +-- .../Shaders/Interop/Effects/PixelShaderEffect.Properties.tt | 3 +-- .../Shaders/Interop/Effects/PixelShaderEffect.cs | 3 +-- ...1ResourceTextureManagerImpl.ID2D1ResourceTextureManager.cs | 3 +-- ...eTextureManagerImpl.ID2D1ResourceTextureManagerInternal.cs | 3 +-- .../ResourceManagers/D2D1ResourceTextureManagerImpl.cs | 3 +-- .../Effects/ResourceManagers/ID2D1ResourceTextureManager.cs | 3 +-- .../ResourceManagers/ID2D1ResourceTextureManagerInternal.cs | 3 +-- ...D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs | 2 +- ...InfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs | 2 +- .../Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs | 3 +-- .../D2D1TransformMapperImpl.ID2D1TransformMapper.cs | 2 +- .../D2D1TransformMapperImpl.ID2D1TransformMapperInternal.cs | 2 +- .../Effects/TransformMappers/D2D1TransformMapperImpl.cs | 2 +- .../Effects/TransformMappers/ID2D1DrawInfoUpdateContext.cs | 4 ++-- .../TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs | 2 +- .../Interop/Effects/TransformMappers/ID2D1TransformMapper.cs | 2 +- .../Effects/TransformMappers/ID2D1TransformMapperInternal.cs | 2 +- .../Interop/Extensions/ID2D1EffectContextExtensions.cs | 3 +-- .../Shaders/Loaders/D2D1ByteArrayConstantBufferLoader.cs | 2 +- .../Shaders/Loaders/D2D1ByteBufferConstantBufferLoader.cs | 2 +- .../Shaders/Loaders/D2D1DrawInfoConstantBufferLoader.cs | 2 +- .../Shaders/Loaders/D2D1EffectConstantBufferLoader.cs | 2 +- .../Shaders/Translation/D3DCompiler.ID3DInclude.cs | 4 ++-- src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs | 3 +-- src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs | 1 - .../DirectX/um/d2d1_1/ID2D1DeviceContext.cs | 1 - src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs | 1 - .../DirectX/um/d2d1_1/ID2D1Factory1.cs | 1 - .../DirectX/um/d2d1_1/ID2D1Multithread.cs | 1 - src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs | 1 - .../DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs | 4 ---- .../DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs | 3 +-- .../DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs | 1 - .../DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs | 1 - .../DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs | 1 - .../DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs | 1 - .../DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs | 1 - .../DirectX/um/d3d11shader/ID3D11ShaderReflection.cs | 1 - .../DirectX/um/d3dcommon/ID3DInclude.cs | 1 - src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs | 1 - .../IDirect3DDxgiInterfaceAccess.cs | 1 - src/ComputeSharp.Win32.D3D12/ComPtr`1.cs | 4 ++-- src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs | 1 - 64 files changed, 50 insertions(+), 91 deletions(-) diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs index f227c4d1..bf2da03c 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1BufferPrecision.cs @@ -1,7 +1,7 @@ #if SOURCE_GENERATOR using static Windows.Win32.Graphics.Direct2D.D2D1_BUFFER_PRECISION; #else -using static TerraFX.Interop.DirectX.D2D1_BUFFER_PRECISION; +using static ComputeSharp.Win32.D2D1_BUFFER_PRECISION; #endif namespace ComputeSharp.D2D1; diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs index 6a0e6faf..aa9f897e 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1ChannelDepth.cs @@ -1,7 +1,7 @@ #if SOURCE_GENERATOR using static Windows.Win32.Graphics.Direct2D.D2D1_CHANNEL_DEPTH; #else -using static TerraFX.Interop.DirectX.D2D1_CHANNEL_DEPTH; +using static ComputeSharp.Win32.D2D1_CHANNEL_DEPTH; #endif namespace ComputeSharp.D2D1; diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs index 69e0d65d..9a9d439a 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1CompileOptions.cs @@ -3,7 +3,7 @@ using System; using D3DCOMPILE = Windows.Win32.PInvoke; #else using ComputeSharp.D2D1.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; #pragma warning disable IDE0004 #endif diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs index 4ccf3066..0acefef9 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1Filter.cs @@ -1,7 +1,7 @@ #if SOURCE_GENERATOR using static Windows.Win32.Graphics.Direct2D.D2D1_FILTER; #else -using static TerraFX.Interop.DirectX.D2D1_FILTER; +using static ComputeSharp.Win32.D2D1_FILTER; #endif namespace ComputeSharp.D2D1; diff --git a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs index f70b5d38..7aa710ce 100644 --- a/src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs +++ b/src/ComputeSharp.D2D1/Attributes/Enums/D2D1PixelOptions.cs @@ -2,7 +2,7 @@ using System; #if SOURCE_GENERATOR using static Windows.Win32.Graphics.Direct2D.D2D1_PIXEL_OPTIONS; #else -using static TerraFX.Interop.DirectX.D2D1_PIXEL_OPTIONS; +using static ComputeSharp.Win32.D2D1_PIXEL_OPTIONS; #endif namespace ComputeSharp.D2D1; diff --git a/src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs b/src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs index 067b72d2..ee9d2ece 100644 --- a/src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs +++ b/src/ComputeSharp.D2D1/Extensions/ComPtrExtensions.cs @@ -1,5 +1,5 @@ using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Extensions; diff --git a/src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs b/src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs index ed1cb658..149f0eaf 100644 --- a/src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs +++ b/src/ComputeSharp.D2D1/Extensions/HRESULTExtensions.cs @@ -1,7 +1,7 @@ using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Extensions; diff --git a/src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs b/src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs index 83c19302..9ac00c19 100644 --- a/src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs +++ b/src/ComputeSharp.D2D1/Extensions/RECTExtensions.cs @@ -1,7 +1,7 @@ using System; using System.Drawing; using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Extensions; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ExtendMode.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ExtendMode.cs index 15d6b19e..613478ca 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 ComputeSharp.Win32.D2D1_EXTEND_MODE; namespace ComputeSharp.D2D1; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs index 8642d8ed..f6e18354 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShader.cs @@ -3,8 +3,7 @@ using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Descriptors; using ComputeSharp.D2D1.Shaders.Loaders; using ComputeSharp.D2D1.Shaders.Translation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs index 7e9dcbfb..5e00d670 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs @@ -9,8 +9,7 @@ using ComputeSharp.D2D1.Shaders.Interop.Buffers; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; using ComputeSharp.D2D1.Shaders.Loaders; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ReflectionServices.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ReflectionServices.cs index 212b146f..29696e99 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ReflectionServices.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ReflectionServices.cs @@ -2,8 +2,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Descriptors; using ComputeSharp.D2D1.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs index 6f9d2404..4517c4f5 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs @@ -3,8 +3,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs index 7b3fe080..a00ea0af 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ShaderCompiler.cs @@ -2,8 +2,7 @@ using System; using System.Buffers; using System.Text; using ComputeSharp.D2D1.Shaders.Translation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapper{T}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapper{T}.cs index 524fcda4..6b5f4d19 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapper{T}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1TransformMapper{T}.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; using ComputeSharp.D2D1.Descriptors; using ComputeSharp.D2D1.Interop.Effects; using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CA1033 diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D3DFeatureLevel.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D3DFeatureLevel.cs index e1a7c80d..9fb4b546 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D3DFeatureLevel.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D3DFeatureLevel.cs @@ -1,4 +1,4 @@ -using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL; +using static ComputeSharp.Win32.D3D_FEATURE_LEVEL; namespace ComputeSharp.D2D1.Interop; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Globals{T}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Globals{T}.cs index bc728ef2..acfa28f2 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Globals{T}.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Globals{T}.cs @@ -2,8 +2,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Descriptors; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop.Effects; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs index 61bb031b..1d863751 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1DrawTransformMethods.cs @@ -2,8 +2,7 @@ using System; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop.Effects; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs index 016291a9..6681b8e5 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.ID2D1EffectImplMethods.cs @@ -3,8 +3,7 @@ using System.Runtime.InteropServices; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; using ComputeSharp.D2D1.Shaders.Interop.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop.Effects; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.cs index e8862adf..331b4142 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.cs @@ -4,8 +4,7 @@ using System.Runtime.InteropServices; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop.Effects; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.g.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.g.cs index 394d4a6d..6198dd5b 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.g.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.g.cs @@ -2,8 +2,7 @@ using System.Runtime.CompilerServices; #if !NET6_OR_GREATER using System.Runtime.InteropServices; #endif -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop.Effects; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.tt b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.tt index 97f33957..9502ee6a 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.tt +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.Properties.tt @@ -5,8 +5,7 @@ using System.Runtime.CompilerServices; #if !NET6_OR_GREATER using System.Runtime.InteropServices; #endif -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop.Effects; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs index 59e2d5ae..eba06e98 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.cs @@ -3,8 +3,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Interop.Effects; 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 b4eeac93..dd6ed705 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManager.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManager.cs @@ -1,7 +1,6 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; 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 f9e8105a..0255ea8a 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManagerInternal.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.ID2D1ResourceTextureManagerInternal.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Shaders.Interop.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.cs index cb269fd0..735978aa 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/D2D1ResourceTextureManagerImpl.cs @@ -3,8 +3,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using ComputeSharp.D2D1.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManager.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManager.cs index 370d8f9a..e72b788f 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManager.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManager.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManagerInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManagerInternal.cs index e9bf555c..b9929c7e 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManagerInternal.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/ResourceManagers/ID2D1ResourceTextureManagerInternal.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs index 43153ae7..49bf8974 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContex.cs @@ -1,6 +1,6 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs index f252aeda..13e11c6c 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.ID2D1DrawInfoUpdateContexInternal.cs @@ -1,6 +1,6 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs index f24d260f..55ee583f 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1DrawInfoUpdateContextImpl.cs @@ -3,8 +3,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using ComputeSharp.D2D1.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.ID2D1TransformMapper.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.ID2D1TransformMapper.cs index e3e616b8..f1c2652a 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.ID2D1TransformMapper.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.ID2D1TransformMapper.cs @@ -4,7 +4,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Interop.Effects; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.ID2D1TransformMapperInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.ID2D1TransformMapperInternal.cs index 502eaf89..8d5d355e 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.ID2D1TransformMapperInternal.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.ID2D1TransformMapperInternal.cs @@ -1,6 +1,6 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.cs index a4da3d99..e146cc65 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/D2D1TransformMapperImpl.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; using System.Threading; using ComputeSharp.D2D1.Interop; using ComputeSharp.D2D1.Interop.Effects; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContext.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContext.cs index 528a4437..b5c2e7f0 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContext.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContext.cs @@ -1,14 +1,14 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; /// -/// The updater for type to use with built-in effects. +/// The updater for type to use with built-in effects. /// [Guid("430C5B40-AE16-485F-90E6-4FA4915144B6")] internal unsafe struct ID2D1DrawInfoUpdateContext diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs index 9ac8206d..7a359d84 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1DrawInfoUpdateContextInternal.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1TransformMapper.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1TransformMapper.cs index 82f8327c..027e22ba 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1TransformMapper.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1TransformMapper.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1TransformMapperInternal.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1TransformMapperInternal.cs index 276434ef..f6cf1cc0 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1TransformMapperInternal.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Effects/TransformMappers/ID2D1TransformMapperInternal.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Extensions/ID2D1EffectContextExtensions.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Extensions/ID2D1EffectContextExtensions.cs index a96347e7..c2c4b08d 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/Extensions/ID2D1EffectContextExtensions.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/Extensions/ID2D1EffectContextExtensions.cs @@ -1,7 +1,6 @@ using System; using System.Runtime.CompilerServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Interop.Extensions; diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayConstantBufferLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayConstantBufferLoader.cs index 95f820c4..526b8249 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayConstantBufferLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteArrayConstantBufferLoader.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Descriptors; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Loaders; diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteBufferConstantBufferLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteBufferConstantBufferLoader.cs index 0225b6cd..a5119bcd 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteBufferConstantBufferLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1ByteBufferConstantBufferLoader.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Descriptors; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Loaders; diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1DrawInfoConstantBufferLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1DrawInfoConstantBufferLoader.cs index 49fc96d1..68cff552 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1DrawInfoConstantBufferLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1DrawInfoConstantBufferLoader.cs @@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Descriptors; using ComputeSharp.D2D1.Extensions; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Loaders; diff --git a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1EffectConstantBufferLoader.cs b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1EffectConstantBufferLoader.cs index 267c4747..7699c406 100644 --- a/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1EffectConstantBufferLoader.cs +++ b/src/ComputeSharp.D2D1/Shaders/Loaders/D2D1EffectConstantBufferLoader.cs @@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.D2D1.Descriptors; using ComputeSharp.D2D1.Extensions; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.Shaders.Loaders; diff --git a/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.ID3DInclude.cs b/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.ID3DInclude.cs index 421f2a6c..0200e78c 100644 --- a/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.ID3DInclude.cs +++ b/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.ID3DInclude.cs @@ -8,8 +8,8 @@ using ComputeSharp.D2D1.Interop; using Windows.Win32.Graphics.Direct3D; using static Windows.Win32.Foundation.HRESULT; #else -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.Windows.S; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.S; #endif namespace ComputeSharp.D2D1.Shaders.Translation; diff --git a/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs b/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs index 71946306..02033e00 100644 --- a/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs +++ b/src/ComputeSharp.D2D1/Shaders/Translation/D3DCompiler.cs @@ -12,8 +12,7 @@ using Windows.Win32.Graphics.Direct3D.Fxc; using DirectX = Windows.Win32.PInvoke; #else using ComputeSharp.D2D1.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #endif namespace ComputeSharp.D2D1.Shaders.Translation; diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs index ce9bd902..c7a5e4d5 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs index a62b2e64..cce90946 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs index a043db7e..d2ebf9a0 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs index 94ceaefe..13eaef7a 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs index b9335f4d..404bff13 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs index 17cf0d7b..b5593744 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs index 670e74db..a799799c 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs @@ -5,10 +5,6 @@ #pragma warning disable CS0649 -#if NET6_0_OR_GREATER -using TerraFX.Interop.Windows; -#endif - namespace ComputeSharp.Win32; internal unsafe partial struct D2D1_PROPERTY_BINDING diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs index 4db61ffe..d88a8bbe 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs @@ -6,8 +6,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D2D1_PIXEL_OPTIONS; +using static ComputeSharp.Win32.D2D1_PIXEL_OPTIONS; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs index 22e9769b..7cea3a1c 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs index 2822d1c3..04b19ba0 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs index 3a7651cf..903e7119 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs index 8c5e68bc..b380bfeb 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs index 51acf390..7b0d1cb6 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs index 83933bce..f2bbbe49 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs index b0eacea5..f0d8caa3 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs @@ -4,7 +4,6 @@ // Original source is Copyright © Microsoft. Licensed under the MIT license using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs index 2cb714fd..9d7f46da 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcompiler/DirectX.cs @@ -5,7 +5,6 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D2D1/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs b/src/ComputeSharp.Win32.D2D1/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs index a5393191..eec114cc 100644 --- a/src/ComputeSharp.Win32.D2D1/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs +++ b/src/ComputeSharp.Win32.D2D1/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/ComPtr`1.cs b/src/ComputeSharp.Win32.D3D12/ComPtr`1.cs index afbc696c..58d6a1be 100644 --- a/src/ComputeSharp.Win32.D3D12/ComPtr`1.cs +++ b/src/ComputeSharp.Win32.D3D12/ComPtr`1.cs @@ -8,8 +8,8 @@ using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; -using static TerraFX.Interop.Windows.Windows; -using static TerraFX.Interop.Windows.S; +using static ComputeSharp.Win32.Windows; +using static ComputeSharp.Win32.S; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs index 80ff9ad0..1b97bd90 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649 From eccc297d8d0993385a14528105b489286e5fd9cb Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 01:27:20 +0200 Subject: [PATCH 03/10] Update namespaces in ComputeSharp.D2D1.WinUI --- .../ABI.Microsoft.Graphics.Canvas/ICanvasDevice.cs | 3 +-- .../ABI.Microsoft.Graphics.Canvas/ICanvasEffect.cs | 3 +-- .../ICanvasEffectFactoryNative.cs | 6 ++---- .../ICanvasFactoryNative.cs | 9 ++++----- .../ICanvasImageInterop.cs | 4 +--- .../ICanvasResourceCreator.cs | 3 +-- .../ICanvasResourceCreatorWithDpi.cs | 3 +-- .../ICanvasResourceWrapperNative.cs | 3 +-- .../ID2D1DeviceContextLease.cs | 4 +--- .../ID2D1DeviceContextPool.cs | 5 ++--- .../Inspectable/IInspectable.cs | 1 - .../ABI.Microsoft.Graphics.Canvas/Win2D.cs | 10 +++++----- .../Buffers/SourceReference.cs | 3 +-- .../CanvasEffect.Interop.cs | 3 +-- .../Extensions/ICanvasDeviceExtensions.cs | 10 ++++------ .../Extensions/ID2D1DeviceContextExtensions.cs | 3 +-- .../Extensions/ID2D1EffectExtensions.cs | 3 +-- .../Extensions/IUnknownExtensions.cs | 7 +++---- .../Helpers/RcwMarshaller.cs | 4 ++-- .../Helpers/ResourceManager.cs | 4 ++-- .../PixelShaderEffect{T}.ICanvasEffect.cs | 2 +- ...elShaderEffect{T}.ICanvasEffectFactoryNative.cs | 4 +--- .../PixelShaderEffect{T}.ICanvasImage.cs | 2 +- .../PixelShaderEffect{T}.ICanvasImageInterop.cs | 6 ++---- ...elShaderEffect{T}.Properties.Interop.Sources.cs | 14 ++++++-------- .../PixelShaderEffect{T}.Properties.Interop.cs | 2 +- .../PixelShaderEffect{T}.ReferenceTracking.cs | 2 +- .../PixelShaderEffect{T}.cs | 3 +-- 28 files changed, 49 insertions(+), 77 deletions(-) diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasDevice.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasDevice.cs index 017cfa83..7f32bdd2 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasDevice.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasDevice.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649, IDE1006 diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasEffect.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasEffect.cs index 4a599ce0..f51b8fbf 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasEffect.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasEffect.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649, IDE1006 diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasEffectFactoryNative.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasEffectFactoryNative.cs index 9aecc008..7275b492 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasEffectFactoryNative.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasEffectFactoryNative.cs @@ -1,12 +1,10 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using WinRT; using WinRT.Interop; -using IInspectable = TerraFX.Interop.WinRT.IInspectable; +using IInspectable = ComputeSharp.Win32.IInspectable; #pragma warning disable CS0649, IDE1006 diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasFactoryNative.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasFactoryNative.cs index 98d88e29..4a17c0ec 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasFactoryNative.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasFactoryNative.cs @@ -1,11 +1,10 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using WinRT; using WinRT.Interop; -using IInspectable = TerraFX.Interop.WinRT.IInspectable; +using IInspectable = ComputeSharp.Win32.IInspectable; #pragma warning disable CS0649, IDE1006 @@ -77,7 +76,7 @@ internal unsafe struct ICanvasFactoryNative /// was not previously registered, or if was already registered. /// /// - /// The method validates at runtime that is an + /// The method validates at runtime that is an /// and that is an . Additionally, /// has to implement IWeakReferenceSource for this method to be successful. /// @@ -100,7 +99,7 @@ internal unsafe struct ICanvasFactoryNative /// resource was previously registered and could be correctly unregistered, otherwise. /// /// - /// The method validates at runtime that is an . + /// The method validates at runtime that is an . /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs index a8a143aa..4e64aa82 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasImageInterop.cs @@ -1,9 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using TerraFX.Interop; +using ComputeSharp.Win32; using WinRT; using WinRT.Interop; diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceCreator.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceCreator.cs index cc071f3d..a379d9ce 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceCreator.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceCreator.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649, IDE1006 diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceCreatorWithDpi.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceCreatorWithDpi.cs index 350c152d..f46e34c5 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceCreatorWithDpi.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceCreatorWithDpi.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649, IDE1006 diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceWrapperNative.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceWrapperNative.cs index 2df7b92d..6bf8a784 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceWrapperNative.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ICanvasResourceWrapperNative.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649, IDE1006 diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ID2D1DeviceContextLease.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ID2D1DeviceContextLease.cs index c0e19200..a1e20505 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ID2D1DeviceContextLease.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ID2D1DeviceContextLease.cs @@ -1,9 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649, IDE1006 diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ID2D1DeviceContextPool.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ID2D1DeviceContextPool.cs index 500b65ab..8651549b 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ID2D1DeviceContextPool.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/ID2D1DeviceContextPool.cs @@ -1,15 +1,14 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649, IDE1006 namespace ABI.Microsoft.Graphics.Canvas; /// -/// An interface for an object that provides access to pooled objects. +/// An interface for an object that provides access to pooled objects. /// [Guid("454A82A1-F024-40DB-BD5B-8F527FD58AD0")] [NativeTypeName("class ID2D1DeviceContextPool : IUnknown")] diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Inspectable/IInspectable.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Inspectable/IInspectable.cs index 84614429..05dc1146 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Inspectable/IInspectable.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Inspectable/IInspectable.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; #pragma warning disable CS0649, IDE1006 diff --git a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Win2D.cs b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Win2D.cs index 2e8b25d0..7e5a261d 100644 --- a/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Win2D.cs +++ b/src/ComputeSharp.D2D1.WinUI/ABI.Microsoft.Graphics.Canvas/Win2D.cs @@ -1,7 +1,7 @@ using System.Numerics; using System.Runtime.InteropServices; using ABI.Microsoft.Graphics.Canvas.Effects; -using TerraFX.Interop; +using ComputeSharp.Win32; using Windows.Foundation; namespace ABI.Microsoft.Graphics.Canvas; @@ -18,7 +18,7 @@ internal static unsafe class Win2D /// The input instance to compute the bounds for. /// The transform to use (optional). /// The resulting bounds. - /// The for the operation. + /// The for the operation. [DllImport("Microsoft.Graphics.Canvas.dll", PreserveSig = true, ExactSpelling = true)] [return: NativeTypeName("HRESULT")] public static extern int GetBoundsForICanvasImageInterop( @@ -34,7 +34,7 @@ internal static unsafe class Win2D /// The target instance to execute the operation upon. /// The input index to invalidate. /// The rectangle to invalidate. - /// The for the operation. + /// The for the operation. [DllImport("Microsoft.Graphics.Canvas.dll", PreserveSig = true, ExactSpelling = true)] [return: NativeTypeName("HRESULT")] public static extern int InvalidateSourceRectangleForICanvasImageInterop( @@ -50,7 +50,7 @@ internal static unsafe class Win2D /// The target instance to execute the operation upon. /// The resulting length of the COM array returned via . /// The COM array with the sequence of invalid rectangles for the effect. - /// The for the operation. + /// The for the operation. [DllImport("Microsoft.Graphics.Canvas.dll", PreserveSig = true, ExactSpelling = true)] [return: NativeTypeName("HRESULT")] public static extern int GetInvalidRectanglesForICanvasImageInterop( @@ -74,7 +74,7 @@ internal static unsafe class Win2D /// The sequence of bounds to consider in the resulting output. /// The number of elements provided in . /// The sequence of resulting required rectangles to compute. - /// The for the operation. + /// The for the operation. [DllImport("Microsoft.Graphics.Canvas.dll", PreserveSig = true, ExactSpelling = true)] [return: NativeTypeName("HRESULT")] public static extern int GetRequiredSourceRectanglesForICanvasImageInterop( diff --git a/src/ComputeSharp.D2D1.WinUI/Buffers/SourceReference.cs b/src/ComputeSharp.D2D1.WinUI/Buffers/SourceReference.cs index e91c02ab..28642405 100644 --- a/src/ComputeSharp.D2D1.WinUI/Buffers/SourceReference.cs +++ b/src/ComputeSharp.D2D1.WinUI/Buffers/SourceReference.cs @@ -3,8 +3,7 @@ using System.Runtime.CompilerServices; using ABI.Microsoft.Graphics.Canvas; using ComputeSharp.D2D1.WinUI.Extensions; using ComputeSharp.D2D1.WinUI.Helpers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using Windows.Graphics.Effects; namespace ComputeSharp.D2D1.WinUI.Buffers; diff --git a/src/ComputeSharp.D2D1.WinUI/CanvasEffect.Interop.cs b/src/ComputeSharp.D2D1.WinUI/CanvasEffect.Interop.cs index b0f6fd7b..25dee559 100644 --- a/src/ComputeSharp.D2D1.WinUI/CanvasEffect.Interop.cs +++ b/src/ComputeSharp.D2D1.WinUI/CanvasEffect.Interop.cs @@ -4,9 +4,8 @@ using System.Numerics; using ABI.Microsoft.Graphics.Canvas; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.WinUI.Helpers; +using ComputeSharp.Win32; using Microsoft.Graphics.Canvas; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; using Windows.Foundation; using ICanvasResourceCreator = Microsoft.Graphics.Canvas.ICanvasResourceCreator; diff --git a/src/ComputeSharp.D2D1.WinUI/Extensions/ICanvasDeviceExtensions.cs b/src/ComputeSharp.D2D1.WinUI/Extensions/ICanvasDeviceExtensions.cs index 43d57c5e..d4d6d476 100644 --- a/src/ComputeSharp.D2D1.WinUI/Extensions/ICanvasDeviceExtensions.cs +++ b/src/ComputeSharp.D2D1.WinUI/Extensions/ICanvasDeviceExtensions.cs @@ -1,8 +1,6 @@ using ABI.Microsoft.Graphics.Canvas; using ComputeSharp.D2D1.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using Win32 = TerraFX.Interop.Windows.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.WinUI.Extensions; @@ -23,14 +21,14 @@ internal static unsafe class ICanvasDeviceExtensions // Get the ICanvasResourceWrapperNative wrapper around the input device canvasDevice.QueryInterface( - riid: Win32.__uuidof(), + riid: Win32.Windows.__uuidof(), ppvObject: (void**)canvasDeviceResourceWrapperNative.GetAddressOf()).Assert(); // Get the underlying ID2D1Device1 instance in use HRESULT hresult = canvasDeviceResourceWrapperNative.Get()->GetNativeResource( device: null, dpi: 0, - iid: Win32.__uuidof(), + iid: Win32.Windows.__uuidof(), resource: (void**)d2D1Device1); return hresult; @@ -60,7 +58,7 @@ internal static unsafe class ICanvasDeviceExtensions { // Get the ID2D1DeviceContextPool interface reference canvasDevice.QueryInterface( - riid: Win32.__uuidof(), + riid: Win32.Windows.__uuidof(), ppvObject: (void**)d2D1DeviceContextPool.GetAddressOf()).Assert(); // Get a new ID2D1DeviceContextLease object from the retrieved pool diff --git a/src/ComputeSharp.D2D1.WinUI/Extensions/ID2D1DeviceContextExtensions.cs b/src/ComputeSharp.D2D1.WinUI/Extensions/ID2D1DeviceContextExtensions.cs index c80b7afd..6d827df9 100644 --- a/src/ComputeSharp.D2D1.WinUI/Extensions/ID2D1DeviceContextExtensions.cs +++ b/src/ComputeSharp.D2D1.WinUI/Extensions/ID2D1DeviceContextExtensions.cs @@ -1,6 +1,5 @@ using ComputeSharp.D2D1.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.WinUI.Extensions; diff --git a/src/ComputeSharp.D2D1.WinUI/Extensions/ID2D1EffectExtensions.cs b/src/ComputeSharp.D2D1.WinUI/Extensions/ID2D1EffectExtensions.cs index c7ed870e..e7901037 100644 --- a/src/ComputeSharp.D2D1.WinUI/Extensions/ID2D1EffectExtensions.cs +++ b/src/ComputeSharp.D2D1.WinUI/Extensions/ID2D1EffectExtensions.cs @@ -7,8 +7,7 @@ using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Interop; using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers; using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.WinUI.Extensions; diff --git a/src/ComputeSharp.D2D1.WinUI/Extensions/IUnknownExtensions.cs b/src/ComputeSharp.D2D1.WinUI/Extensions/IUnknownExtensions.cs index 54e8527a..ffee0181 100644 --- a/src/ComputeSharp.D2D1.WinUI/Extensions/IUnknownExtensions.cs +++ b/src/ComputeSharp.D2D1.WinUI/Extensions/IUnknownExtensions.cs @@ -1,7 +1,6 @@ using System.Runtime.CompilerServices; using ComputeSharp.D2D1.Extensions; -using TerraFX.Interop.Windows; -using Win32 = TerraFX.Interop.Windows.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.WinUI.Extensions; @@ -35,8 +34,8 @@ internal static unsafe class IUnknownExtensions using ComPtr leftUnknown = default; using ComPtr rightUnknown = default; - ((IUnknown*)Unsafe.AsPointer(ref left))->QueryInterface(Win32.__uuidof(), (void**)leftUnknown.GetAddressOf()).Assert(); - ((IUnknown*)right)->QueryInterface(Win32.__uuidof(), (void**)rightUnknown.GetAddressOf()).Assert(); + ((IUnknown*)Unsafe.AsPointer(ref left))->QueryInterface(Win32.Windows.__uuidof(), (void**)leftUnknown.GetAddressOf()).Assert(); + ((IUnknown*)right)->QueryInterface(Win32.Windows.__uuidof(), (void**)rightUnknown.GetAddressOf()).Assert(); return leftUnknown.Get() == rightUnknown.Get(); } diff --git a/src/ComputeSharp.D2D1.WinUI/Helpers/RcwMarshaller.cs b/src/ComputeSharp.D2D1.WinUI/Helpers/RcwMarshaller.cs index 07abf3bf..00ce1b70 100644 --- a/src/ComputeSharp.D2D1.WinUI/Helpers/RcwMarshaller.cs +++ b/src/ComputeSharp.D2D1.WinUI/Helpers/RcwMarshaller.cs @@ -1,8 +1,8 @@ using System; using System.Diagnostics.CodeAnalysis; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using WinRT; -using IInspectable = TerraFX.Interop.WinRT.IInspectable; +using IInspectable = ComputeSharp.Win32.IInspectable; namespace ComputeSharp.D2D1.WinUI.Helpers; diff --git a/src/ComputeSharp.D2D1.WinUI/Helpers/ResourceManager.cs b/src/ComputeSharp.D2D1.WinUI/Helpers/ResourceManager.cs index 97562833..5eb32a05 100644 --- a/src/ComputeSharp.D2D1.WinUI/Helpers/ResourceManager.cs +++ b/src/ComputeSharp.D2D1.WinUI/Helpers/ResourceManager.cs @@ -2,14 +2,14 @@ using System; using System.Diagnostics.CodeAnalysis; using ABI.Microsoft.Graphics.Canvas; using ComputeSharp.D2D1.Extensions; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using Windows.Graphics.Effects; using WinRT; namespace ComputeSharp.D2D1.WinUI.Helpers; using CanvasDevice = Microsoft.Graphics.Canvas.CanvasDevice; -using IInspectable = TerraFX.Interop.WinRT.IInspectable; +using IInspectable = Win32.IInspectable; /// /// A helper type to replicate Win2D's ResourceManager type. diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasEffect.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasEffect.cs index 467c1f5f..bebe30f4 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasEffect.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasEffect.cs @@ -5,7 +5,7 @@ using ABI.Microsoft.Graphics.Canvas; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.WinUI.Helpers; using ComputeSharp.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using Windows.Foundation; using ICanvasEffect = Microsoft.Graphics.Canvas.Effects.ICanvasEffect; using ICanvasResourceCreatorWithDpi = Microsoft.Graphics.Canvas.ICanvasResourceCreatorWithDpi; diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasEffectFactoryNative.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasEffectFactoryNative.cs index eefa430b..b1ee3d9a 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasEffectFactoryNative.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasEffectFactoryNative.cs @@ -5,9 +5,7 @@ using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.Interop; using ComputeSharp.D2D1.WinUI.Extensions; using ComputeSharp.D2D1.WinUI.Helpers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using TerraFX.Interop.WinRT; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.WinUI; diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasImage.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasImage.cs index 3a23f23d..bd40b527 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasImage.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasImage.cs @@ -3,7 +3,7 @@ using ABI.Microsoft.Graphics.Canvas; using ComputeSharp.D2D1.Extensions; using ComputeSharp.D2D1.WinUI.Helpers; using ComputeSharp.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using Windows.Foundation; using ICanvasResourceCreator = Microsoft.Graphics.Canvas.ICanvasResourceCreator; diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasImageInterop.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasImageInterop.cs index 3a683c99..df2a995a 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasImageInterop.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ICanvasImageInterop.cs @@ -7,12 +7,10 @@ using ComputeSharp.D2D1.Interop; using ComputeSharp.D2D1.WinUI.Extensions; using ComputeSharp.D2D1.WinUI.Helpers; using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using Windows.Graphics.Effects; using static ABI.Microsoft.Graphics.Canvas.WIN2D_GET_D2D_IMAGE_FLAGS; using static ABI.Microsoft.Graphics.Canvas.WIN2D_GET_DEVICE_ASSOCIATION_TYPE; -using Win32 = TerraFX.Interop.Windows.Windows; namespace ComputeSharp.D2D1.WinUI; @@ -64,7 +62,7 @@ unsafe partial class PixelShaderEffect } // Set the association type if the copy was successful - if (Win32.SUCCEEDED(hresult)) + if (Win32.Windows.SUCCEEDED(hresult)) { *type = WIN2D_GET_DEVICE_ASSOCIATION_TYPE_REALIZATION_DEVICE; } diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.Interop.Sources.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.Interop.Sources.cs index 68b69134..b9111ff1 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.Interop.Sources.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.Interop.Sources.cs @@ -7,16 +7,14 @@ using ComputeSharp.D2D1.WinUI.Buffers; using ComputeSharp.D2D1.WinUI.Extensions; using ComputeSharp.D2D1.WinUI.Helpers; using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using Windows.Graphics.Effects; using static ABI.Microsoft.Graphics.Canvas.WIN2D_GET_D2D_IMAGE_FLAGS; using static ABI.Microsoft.Graphics.Canvas.WIN2D_GET_DEVICE_ASSOCIATION_TYPE; -using static TerraFX.Interop.DirectX.D2D1_BORDER_MODE; -using static TerraFX.Interop.DirectX.D2D1_DPICOMPENSATION_INTERPOLATION_MODE; -using static TerraFX.Interop.DirectX.D2D1_DPICOMPENSATION_PROP; -using static TerraFX.Interop.DirectX.D2D1_PROPERTY_TYPE; -using Win32 = TerraFX.Interop.Windows.Windows; +using static ComputeSharp.Win32.D2D1_BORDER_MODE; +using static ComputeSharp.Win32.D2D1_DPICOMPENSATION_INTERPOLATION_MODE; +using static ComputeSharp.Win32.D2D1_DPICOMPENSATION_PROP; +using static ComputeSharp.Win32.D2D1_PROPERTY_TYPE; namespace ComputeSharp.D2D1.WinUI; @@ -133,7 +131,7 @@ unsafe partial class PixelShaderEffect // Try to get the ICanvasImageInterop interface from the input source HRESULT hresult = RcwMarshaller.GetNativeInterface(value, canvasImageInterop.GetAddressOf()); - if (!Win32.SUCCEEDED(hresult)) + if (!Win32.Windows.SUCCEEDED(hresult)) { // Only potentially handle E_NOINTERFACE, always throw in other cases if (hresult != E.E_NOINTERFACE) diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.Interop.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.Interop.cs index afa2fa24..b8040498 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.Interop.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.Properties.Interop.cs @@ -2,8 +2,8 @@ using System; using ComputeSharp.D2D1.Interop; using ComputeSharp.D2D1.WinUI.Extensions; using ComputeSharp.Interop; +using ComputeSharp.Win32; using Microsoft.Graphics.Canvas; -using TerraFX.Interop.DirectX; namespace ComputeSharp.D2D1.WinUI; diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ReferenceTracking.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ReferenceTracking.cs index 76865d69..0429e3d7 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ReferenceTracking.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.ReferenceTracking.cs @@ -2,7 +2,7 @@ using System; using ComputeSharp.Interop; using System.Runtime.CompilerServices; using ComputeSharp.D2D1.WinUI.Helpers; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D2D1.WinUI; diff --git a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.cs b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.cs index 7820cf68..be34464c 100644 --- a/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.cs +++ b/src/ComputeSharp.D2D1.WinUI/PixelShaderEffect{T}.cs @@ -3,10 +3,9 @@ using ABI.Microsoft.Graphics.Canvas; using ComputeSharp.D2D1.Descriptors; using ComputeSharp.D2D1.Interop; using ComputeSharp.Interop; +using ComputeSharp.Win32; using Microsoft.Graphics.Canvas; using Microsoft.Graphics.Canvas.Effects; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; namespace ComputeSharp.D2D1.WinUI; From d89bade85ae6906a4183717c5bbdf4a59cc67b80 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 12 Oct 2023 23:47:58 +0200 Subject: [PATCH 04/10] Use local D3D12 bindings for ComputeSharp --- ComputeSharp.sln | 1 + .../Windows/um/WinBase/Windows.cs | 2 +- src/ComputeSharp/ComputeSharp.csproj | 7 +++--- .../Extensions/Interop/ComPtrExtensions.cs | 2 +- .../IWICStreamExtensions.IBufferWriter.cs | 9 +++---- .../Interop/IWICStreamExtensions.Stream.cs | 9 +++---- .../Graphics/Helpers/WICHelper.cs | 2 ++ .../Interop/Allocation/ID3D12Allocation.cs | 9 +++---- .../Allocation/ID3D12MemoryAllocator.cs | 9 +++---- .../ID3D12MemoryAllocatorFactory.cs | 9 +++---- .../Interop/ID3D12DeviceExtensions.cs | 25 ++++++++----------- .../Shaders/Loading/PipelineDataLoader{T}.cs | 7 +++--- 12 files changed, 37 insertions(+), 54 deletions(-) diff --git a/ComputeSharp.sln b/ComputeSharp.sln index c1f0b638..ee5e503e 100644 --- a/ComputeSharp.sln +++ b/ComputeSharp.sln @@ -491,6 +491,7 @@ Global samples\ComputeSharp.SwapChain.Shaders.Shared\ComputeSharp.SwapChain.Shaders.Shared.projitems*{0800bd51-499d-44c2-9417-fd1f7fdfe9c4}*SharedItemsImports = 13 samples\ComputeSharp.SwapChain.Shaders.D2D1.Shared\ComputeSharp.SwapChain.Shaders.D2D1.Shared.projitems*{209c95a3-fa53-431b-b688-3299ca6c29d2}*SharedItemsImports = 5 src\ComputeSharp.CodeFixing\ComputeSharp.CodeFixing.projitems*{29f6e256-ba0e-4f3b-854e-50839d67c6dd}*SharedItemsImports = 13 + src\ComputeSharp.Win32.D3D12\ComputeSharp.Win32.D3D12.projitems*{314eb353-e7e3-4146-8111-685cc83ec1de}*SharedItemsImports = 5 src\ComputeSharp.Win32.D2D1\ComputeSharp.Win32.D2D1.projitems*{4d7d9ba8-a821-4b1c-9ee2-cbcf5849906e}*SharedItemsImports = 5 src\ComputeSharp.Win32.D3D12\ComputeSharp.Win32.D3D12.projitems*{514ff00e-bbf0-4d55-a47c-eeeb6208adce}*SharedItemsImports = 13 src\ComputeSharp.SourceGeneration\ComputeSharp.SourceGeneration.projitems*{51d5a422-d3a5-4c4d-8a6d-a048940bf279}*SharedItemsImports = 13 diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs index 80b6e027..f98d2ba3 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/WinBase/Windows.cs @@ -10,7 +10,7 @@ namespace ComputeSharp.Win32; internal static unsafe partial class Windows { [DllImport("kernel32", ExactSpelling = true)] - public static extern BOOL RegisterWaitForSingleObject([NativeTypeName("PHANDLE")] HANDLE* phNewWaitObject, HANDLE hObject, [NativeTypeName("WAITORTIMERCALLBACK")] void* Callback, [NativeTypeName("PVOID")] void* Context, [NativeTypeName("ULONG")] uint dwMilliseconds, [NativeTypeName("ULONG")] uint dwFlags); + public static extern BOOL RegisterWaitForSingleObject([NativeTypeName("PHANDLE")] HANDLE* phNewWaitObject, HANDLE hObject, [NativeTypeName("WAITORTIMERCALLBACK")] delegate* unmanaged Callback, [NativeTypeName("PVOID")] void* Context, [NativeTypeName("ULONG")] uint dwMilliseconds, [NativeTypeName("ULONG")] uint dwFlags); [DllImport("kernel32", ExactSpelling = true)] public static extern BOOL UnregisterWait(HANDLE WaitHandle); diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj index efc44dd0..6817795e 100644 --- a/src/ComputeSharp/ComputeSharp.csproj +++ b/src/ComputeSharp/ComputeSharp.csproj @@ -16,10 +16,6 @@ - - - - @@ -29,4 +25,7 @@ + + + diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs index fed3d8e3..bbfd6b5c 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs @@ -17,7 +17,7 @@ internal static class ComPtrExtensions [MethodImpl(MethodImplOptions.AggressiveInlining)] public static unsafe ComPtr Move(this in ComPtr ptr) #if NET6_0_OR_GREATER - where T : unmanaged, IUnknown.Interface + where T : unmanaged//, IUnknown.Interface #else where T : unmanaged #endif diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs index 869d41eb..0e006a02 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs @@ -3,9 +3,6 @@ using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -#if NET6_0_OR_GREATER -using TerraFX.Interop; -#endif using TerraFX.Interop.Windows; using static TerraFX.Interop.Windows.E; using static TerraFX.Interop.Windows.IID; @@ -40,12 +37,12 @@ unsafe partial class IWICStreamExtensions /// private unsafe partial struct IBufferWriterWrapper #if NET6_0_OR_GREATER - : IUnknown.Interface + //: IUnknown.Interface #endif { #if NET6_0_OR_GREATER - /// - static Guid* INativeGuid.NativeGuid => (Guid*)default(NotSupportedException).Throw(); + ///// + //static Guid* INativeGuid.NativeGuid => (Guid*)default(NotSupportedException).Throw(); #else /// [UnmanagedFunctionPointer(CallingConvention.StdCall)] diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs index c374551a..b5c633c1 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs @@ -3,9 +3,6 @@ using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -#if NET6_0_OR_GREATER -using TerraFX.Interop; -#endif using TerraFX.Interop.Windows; using static TerraFX.Interop.Windows.E; using static TerraFX.Interop.Windows.IID; @@ -42,12 +39,12 @@ internal static unsafe partial class IWICStreamExtensions /// private unsafe partial struct IStreamWrapper #if NET6_0_OR_GREATER - : IUnknown.Interface + //: IUnknown.Interface #endif { #if NET6_0_OR_GREATER - /// - static Guid* INativeGuid.NativeGuid => (Guid*)default(NotSupportedException).Throw(); + ///// + //static Guid* INativeGuid.NativeGuid => (Guid*)default(NotSupportedException).Throw(); #else /// [UnmanagedFunctionPointer(CallingConvention.StdCall)] diff --git a/src/ComputeSharp/Graphics/Helpers/WICHelper.cs b/src/ComputeSharp/Graphics/Helpers/WICHelper.cs index 2fdca628..56357049 100644 --- a/src/ComputeSharp/Graphics/Helpers/WICHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/WICHelper.cs @@ -6,6 +6,8 @@ using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; using TerraFX.Interop.Windows; +#pragma warning disable CA1416 + namespace ComputeSharp.Graphics.Helpers; /// diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs index 4ddfb0ec..e6771698 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs @@ -1,9 +1,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#if NET6_0_OR_GREATER -using TerraFX.Interop; -#endif using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -17,7 +14,7 @@ namespace ComputeSharp.Interop.Allocation; [Guid("D42D5782-2DE7-4539-A817-482E3AA01E2E")] internal unsafe struct ID3D12Allocation #if NET6_0_OR_GREATER - : IUnknown.Interface +//: IUnknown.Interface #endif { /// @@ -45,8 +42,8 @@ internal unsafe struct ID3D12Allocation } #if NET6_0_OR_GREATER - /// - static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in Guid)); + ///// + //static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in Guid)); #endif /// diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs index 7557a5df..a4b22f26 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs @@ -1,9 +1,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#if NET6_0_OR_GREATER -using TerraFX.Interop; -#endif using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -17,7 +14,7 @@ namespace ComputeSharp.Interop.Allocation; [Guid("2D5E55D2-9244-431F-868E-0D90AAB6E575")] internal unsafe struct ID3D12MemoryAllocator #if NET6_0_OR_GREATER - : IUnknown.Interface +//: IUnknown.Interface #endif { /// @@ -45,8 +42,8 @@ internal unsafe struct ID3D12MemoryAllocator } #if NET6_0_OR_GREATER - /// - static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in Guid)); + ///// + //static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in Guid)); #endif /// diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs index a5496fdb..94da20fa 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs @@ -1,9 +1,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#if NET6_0_OR_GREATER -using TerraFX.Interop; -#endif using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; @@ -17,7 +14,7 @@ namespace ComputeSharp.Interop.Allocation; [Guid("CC1E74A7-786D-40F4-8AE2-F8B7A255587E")] internal unsafe struct ID3D12MemoryAllocatorFactory #if NET6_0_OR_GREATER - : IUnknown.Interface +//: IUnknown.Interface #endif { /// @@ -45,8 +42,8 @@ internal unsafe struct ID3D12MemoryAllocatorFactory } #if NET6_0_OR_GREATER - /// - static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in Guid)); + ///// + //static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in Guid)); #endif /// diff --git a/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs index 3cb499f6..d08b7c97 100644 --- a/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -21,17 +21,17 @@ internal static unsafe class ID3D12DeviceExtensions /// The number of 32 bit root constants to load. /// The input descriptor ranges for the signature to create. /// Indicates whether or not a static sampler is used. - /// A pointer to the newly allocated instance. + /// The newly allocated instance. /// Thrown when the creation of the root signature fails. - public static ComPtr CreateRootSignature( + public static void CreateRootSignature( this ref ID3D12Device d3D12Device, int d3D12Root32BitConstantsCount, ReadOnlySpan d3D12DescriptorRanges1, - bool isStaticSamplerUsed) + bool isStaticSamplerUsed, + ID3D12RootSignature** d3D12RootSignature) { using ComPtr d3D3Blob = default; using ComPtr d3D3BlobError = default; - using ComPtr d3D12RootSignature = default; fixed (D3D12_DESCRIPTOR_RANGE1* d3D12DescriptorRange1 = d3D12DescriptorRanges1) { @@ -83,9 +83,7 @@ internal static unsafe class ID3D12DeviceExtensions d3D3Blob.Get()->GetBufferPointer(), d3D3Blob.Get()->GetBufferSize(), Windows.__uuidof(), - (void**)d3D12RootSignature.GetAddressOf()).Assert(); - - return d3D12RootSignature.Move(); + (void**)d3D12RootSignature).Assert(); } /// @@ -94,15 +92,14 @@ internal static unsafe class ID3D12DeviceExtensions /// The target to use to create the pipeline state. /// The input root signature to use to create the pipeline state. /// The shader bytecode to use for the pipeline state. - /// A pointer to the newly allocated instance. + /// The newly allocated instance. /// Thrown when the creation of the pipeline state fails. - public static ComPtr CreateComputePipelineState( + public static void CreateComputePipelineState( this ref ID3D12Device d3D12Device, ID3D12RootSignature* d3D12RootSignature, - D3D12_SHADER_BYTECODE d3D12ShaderBytecode) + D3D12_SHADER_BYTECODE d3D12ShaderBytecode, + ID3D12PipelineState** d3D12PipelineState) { - using ComPtr d3D12PipelineState = default; - D3D12_COMPUTE_PIPELINE_STATE_DESC d3D12ComputePipelineStateDescription; d3D12ComputePipelineStateDescription.pRootSignature = d3D12RootSignature; d3D12ComputePipelineStateDescription.CS = d3D12ShaderBytecode; @@ -113,8 +110,6 @@ internal static unsafe class ID3D12DeviceExtensions d3D12Device.CreateComputePipelineState( &d3D12ComputePipelineStateDescription, Windows.__uuidof(), - (void**)d3D12PipelineState.GetAddressOf()).Assert(); - - return d3D12PipelineState.Move(); + (void**)d3D12PipelineState).Assert(); } } \ 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 ee9f2acd..a133ae71 100644 --- a/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs +++ b/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs @@ -98,10 +98,11 @@ internal static unsafe class PipelineDataLoader int root32BitConstantCount = shader.ConstantBufferSize / sizeof(int); // Create the D3D12 root signature - *d3D12RootSignature = d3D12Device->CreateRootSignature( + d3D12Device->CreateRootSignature( root32BitConstantCount, d3D12DescriptorRanges, - shader.IsStaticSamplerRequired).Get(); + shader.IsStaticSamplerRequired, + d3D12RootSignature); // Return the array to the pool if no exceptions have been thrown if (d3D12DescriptorRangesArray is not null) @@ -124,7 +125,7 @@ internal static unsafe class PipelineDataLoader { D3D12_SHADER_BYTECODE d3D12ShaderBytecode = new(hlslBytecodePtr, (nuint)shader.HlslBytecode.Length); - *d3D12PipelineState = d3D12Device->CreateComputePipelineState(d3D12RootSignature, d3D12ShaderBytecode); + d3D12Device->CreateComputePipelineState(d3D12RootSignature, d3D12ShaderBytecode, d3D12PipelineState); } } } \ No newline at end of file From c7722305ca1870b1d174507dd2e685483c0ec447 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 00:48:35 +0200 Subject: [PATCH 05/10] Bring back minimal DXC bindings for reflection --- .../Interop/ReflectionServices.cs | 3 -- .../ComputeSharp.Win32.D3D12.projitems | 4 ++ .../DirectX/um/dxcapi/CLSID.cs | 39 +++++++++++++++ .../DirectX/um/dxcapi/DirectX.cs | 16 ++++++ .../DirectX/um/dxcapi/DxcBuffer.cs | 17 +++++++ .../DirectX/um/dxcapi/IDxcUtils.cs | 49 +++++++++++++++++++ 6 files changed, 125 insertions(+), 3 deletions(-) create mode 100644 src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs create mode 100644 src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs create mode 100644 src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs create mode 100644 src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs diff --git a/src/ComputeSharp.Dxc/Interop/ReflectionServices.cs b/src/ComputeSharp.Dxc/Interop/ReflectionServices.cs index 44d51921..da6a0120 100644 --- a/src/ComputeSharp.Dxc/Interop/ReflectionServices.cs +++ b/src/ComputeSharp.Dxc/Interop/ReflectionServices.cs @@ -4,9 +4,6 @@ using ComputeSharp.Core.Extensions; using ComputeSharp.Descriptors; using TerraFX.Interop.DirectX; using TerraFX.Interop.Windows; -#if !NET6_0_OR_GREATER -using DirectX = TerraFX.Interop.DirectX.DirectX2; -#endif namespace ComputeSharp.Interop; diff --git a/src/ComputeSharp.Win32.D3D12/ComputeSharp.Win32.D3D12.projitems b/src/ComputeSharp.Win32.D3D12/ComputeSharp.Win32.D3D12.projitems index 8c3cebd6..69456bce 100644 --- a/src/ComputeSharp.Win32.D3D12/ComputeSharp.Win32.D3D12.projitems +++ b/src/ComputeSharp.Win32.D3D12/ComputeSharp.Win32.D3D12.projitems @@ -208,6 +208,10 @@ + + + + diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs new file mode 100644 index 00000000..56a14f6f --- /dev/null +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs @@ -0,0 +1,39 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/dxcapi.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. Licensed under the University of Illinois Open Source License. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +internal static partial class CLSID +{ + [NativeTypeName("const GUID")] + public static ref readonly Guid CLSID_DxcLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAF, 0xD6, 0x45, 0x62, + 0xE0, 0x66, + 0xFD, 0x48, + 0x80, + 0xB4, + 0x4D, + 0x27, + 0x17, + 0x96, + 0x74, + 0x8C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} \ No newline at end of file diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs new file mode 100644 index 00000000..7da23460 --- /dev/null +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/dxcapi.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. Licensed under the University of Illinois Open Source License. + +using System; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; + +namespace TerraFX.Interop.DirectX; + +internal static unsafe partial class 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/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs new file mode 100644 index 00000000..6cd7b2b5 --- /dev/null +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs @@ -0,0 +1,17 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/dxcapi.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. Licensed under the University of Illinois Open Source License. + +namespace TerraFX.Interop.DirectX; + +internal unsafe partial struct DxcBuffer +{ + [NativeTypeName("LPCVOID")] + public void* Ptr; + + [NativeTypeName("SIZE_T")] + public nuint Size; + + public uint Encoding; +} \ No newline at end of file diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs new file mode 100644 index 00000000..097df146 --- /dev/null +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs @@ -0,0 +1,49 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from um/dxcapi.h in the Windows SDK for Windows 10.0.20348.0 +// Original source is Copyright © Microsoft. All rights reserved. Licensed under the University of Illinois Open Source License. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; + +namespace TerraFX.Interop.DirectX; + +[Guid("4605C4CB-2019-492A-ADA4-65F20BB7D67F")] +[NativeTypeName("struct IDxcUtils : IUnknown")] +[NativeInheritance("IUnknown")] +internal unsafe partial struct IDxcUtils +{ + public void** lpVtbl; + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((IDxcUtils*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((IDxcUtils*)Unsafe.AsPointer(ref this)); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IDxcUtils*)Unsafe.AsPointer(ref this)); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT CreateReflection([NativeTypeName("const DxcBuffer *")] DxcBuffer* pData, [NativeTypeName("const IID &")] Guid* iid, void** ppvReflection) + { + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDxcUtils*)Unsafe.AsPointer(ref this), pData, iid, ppvReflection); + } +} \ No newline at end of file From d5439fc3ec55f4d09ba731b46b530f5f1fcc0d5d Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 01:54:20 +0200 Subject: [PATCH 06/10] Update namespaces in ComputeSharp --- .../d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs | 6 ++-- .../d3dx12/D3D12_RESOURCE_DESC.Manual.cs | 8 ++--- .../d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs | 2 +- .../d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs | 4 +-- .../D3D12_STATIC_SAMPLER_DESC.Manual.cs | 12 +++---- .../D3D12_TEXTURE_COPY_LOCATION.Manual.cs | 2 +- ...12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs | 4 +-- .../DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs | 2 -- .../DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs | 2 -- .../DirectX/shared/dxgi/IDXGIAdapter.cs | 1 - .../DirectX/shared/dxgi/IDXGIAdapter1.cs | 1 - .../DirectX/shared/dxgi/IDXGIFactory.cs | 1 - .../DirectX/shared/dxgi/IDXGIOutput.cs | 1 - .../DirectX/shared/dxgi/IDXGISwapChain.cs | 1 - .../DirectX/shared/dxgi1_2/DXGIOutput1.cs | 1 - .../DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs | 2 -- .../shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs | 2 -- .../DirectX/shared/dxgi1_2/IDXGIFactory2.cs | 1 - .../DirectX/shared/dxgi1_2/IDXGISwapChain1.cs | 1 - .../DirectX/shared/dxgi1_3/DirectX.cs | 1 - .../DirectX/shared/dxgi1_4/IDXGIFactory4.cs | 1 - .../DirectX/shared/dxgi1_4/IDXGISwapChain3.cs | 1 - .../DirectX/shared/dxgi1_6/IDXGIFactory6.cs | 1 - .../DirectX/um/d2d1/D2D1_FEATURE_LEVEL.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 -- .../DirectX/um/d3d12/DirectX.cs | 1 - .../um/d3d12/ID3D12CommandAllocator.cs | 1 - .../DirectX/um/d3d12/ID3D12CommandList.cs | 1 - .../DirectX/um/d3d12/ID3D12CommandQueue.cs | 1 - .../DirectX/um/d3d12/ID3D12DescriptorHeap.cs | 1 - .../DirectX/um/d3d12/ID3D12Device.cs | 1 - .../d3d12/ID3D12DeviceRemovedExtendedData1.cs | 1 - ...D3D12DeviceRemovedExtendedDataSettings1.cs | 1 - .../DirectX/um/d3d12/ID3D12Fence.cs | 1 - .../um/d3d12/ID3D12GraphicsCommandList.cs | 1 - .../DirectX/um/d3d12/ID3D12Heap.cs | 1 - .../DirectX/um/d3d12/ID3D12PipelineState.cs | 1 - .../DirectX/um/d3d12/ID3D12Resource.cs | 1 - .../DirectX/um/d3d12/ID3D12RootSignature.cs | 1 - .../DirectX/um/d3d12sdklayers/ID3D12Debug.cs | 1 - .../DirectX/um/d3d12sdklayers/ID3D12Debug1.cs | 1 - .../um/d3d12sdklayers/ID3D12InfoQueue.cs | 1 - .../um/d3d12shader/ID3D12ShaderReflection.cs | 1 - .../DirectX/um/dxcapi/CLSID.cs | 2 +- .../DirectX/um/dxcapi/DirectX.cs | 3 +- .../DirectX/um/dxcapi/DxcBuffer.cs | 2 +- .../DirectX/um/dxcapi/IDxcUtils.cs | 3 +- .../ISwapChainPanelNative.cs | 2 -- .../Graphics/Commands/CommandList.cs | 5 ++- .../Commands/Interop/ID3D12CommandListPool.cs | 3 +- .../ID3D12DescriptorHandleAllocator.cs | 5 ++- .../ID3D12ResourceDescriptorHandles.cs | 2 +- src/ComputeSharp/Graphics/DeviceLostReason.cs | 3 +- .../Extensions/Interop/ComPtrExtensions.cs | 2 +- .../Extensions/Interop/HRESULTExtensions.cs | 3 +- .../Interop/ID3D12AllocationExtensions.cs | 3 +- .../Interop/ID3D12DeviceExtensions.cs | 33 +++++++++---------- .../ID3D12GraphicsCommandListExtensions.cs | 2 +- .../ID3D12MemoryAllocatorExtensions.cs | 9 +++-- .../Interop/ID3D12ResourceExtensions.cs | 2 +- .../IWICStreamExtensions.IBufferWriter.cs | 16 ++++----- .../Interop/IWICStreamExtensions.Stream.cs | 16 ++++----- .../Graphics/GraphicsDevice.DeviceLost.cs | 3 +- .../Graphics/GraphicsDevice.Execute.cs | 5 ++- .../Graphics/GraphicsDevice.Resources.cs | 3 +- src/ComputeSharp/Graphics/GraphicsDevice.cs | 11 +++---- .../Graphics/GraphicsDeviceInfo.cs | 4 +-- .../Graphics/Helpers/DXGIFormatHelper.cs | 4 +-- .../Helpers/DeviceHelper.Enumerator.cs | 9 +++-- .../Graphics/Helpers/DeviceHelper.Factory.cs | 3 +- .../Helpers/DeviceHelper.ID3D12InfoQueue.cs | 7 ++-- .../Helpers/DeviceHelper.IDXGIFactory6.cs | 3 +- .../Graphics/Helpers/DeviceHelper.cs | 9 +++-- .../Graphics/Helpers/WICFormatHelper.cs | 2 +- .../Graphics/Helpers/WICHelper.cs | 2 +- .../Interop/Allocation/ID3D12Allocation.cs | 3 +- .../Allocation/ID3D12MemoryAllocator.cs | 3 +- .../ID3D12MemoryAllocatorFactory.cs | 3 +- .../Graphics/Interop/AllocationServices.cs | 2 +- .../Interop/ResourceDescriptorRangeType.cs | 2 +- src/ComputeSharp/Graphics/Luid.cs | 2 +- .../Graphics/Resources/Abstract/Buffer{T}.cs | 7 ++-- .../Resources/Abstract/StructuredBuffer{T}.cs | 5 ++- .../Resources/Abstract/Texture1D{T}.cs | 11 +++---- .../Resources/Abstract/Texture2D{T}.cs | 11 +++---- .../Resources/Abstract/Texture3D{T}.cs | 11 +++---- .../Resources/Abstract/TransferBuffer{T}.cs | 5 ++- .../Abstract/TransferTexture1D{T}.cs | 5 ++- .../Abstract/TransferTexture2D{T}.cs | 5 ++- .../Abstract/TransferTexture3D{T}.cs | 5 ++- .../Graphics/Resources/ConstantBuffer{T}.cs | 2 +- .../Graphics/Resources/Enums/ResourceType.cs | 10 +++--- .../Resources/Helpers/ResourceStateHelper.cs | 4 +-- .../Interop/ID3D12ReadOnlyResource.cs | 2 +- .../Interop/ID3D12ReadWriteResource.cs | 2 +- .../Resources/Interop/ID3D12ResourceMap.cs | 2 +- .../Resources/ReadOnlyTexture1D{T,TPixel}.cs | 2 +- .../Resources/ReadOnlyTexture1D{T}.cs | 2 +- .../Resources/ReadOnlyTexture2D{T,TPixel}.cs | 2 +- .../Resources/ReadOnlyTexture2D{T}.cs | 2 +- .../Resources/ReadOnlyTexture3D{T,TPixel}.cs | 2 +- .../Resources/ReadOnlyTexture3D{T}.cs | 2 +- .../ReadWriteTexture1D{T,TPixel}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture1D{T,TPixel}.cs | 2 +- .../ReadWriteTexture1D{T}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture1D{T}.cs | 2 +- .../ReadWriteTexture2D{T,TPixel}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture2D{T,TPixel}.cs | 2 +- .../ReadWriteTexture2D{T}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture2D{T}.cs | 2 +- .../ReadWriteTexture3D{T,TPixel}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture3D{T,TPixel}.cs | 2 +- .../ReadWriteTexture3D{T}.ReadOnly.cs | 4 +-- .../Resources/ReadWriteTexture3D{T}.cs | 2 +- src/ComputeSharp/Shaders/ComputeContext.cs | 2 +- ...GraphicsCommandListConstantBufferLoader.cs | 2 +- ...aphicsCommandListGraphicsResourceLoader.cs | 2 +- .../Extensions/ComputeContextExtensions.cs | 2 +- .../Interop/ID3D12DeviceExtensions.cs | 11 +++---- .../Shaders/Loading/PipelineData.cs | 3 +- .../Shaders/Loading/PipelineDataLoader{T}.cs | 5 ++- 124 files changed, 181 insertions(+), 263 deletions(-) diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs index 87a72985..02ee78a1 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs @@ -3,9 +3,9 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D12; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_BARRIER_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_BARRIER_TYPE; +using static ComputeSharp.Win32.D3D12; +using static ComputeSharp.Win32.D3D12_RESOURCE_BARRIER_FLAGS; +using static ComputeSharp.Win32.D3D12_RESOURCE_BARRIER_TYPE; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs index 0985950b..4223ccb2 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs @@ -4,10 +4,10 @@ // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). using System; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_TEXTURE_LAYOUT; -using static TerraFX.Interop.DirectX.DXGI_FORMAT; +using static ComputeSharp.Win32.D3D12_RESOURCE_DIMENSION; +using static ComputeSharp.Win32.D3D12_RESOURCE_FLAGS; +using static ComputeSharp.Win32.D3D12_TEXTURE_LAYOUT; +using static ComputeSharp.Win32.DXGI_FORMAT; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs index ed0b0aeb..2339b419 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs @@ -3,7 +3,7 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D12_ROOT_DESCRIPTOR_FLAGS; +using static ComputeSharp.Win32.D3D12_ROOT_DESCRIPTOR_FLAGS; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs index cb276958..e0d89e69 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs @@ -3,8 +3,8 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D12_ROOT_PARAMETER_TYPE; -using static TerraFX.Interop.DirectX.D3D12_SHADER_VISIBILITY; +using static ComputeSharp.Win32.D3D12_ROOT_PARAMETER_TYPE; +using static ComputeSharp.Win32.D3D12_SHADER_VISIBILITY; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs index ef69191c..2cb08027 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs @@ -3,12 +3,12 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D12; -using static TerraFX.Interop.DirectX.D3D12_COMPARISON_FUNC; -using static TerraFX.Interop.DirectX.D3D12_FILTER; -using static TerraFX.Interop.DirectX.D3D12_SHADER_VISIBILITY; -using static TerraFX.Interop.DirectX.D3D12_STATIC_BORDER_COLOR; -using static TerraFX.Interop.DirectX.D3D12_TEXTURE_ADDRESS_MODE; +using static ComputeSharp.Win32.D3D12; +using static ComputeSharp.Win32.D3D12_COMPARISON_FUNC; +using static ComputeSharp.Win32.D3D12_FILTER; +using static ComputeSharp.Win32.D3D12_SHADER_VISIBILITY; +using static ComputeSharp.Win32.D3D12_STATIC_BORDER_COLOR; +using static ComputeSharp.Win32.D3D12_TEXTURE_ADDRESS_MODE; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs index 4365fa5c..a1b6d45a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs @@ -4,7 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). using System.Runtime.CompilerServices; -using static TerraFX.Interop.DirectX.D3D12_TEXTURE_COPY_TYPE; +using static ComputeSharp.Win32.D3D12_TEXTURE_COPY_TYPE; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs index d3676492..5f6885fe 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs @@ -3,8 +3,8 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D_ROOT_SIGNATURE_VERSION; -using static TerraFX.Interop.DirectX.D3D12_ROOT_SIGNATURE_FLAGS; +using static ComputeSharp.Win32.D3D_ROOT_SIGNATURE_VERSION; +using static ComputeSharp.Win32.D3D12_ROOT_SIGNATURE_FLAGS; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs index da739d36..689e1b29 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs @@ -3,8 +3,6 @@ // Ported from shared/dxgi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal unsafe partial struct DXGI_ADAPTER_DESC diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs index bfa77122..126b94eb 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs @@ -3,8 +3,6 @@ // Ported from shared/dxgi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal unsafe partial struct DXGI_ADAPTER_DESC1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs index f3448436..e4017ac6 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs index 2d3646a1..2c1fcc3c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs index 6b2b7f03..abcb139e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs index 13920f6e..a91f3d65 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs index 73cf51bc..953f1e38 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs index 7f02fdd5..0dd44e7c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs index 1a5b5107..e0fed470 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs @@ -3,8 +3,6 @@ // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct DXGI_MODE_DESC1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs index 0ab99c1c..fc15a50a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs @@ -3,8 +3,6 @@ // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct DXGI_SWAP_CHAIN_DESC1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs index a81b1f32..76a9eae5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs index bfb4aed1..a76fb906 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs index f09a4cdb..1a797fea 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.InteropServices; using System.Runtime.Versioning; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs index d5964d7d..5d0ef5a8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs index 7a108332..4084deb8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs @@ -7,7 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs index 6fc241d9..a38db8df 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs @@ -7,7 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs index fd23304d..b9b433ed 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL; +using static ComputeSharp.Win32.D3D_FEATURE_LEVEL; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs index 2f468516..c46ea17c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs @@ -3,8 +3,6 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_ARCHITECTURE diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs index 11e6dc2e..8f2f6807 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs @@ -3,8 +3,6 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_ARCHITECTURE1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs index afc1bbc9..e6cf904a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs @@ -3,8 +3,6 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_D3D12_OPTIONS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs index 175c6e6c..2664ed58 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs @@ -3,8 +3,6 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_D3D12_OPTIONS1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs index 7534d97a..a5172113 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs @@ -5,7 +5,6 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs index f5ed910f..18d51aff 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs index 7fb29595..560e4b06 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs index c1038198..7be75094 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs index 8dda3273..632a9e4e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs index 2e91f41b..76bf8e55 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs index c6c3d657..4948f45c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs index 3d4aaff8..34db62bb 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs index 78df37ff..ccac1cc3 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs index 84316d99..bbfe072c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs index 659eeb77..d3d3d541 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs index c0a49152..b7befbc5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs index 8bac7f85..459b0ae4 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs index 22a6096c..efdda716 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs index 74f5a97d..f47b361b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs index 57337de0..547e396c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs index 5399bad7..7073b416 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs index dcd58f38..8bad32c5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs index 56a14f6f..326cda20 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs @@ -8,7 +8,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class CLSID { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs index 7da23460..adca97f0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs @@ -5,9 +5,8 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static unsafe partial class DirectX { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs index 6cd7b2b5..6a24ccab 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs @@ -3,7 +3,7 @@ // Ported from um/dxcapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. Licensed under the University of Illinois Open Source License. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct DxcBuffer { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs index 097df146..158ccffa 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs @@ -6,9 +6,8 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("4605C4CB-2019-492A-ADA4-65F20BB7D67F")] [NativeTypeName("struct IDxcUtils : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs b/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs index 6803a721..2a933de3 100644 --- a/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs +++ b/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp/Graphics/Commands/CommandList.cs b/src/ComputeSharp/Graphics/Commands/CommandList.cs index c7d3c6d7..2bc48f77 100644 --- a/src/ComputeSharp/Graphics/Commands/CommandList.cs +++ b/src/ComputeSharp/Graphics/Commands/CommandList.cs @@ -3,9 +3,8 @@ using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Threading.Tasks; using ComputeSharp.Core.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; namespace ComputeSharp.Graphics.Commands; diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs index b373af48..8a78d6d6 100644 --- a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs +++ b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs @@ -3,8 +3,7 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Commands.Interop; diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs index 9406ae92..3afef990 100644 --- a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs +++ b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs @@ -1,8 +1,7 @@ using System; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_HEAP_TYPE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_HEAP_TYPE; namespace ComputeSharp.Graphics.Commands.Interop; diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs index c8d43081..dcbaa12c 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 ComputeSharp.Win32; namespace ComputeSharp.Graphics.Commands.Interop; diff --git a/src/ComputeSharp/Graphics/DeviceLostReason.cs b/src/ComputeSharp/Graphics/DeviceLostReason.cs index 6eed0e47..c7926c04 100644 --- a/src/ComputeSharp/Graphics/DeviceLostReason.cs +++ b/src/ComputeSharp/Graphics/DeviceLostReason.cs @@ -1,5 +1,4 @@ -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs index bbfd6b5c..cc1dd87e 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs @@ -1,5 +1,5 @@ using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Core.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs index 9dce4803..b01ee8f9 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs @@ -2,8 +2,7 @@ using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using ComputeSharp.Graphics.Helpers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Core.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12AllocationExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12AllocationExtensions.cs index ff1a050b..7209cc00 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12AllocationExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12AllocationExtensions.cs @@ -1,7 +1,6 @@ using ComputeSharp.Core.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs index cb9a7742..c9676d16 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -1,23 +1,22 @@ using System; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Resources.Enums; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_QUEUE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_QUEUE_PRIORITY; -using static TerraFX.Interop.DirectX.D3D12_CPU_PAGE_PROPERTY; -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_HEAP_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_HEAP_TYPE; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; -using static TerraFX.Interop.DirectX.D3D12_FENCE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_HEAP_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_MEMORY_POOL; -using static TerraFX.Interop.DirectX.D3D12_MESSAGE_ID; -using static TerraFX.Interop.DirectX.D3D12_HEAP_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_UAV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_QUEUE_FLAGS; +using static ComputeSharp.Win32.D3D12_COMMAND_QUEUE_PRIORITY; +using static ComputeSharp.Win32.D3D12_CPU_PAGE_PROPERTY; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_HEAP_FLAGS; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_HEAP_TYPE; +using static ComputeSharp.Win32.D3D12_FEATURE; +using static ComputeSharp.Win32.D3D12_FENCE_FLAGS; +using static ComputeSharp.Win32.D3D12_HEAP_FLAGS; +using static ComputeSharp.Win32.D3D12_MEMORY_POOL; +using static ComputeSharp.Win32.D3D12_MESSAGE_ID; +using static ComputeSharp.Win32.D3D12_HEAP_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_FLAGS; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; +using static ComputeSharp.Win32.D3D12_UAV_DIMENSION; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs index b403881d..b6952bb1 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs @@ -1,5 +1,5 @@ using System; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12MemoryAllocatorExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12MemoryAllocatorExtensions.cs index 58e6f2e9..b1832860 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12MemoryAllocatorExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12MemoryAllocatorExtensions.cs @@ -1,11 +1,10 @@ using System; using ComputeSharp.Core.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_HEAP_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_HEAP_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_FLAGS; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs index 41a395fc..8c36606e 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs @@ -3,7 +3,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Resources.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs index 0e006a02..fc4e69e7 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs @@ -3,14 +3,14 @@ using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.Windows.E; -using static TerraFX.Interop.Windows.IID; -using static TerraFX.Interop.Windows.S; -using static TerraFX.Interop.Windows.STATFLAG; -using static TerraFX.Interop.Windows.STG; -using static TerraFX.Interop.Windows.STGM; -using static TerraFX.Interop.Windows.STGTY; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.E; +using static ComputeSharp.Win32.IID; +using static ComputeSharp.Win32.S; +using static ComputeSharp.Win32.STATFLAG; +using static ComputeSharp.Win32.STG; +using static ComputeSharp.Win32.STGM; +using static ComputeSharp.Win32.STGTY; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs index b5c633c1..33669a79 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs @@ -3,14 +3,14 @@ using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.Windows.E; -using static TerraFX.Interop.Windows.IID; -using static TerraFX.Interop.Windows.S; -using static TerraFX.Interop.Windows.STATFLAG; -using static TerraFX.Interop.Windows.STG; -using static TerraFX.Interop.Windows.STGM; -using static TerraFX.Interop.Windows.STGTY; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.E; +using static ComputeSharp.Win32.IID; +using static ComputeSharp.Win32.S; +using static ComputeSharp.Win32.STATFLAG; +using static ComputeSharp.Win32.STG; +using static ComputeSharp.Win32.STGM; +using static ComputeSharp.Win32.STGTY; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs b/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs index 15f9f470..ae9f9c21 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs @@ -4,8 +4,7 @@ using System.Runtime.InteropServices; using System.Threading; using ComputeSharp.Core.Extensions; using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs b/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs index e51e42c6..a402805f 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs @@ -9,9 +9,8 @@ using System.Threading.Tasks.Sources; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Commands; using ComputeSharp.Graphics.Commands.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.Resources.cs b/src/ComputeSharp/Graphics/GraphicsDevice.Resources.cs index 3a0f89a7..616adab4 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.Resources.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.Resources.cs @@ -1,7 +1,6 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.cs b/src/ComputeSharp/Graphics/GraphicsDevice.cs index bb0f6d3f..0b9c4dd4 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.cs @@ -9,12 +9,11 @@ using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Shaders.Loading; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; -using static TerraFX.Interop.DirectX.DXGI_ADAPTER_FLAG; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; +using static ComputeSharp.Win32.D3D12_FEATURE; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.DXGI_ADAPTER_FLAG; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs b/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs index 67556760..0c5f166e 100644 --- a/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs +++ b/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs @@ -1,5 +1,5 @@ -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.DXGI_ADAPTER_FLAG; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.DXGI_ADAPTER_FLAG; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs b/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs index d0bb296d..cdda88ac 100644 --- a/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs @@ -1,8 +1,8 @@ using System; using System.Numerics; using System.Runtime.CompilerServices; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.DXGI_FORMAT; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.DXGI_FORMAT; #pragma warning disable IDE0011 diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs index 06974338..e18a1dd0 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs @@ -4,11 +4,10 @@ using System.Collections.Generic; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL; -using static TerraFX.Interop.DirectX.D3D_SHADER_MODEL; -using static TerraFX.Interop.DirectX.DXGI_GPU_PREFERENCE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D_FEATURE_LEVEL; +using static ComputeSharp.Win32.D3D_SHADER_MODEL; +using static ComputeSharp.Win32.DXGI_GPU_PREFERENCE; #pragma warning disable CA1416 diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs index 4cef9487..1bfc44d7 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs @@ -4,8 +4,7 @@ using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Helpers; diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs index 376a190d..b9a7bd68 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs @@ -4,10 +4,9 @@ using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_MESSAGE_ID; -using static TerraFX.Interop.DirectX.D3D12_MESSAGE_SEVERITY; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_MESSAGE_ID; +using static ComputeSharp.Win32.D3D12_MESSAGE_SEVERITY; namespace ComputeSharp.Graphics.Helpers; diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs index befcc3c7..23cf33cf 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs @@ -2,8 +2,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.Core.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CA1416 diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs index c97e1b76..f9ba71a7 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs @@ -1,11 +1,10 @@ using System; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL; -using static TerraFX.Interop.DirectX.D3D_SHADER_MODEL; -using static TerraFX.Interop.DirectX.DXGI_GPU_PREFERENCE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D_FEATURE_LEVEL; +using static ComputeSharp.Win32.D3D_SHADER_MODEL; +using static ComputeSharp.Win32.DXGI_GPU_PREFERENCE; #pragma warning disable CA1416 diff --git a/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs b/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs index 8b038533..7f258428 100644 --- a/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs @@ -1,7 +1,7 @@ using System; using System.IO; using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable IDE0011 diff --git a/src/ComputeSharp/Graphics/Helpers/WICHelper.cs b/src/ComputeSharp/Graphics/Helpers/WICHelper.cs index 56357049..e7c63cd4 100644 --- a/src/ComputeSharp/Graphics/Helpers/WICHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/WICHelper.cs @@ -4,7 +4,7 @@ using System.IO; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CA1416 diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs index e6771698..22031a8f 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs index a4b22f26..61ed95ac 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs index 94da20fa..f87b6424 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp/Graphics/Interop/AllocationServices.cs b/src/ComputeSharp/Graphics/Interop/AllocationServices.cs index a926644c..340aabf1 100644 --- a/src/ComputeSharp/Graphics/Interop/AllocationServices.cs +++ b/src/ComputeSharp/Graphics/Interop/AllocationServices.cs @@ -2,7 +2,7 @@ using System; using System.Runtime.InteropServices; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Interop; diff --git a/src/ComputeSharp/Graphics/Interop/ResourceDescriptorRangeType.cs b/src/ComputeSharp/Graphics/Interop/ResourceDescriptorRangeType.cs index 9e6640bc..023106eb 100644 --- a/src/ComputeSharp/Graphics/Interop/ResourceDescriptorRangeType.cs +++ b/src/ComputeSharp/Graphics/Interop/ResourceDescriptorRangeType.cs @@ -1,4 +1,4 @@ -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_RANGE_TYPE; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_RANGE_TYPE; namespace ComputeSharp.Interop; diff --git a/src/ComputeSharp/Graphics/Luid.cs b/src/ComputeSharp/Graphics/Luid.cs index 995738af..54290da3 100644 --- a/src/ComputeSharp/Graphics/Luid.cs +++ b/src/ComputeSharp/Graphics/Luid.cs @@ -1,6 +1,6 @@ using System; using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs index 51a6e390..d3b30619 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs @@ -10,10 +10,9 @@ using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; -using static TerraFX.Interop.DirectX.DXGI_FORMAT; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FEATURE; +using static ComputeSharp.Win32.DXGI_FORMAT; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs index a76d6154..1b8556d2 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs @@ -6,9 +6,8 @@ using ComputeSharp.Graphics.Helpers; using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; namespace ComputeSharp.Resources; diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs index bbe0e983..c105296e 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs @@ -9,12 +9,11 @@ using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_UAV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; +using static ComputeSharp.Win32.D3D12_UAV_DIMENSION; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs index f191f21a..6d969a48 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs @@ -9,12 +9,11 @@ using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_UAV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; +using static ComputeSharp.Win32.D3D12_UAV_DIMENSION; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs index 268f1563..1f017140 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs @@ -9,12 +9,11 @@ using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_UAV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; +using static ComputeSharp.Win32.D3D12_UAV_DIMENSION; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs index bfe72475..59a8e7ed 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs @@ -6,9 +6,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FEATURE; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs index f2195d9c..7db61087 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs @@ -5,9 +5,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs index f0c2d780..e6f23d3f 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs @@ -4,9 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs index e1df8a3d..6502ee60 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs @@ -4,9 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs index 2adfdd24..75f4ae58 100644 --- a/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs @@ -9,7 +9,7 @@ using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs b/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs index 81dc7c8a..d22ccaaf 100644 --- a/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs +++ b/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs @@ -8,35 +8,35 @@ internal enum ResourceType /// /// A constant resource, with items aligned to 16 bytes, used for individual values or very small arrays. /// This is only supported for buffers and is mapped to a . - /// Resources of this type are located in . + /// Resources of this type are located in . /// Constant, /// /// A readonly resource, that can store arbitrary arrays of values and can only be read from by the GPU. /// This is mapped to either or . - /// Resources of this type are located in . + /// Resources of this type are located in . /// ReadOnly, /// /// A read write resource, that can store arbitrary arrays with both read and write access for the GPU. /// This is mapped to either or . - /// Resources of this type are located in . + /// Resources of this type are located in . /// ReadWrite, /// /// A readback resource, used temporarily to read data back from and resources. /// This has no direct mapping to a type in HLSL, as it's only used for copy operations. - /// Resources of this type are located in . + /// Resources of this type are located in . /// ReadBack, /// /// A transfer resource, used temporarily to set data to and resources. /// This has no direct mapping to a type in HLSL, as it's only used for copy operations (like ). - /// Resources of this type are located in . + /// 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 42b8aa4d..b3fd5b4a 100644 --- a/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs +++ b/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; namespace ComputeSharp.Graphics.Resources.Helpers; diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadOnlyResource.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadOnlyResource.cs index 0424857a..30bdb496 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadOnlyResource.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadOnlyResource.cs @@ -1,5 +1,5 @@ using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Resources.Interop; diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadWriteResource.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadWriteResource.cs index 6ca55e18..02c30dc2 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadWriteResource.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadWriteResource.cs @@ -1,5 +1,5 @@ using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Resources.Interop; diff --git a/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs b/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs index 4838fd9e..afc3b8f2 100644 --- a/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs +++ b/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Resources.Interop; diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs index 92c52de6..0b405822 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs index ff28ccd3..ccfd2bcf 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs index 2d53d7c7..0f045316 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs index 0baa2264..de843f0b 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs index c56195c5..9a0a871d 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs index c89ff20b..90fa6fcc 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs index 8487497a..7db6799d 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs index 75df64bc..f604d6c3 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs index d670d741..134aca63 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs index 113df905..2ee0f6eb 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs index efa46b81..1b7fd5ed 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs index 6a6f67e0..d33f0da0 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs index 92b41d1f..f7ad6aff 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs index 6f785d4b..75054776 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs index b91de2a9..c74a2496 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs index 7a207adc..2dd42358 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs index 3c28e717..7b2cd331 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs index 88d07421..041bf4c2 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Shaders/ComputeContext.cs b/src/ComputeSharp/Shaders/ComputeContext.cs index abcc71f8..eb431f10 100644 --- a/src/ComputeSharp/Shaders/ComputeContext.cs +++ b/src/ComputeSharp/Shaders/ComputeContext.cs @@ -8,7 +8,7 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Resources.Interop; using ComputeSharp.Shaders.Dispatching; using ComputeSharp.Shaders.Loading; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp; diff --git a/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListConstantBufferLoader.cs b/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListConstantBufferLoader.cs index 5984feb7..6e145bcc 100644 --- a/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListConstantBufferLoader.cs +++ b/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListConstantBufferLoader.cs @@ -2,7 +2,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.Descriptors; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Shaders.Dispatching; diff --git a/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListGraphicsResourceLoader.cs b/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListGraphicsResourceLoader.cs index 80391e0f..df646f23 100644 --- a/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListGraphicsResourceLoader.cs +++ b/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListGraphicsResourceLoader.cs @@ -2,7 +2,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.Resources.Interop; using ComputeSharp.Descriptors; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Shaders.Dispatching; diff --git a/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs b/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs index dcf2ad53..cc33081e 100644 --- a/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs +++ b/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs @@ -4,7 +4,7 @@ using ComputeSharp.Descriptors; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp; diff --git a/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs index d08b7c97..4b2aa3ee 100644 --- a/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -1,11 +1,10 @@ using System; using ComputeSharp.Core.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMPARISON_FUNC; -using static TerraFX.Interop.DirectX.D3D12_FILTER; -using static TerraFX.Interop.DirectX.D3D12_PIPELINE_STATE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_TEXTURE_ADDRESS_MODE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMPARISON_FUNC; +using static ComputeSharp.Win32.D3D12_FILTER; +using static ComputeSharp.Win32.D3D12_PIPELINE_STATE_FLAGS; +using static ComputeSharp.Win32.D3D12_TEXTURE_ADDRESS_MODE; namespace ComputeSharp.Shaders.Extensions; diff --git a/src/ComputeSharp/Shaders/Loading/PipelineData.cs b/src/ComputeSharp/Shaders/Loading/PipelineData.cs index 4faf0429..057904d8 100644 --- a/src/ComputeSharp/Shaders/Loading/PipelineData.cs +++ b/src/ComputeSharp/Shaders/Loading/PipelineData.cs @@ -1,6 +1,5 @@ using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Shaders.Loading; diff --git a/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs b/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs index a133ae71..0a2d8c94 100644 --- a/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs +++ b/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs @@ -4,9 +4,8 @@ using System.Runtime.CompilerServices; using ComputeSharp.Shaders.Extensions; using ComputeSharp.Descriptors; using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_RANGE_FLAGS; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_RANGE_FLAGS; namespace ComputeSharp.Shaders.Loading; From e69cb04880d888bdd87d001bf459de8f13c87b72 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 01:55:45 +0200 Subject: [PATCH 07/10] Update namespaces in Dxc/Pix projects --- src/ComputeSharp.Dxc/Interop/ReflectionServices.cs | 3 +-- .../Interop/ID3D12GraphicsCommandListExtensions.cs | 2 +- src/ComputeSharp.Pix/Interop/Pix.cs | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ComputeSharp.Dxc/Interop/ReflectionServices.cs b/src/ComputeSharp.Dxc/Interop/ReflectionServices.cs index da6a0120..297a8ba0 100644 --- a/src/ComputeSharp.Dxc/Interop/ReflectionServices.cs +++ b/src/ComputeSharp.Dxc/Interop/ReflectionServices.cs @@ -2,8 +2,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Descriptors; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Interop; diff --git a/src/ComputeSharp.Pix/Interop/ID3D12GraphicsCommandListExtensions.cs b/src/ComputeSharp.Pix/Interop/ID3D12GraphicsCommandListExtensions.cs index aad49f06..c9243b71 100644 --- a/src/ComputeSharp.Pix/Interop/ID3D12GraphicsCommandListExtensions.cs +++ b/src/ComputeSharp.Pix/Interop/ID3D12GraphicsCommandListExtensions.cs @@ -2,7 +2,7 @@ using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Text; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Interop; diff --git a/src/ComputeSharp.Pix/Interop/Pix.cs b/src/ComputeSharp.Pix/Interop/Pix.cs index 11e1719a..4b46aa51 100644 --- a/src/ComputeSharp.Pix/Interop/Pix.cs +++ b/src/ComputeSharp.Pix/Interop/Pix.cs @@ -1,5 +1,5 @@ using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Interop; From 0d786ebe662c98ffca4ffefb9e663585df5dde78 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 02:08:50 +0200 Subject: [PATCH 08/10] Update namespaces in ComputeSharp.D3D12MemoryAllocator --- .../D3D12MemoryAllocatorFactory.cs | 2 +- .../Extensions/AllocatorExtensions.cs | 20 ++++++++-------- .../Extensions/ID3D12DeviceExtensions.cs | 16 +++++++------ .../Interop/ID3D12AllocationImpl.cs | 4 ++-- .../ID3D12MemoryAllocatorFactoryImpl.cs | 7 +++--- .../Interop/ID3D12MemoryAllocatorImpl.cs | 23 +++++++++++-------- 6 files changed, 41 insertions(+), 31 deletions(-) diff --git a/src/ComputeSharp.D3D12MemoryAllocator/D3D12MemoryAllocatorFactory.cs b/src/ComputeSharp.D3D12MemoryAllocator/D3D12MemoryAllocatorFactory.cs index 24343f83..57add46a 100644 --- a/src/ComputeSharp.D3D12MemoryAllocator/D3D12MemoryAllocatorFactory.cs +++ b/src/ComputeSharp.D3D12MemoryAllocator/D3D12MemoryAllocatorFactory.cs @@ -2,7 +2,7 @@ using System; using System.Runtime.InteropServices; using ComputeSharp.Core.Extensions; using ComputeSharp.D3D12MemoryAllocator.Interop; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.D3D12MemoryAllocator; diff --git a/src/ComputeSharp.D3D12MemoryAllocator/Extensions/AllocatorExtensions.cs b/src/ComputeSharp.D3D12MemoryAllocator/Extensions/AllocatorExtensions.cs index 7d5156f3..e15b9bf3 100644 --- a/src/ComputeSharp.D3D12MemoryAllocator/Extensions/AllocatorExtensions.cs +++ b/src/ComputeSharp.D3D12MemoryAllocator/Extensions/AllocatorExtensions.cs @@ -1,9 +1,11 @@ using ComputeSharp.Core.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_CPU_PAGE_PROPERTY; -using static TerraFX.Interop.DirectX.D3D12_HEAP_TYPE; -using static TerraFX.Interop.DirectX.D3D12_MEMORY_POOL; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_CPU_PAGE_PROPERTY; +using static ComputeSharp.Win32.D3D12_HEAP_TYPE; +using static ComputeSharp.Win32.D3D12_MEMORY_POOL; +using D3D12MA_Allocator = TerraFX.Interop.DirectX.D3D12MA_Allocator; +using D3D12MA_Pool = TerraFX.Interop.DirectX.D3D12MA_Pool; +using D3D12MA_POOL_DESC = TerraFX.Interop.DirectX.D3D12MA_POOL_DESC; namespace ComputeSharp.D3D12MemoryAllocator.Extensions; @@ -24,11 +26,11 @@ internal static unsafe class AllocatorExtensions D3D12MA_POOL_DESC poolDesc = default; poolDesc.HeapProperties.CreationNodeMask = 1; poolDesc.HeapProperties.VisibleNodeMask = 1; - poolDesc.HeapProperties.Type = D3D12_HEAP_TYPE_CUSTOM; - poolDesc.HeapProperties.CPUPageProperty = D3D12_CPU_PAGE_PROPERTY_WRITE_BACK; - poolDesc.HeapProperties.MemoryPoolPreference = D3D12_MEMORY_POOL_L0; + poolDesc.HeapProperties.Type = (TerraFX.Interop.DirectX.D3D12_HEAP_TYPE)D3D12_HEAP_TYPE_CUSTOM; + poolDesc.HeapProperties.CPUPageProperty = (TerraFX.Interop.DirectX.D3D12_CPU_PAGE_PROPERTY)D3D12_CPU_PAGE_PROPERTY_WRITE_BACK; + poolDesc.HeapProperties.MemoryPoolPreference = (TerraFX.Interop.DirectX.D3D12_MEMORY_POOL)D3D12_MEMORY_POOL_L0; - allocator.CreatePool(&poolDesc, pool.GetAddressOf()).Assert(); + ((HRESULT)(int)allocator.CreatePool(&poolDesc, pool.GetAddressOf())).Assert(); return pool.Move(); } diff --git a/src/ComputeSharp.D3D12MemoryAllocator/Extensions/ID3D12DeviceExtensions.cs b/src/ComputeSharp.D3D12MemoryAllocator/Extensions/ID3D12DeviceExtensions.cs index d6e79ace..8facda9f 100644 --- a/src/ComputeSharp.D3D12MemoryAllocator/Extensions/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp.D3D12MemoryAllocator/Extensions/ID3D12DeviceExtensions.cs @@ -1,9 +1,11 @@ -using ComputeSharp.Core.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; using System.Runtime.CompilerServices; +using ComputeSharp.Core.Extensions; +using ComputeSharp.Win32; +using D3D12MA_Allocator = TerraFX.Interop.DirectX.D3D12MA_Allocator; +using D3D12MA_ALLOCATOR_DESC = TerraFX.Interop.DirectX.D3D12MA_ALLOCATOR_DESC; +using D3D12MemAlloc = TerraFX.Interop.DirectX.D3D12MemAlloc; -namespace ComputeSharp.Graphics.Extensions; +namespace ComputeSharp.D3D12MemoryAllocator.Extensions; /// /// A with extensions for the type. @@ -21,10 +23,10 @@ internal static unsafe class ID3D12DeviceExtensions using ComPtr allocator = default; D3D12MA_ALLOCATOR_DESC allocatorDesc = default; - allocatorDesc.pDevice = (ID3D12Device*)Unsafe.AsPointer(ref d3D12Device); - allocatorDesc.pAdapter = dxgiAdapter; + allocatorDesc.pDevice = (TerraFX.Interop.DirectX.ID3D12Device*)Unsafe.AsPointer(ref d3D12Device); + allocatorDesc.pAdapter = (TerraFX.Interop.DirectX.IDXGIAdapter*)dxgiAdapter; - D3D12MemAlloc.D3D12MA_CreateAllocator(&allocatorDesc, allocator.GetAddressOf()).Assert(); + ((HRESULT)(int)D3D12MemAlloc.D3D12MA_CreateAllocator(&allocatorDesc, allocator.GetAddressOf())).Assert(); return allocator.Move(); } diff --git a/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12AllocationImpl.cs b/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12AllocationImpl.cs index f8d20d4b..65018e87 100644 --- a/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12AllocationImpl.cs +++ b/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12AllocationImpl.cs @@ -3,8 +3,8 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; +using D3D12MA_Allocation = TerraFX.Interop.DirectX.D3D12MA_Allocation; namespace ComputeSharp.D3D12MemoryAllocator.Interop; diff --git a/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12MemoryAllocatorFactoryImpl.cs b/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12MemoryAllocatorFactoryImpl.cs index 35aa47dc..39c35a28 100644 --- a/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12MemoryAllocatorFactoryImpl.cs +++ b/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12MemoryAllocatorFactoryImpl.cs @@ -5,9 +5,10 @@ using System.Threading; using ComputeSharp.D3D12MemoryAllocator.Extensions; using ComputeSharp.Graphics.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FEATURE; +using D3D12MA_Allocator = TerraFX.Interop.DirectX.D3D12MA_Allocator; +using D3D12MA_Pool = TerraFX.Interop.DirectX.D3D12MA_Pool; namespace ComputeSharp.D3D12MemoryAllocator.Interop; diff --git a/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12MemoryAllocatorImpl.cs b/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12MemoryAllocatorImpl.cs index 58471658..ea7c3d0a 100644 --- a/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12MemoryAllocatorImpl.cs +++ b/src/ComputeSharp.D3D12MemoryAllocator/Interop/ID3D12MemoryAllocatorImpl.cs @@ -3,9 +3,12 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12MA_ALLOCATION_FLAGS; +using ComputeSharp.Win32; +using D3D12MA_Allocation = TerraFX.Interop.DirectX.D3D12MA_Allocation; +using D3D12MA_ALLOCATION_DESC = TerraFX.Interop.DirectX.D3D12MA_ALLOCATION_DESC; +using D3D12MA_ALLOCATION_FLAGS = TerraFX.Interop.DirectX.D3D12MA_ALLOCATION_FLAGS; +using D3D12MA_Allocator = TerraFX.Interop.DirectX.D3D12MA_Allocator; +using D3D12MA_Pool = TerraFX.Interop.DirectX.D3D12MA_Pool; namespace ComputeSharp.D3D12MemoryAllocator.Interop; @@ -180,10 +183,12 @@ internal unsafe struct ID3D12MemoryAllocatorImpl BOOL clearAllocation, ID3D12Allocation** allocation) { - D3D12MA_ALLOCATION_FLAGS allocationFlags = clearAllocation ? D3D12MA_ALLOCATION_FLAG_COMMITTED : D3D12MA_ALLOCATION_FLAG_NONE; + D3D12MA_ALLOCATION_FLAGS allocationFlags = clearAllocation ? + D3D12MA_ALLOCATION_FLAGS.D3D12MA_ALLOCATION_FLAG_COMMITTED : + D3D12MA_ALLOCATION_FLAGS.D3D12MA_ALLOCATION_FLAG_NONE; D3D12MA_ALLOCATION_DESC allocationDesc = default; - allocationDesc.HeapType = heapType; + allocationDesc.HeapType = (TerraFX.Interop.DirectX.D3D12_HEAP_TYPE)heapType; allocationDesc.Flags = allocationFlags; allocationDesc.CustomPool = @this->pool; @@ -191,16 +196,16 @@ internal unsafe struct ID3D12MemoryAllocatorImpl using ComPtr d3D12Resource = default; // Invoke D3D12MA and create an allocation and resource - HRESULT hresult = @this->allocator->CreateResource( + TerraFX.Interop.Windows.HRESULT hresult = @this->allocator->CreateResource( pAllocDesc: &allocationDesc, - pResourceDesc: resourceDescription, - InitialResourceState: resourceStates, + pResourceDesc: (TerraFX.Interop.DirectX.D3D12_RESOURCE_DESC*)resourceDescription, + InitialResourceState: (TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES)resourceStates, pOptimizedClearValue: null, ppAllocation: d3D12MA_allocation.GetAddressOf(), riidResource: Windows.__uuidof(), ppvResource: (void**)d3D12Resource.GetAddressOf()); - if (!Windows.SUCCEEDED(hresult)) + if (!TerraFX.Interop.Windows.Windows.SUCCEEDED(hresult)) { return hresult; } From 50e082adae10a656b232b3d49e2d652b12127704 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 02:18:51 +0200 Subject: [PATCH 09/10] Update namespaces in ComputeSharp.WinUI --- .../Extensions/IDXGIAdapterExtensions.cs | 6 ++--- .../Helpers/SwapChainManager.cs | 25 ++++++++----------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/src/ComputeSharp.WinUI/Extensions/IDXGIAdapterExtensions.cs b/src/ComputeSharp.WinUI/Extensions/IDXGIAdapterExtensions.cs index 5349e613..b818749e 100644 --- a/src/ComputeSharp.WinUI/Extensions/IDXGIAdapterExtensions.cs +++ b/src/ComputeSharp.WinUI/Extensions/IDXGIAdapterExtensions.cs @@ -1,9 +1,7 @@ using System; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Helpers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using Win32 = TerraFX.Interop.Windows.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.WinUI.Extensions; @@ -22,7 +20,7 @@ internal static unsafe class IDXGIAdapterExtensions { using ComPtr dxgiAdapter1 = default; - dxgiAdapter.QueryInterface(Win32.__uuidof(), (void**)dxgiAdapter1.GetAddressOf()).Assert(); + dxgiAdapter.QueryInterface(Win32.Windows.__uuidof(), (void**)dxgiAdapter1.GetAddressOf()).Assert(); using ComPtr dxgiOutput = default; diff --git a/src/ComputeSharp.WinUI/Helpers/SwapChainManager.cs b/src/ComputeSharp.WinUI/Helpers/SwapChainManager.cs index a81a0cc8..d294de5e 100644 --- a/src/ComputeSharp.WinUI/Helpers/SwapChainManager.cs +++ b/src/ComputeSharp.WinUI/Helpers/SwapChainManager.cs @@ -6,14 +6,11 @@ using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.WinUI.Extensions; +using ComputeSharp.Win32; using Microsoft.UI.Dispatching; using Microsoft.UI.Xaml.Controls; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using TerraFX.Interop.WinRT; using Windows.Foundation; using WinRT; -using Win32 = TerraFX.Interop.Windows.Windows; namespace ComputeSharp.WinUI.Helpers; @@ -234,7 +231,7 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked // Get the underlying ID3D12Device in use fixed (ID3D12Device** d3D12Device = this.d3D12Device) { - this.device.D3D12Device->QueryInterface(Win32.__uuidof(), (void**)d3D12Device).Assert(); + this.device.D3D12Device->QueryInterface(Win32.Windows.__uuidof(), (void**)d3D12Device).Assert(); } // Create the direct command queue to use @@ -248,7 +245,7 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked this.d3D12Device.Get()->CreateCommandQueue( &d3D12CommandQueueDesc, - Win32.__uuidof(), + Win32.Windows.__uuidof(), (void**)d3D12CommandQueue).Assert(); } @@ -258,7 +255,7 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked this.d3D12Device.Get()->CreateFence( 0, D3D12_FENCE_FLAGS.D3D12_FENCE_FLAG_NONE, - Win32.__uuidof(), + Win32.Windows.__uuidof(), (void**)d3D12Fence).Assert(); } @@ -302,7 +299,7 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked { this.d3D12Device.Get()->CreateCommandAllocator( D3D12_COMMAND_LIST_TYPE.D3D12_COMMAND_LIST_TYPE_DIRECT, - Win32.__uuidof(), + Win32.Windows.__uuidof(), (void**)d3D12CommandAllocator).Assert(); } @@ -314,7 +311,7 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked D3D12_COMMAND_LIST_TYPE.D3D12_COMMAND_LIST_TYPE_DIRECT, this.d3D12CommandAllocator.Get(), null, - Win32.__uuidof(), + Win32.Windows.__uuidof(), (void**)d3D12GraphicsCommandList).Assert(); } @@ -379,8 +376,8 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked fixed (ID3D12Resource** d3D12Resource0 = this.d3D12Resource0) fixed (ID3D12Resource** d3D12Resource1 = this.d3D12Resource1) { - this.dxgiSwapChain3.Get()->GetBuffer(0, Win32.__uuidof(), (void**)d3D12Resource0).Assert(); - this.dxgiSwapChain3.Get()->GetBuffer(1, Win32.__uuidof(), (void**)d3D12Resource1).Assert(); + this.dxgiSwapChain3.Get()->GetBuffer(0, Win32.Windows.__uuidof(), (void**)d3D12Resource0).Assert(); + this.dxgiSwapChain3.Get()->GetBuffer(1, Win32.Windows.__uuidof(), (void**)d3D12Resource1).Assert(); } // Get the index of the initial back buffer @@ -396,7 +393,7 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked /// private unsafe partial void OnWaitForPresent() { - _ = Win32.WaitForSingleObjectEx(this.frameLatencyWaitableObject, Win32.INFINITE, true); + _ = Win32.Windows.WaitForSingleObjectEx(this.frameLatencyWaitableObject, Win32.Windows.INFINITE, true); } /// @@ -405,7 +402,7 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked using ComPtr d3D12Resource = default; // Get the underlying ID3D12Resource pointer for the texture - this.texture!.D3D12Resource->QueryInterface(Win32.__uuidof(), (void**)d3D12Resource.GetAddressOf()).Assert(); + this.texture!.D3D12Resource->QueryInterface(Win32.Windows.__uuidof(), (void**)d3D12Resource.GetAddressOf()).Assert(); // Get the target back buffer to update ID3D12Resource* d3D12ResourceBackBuffer = this.currentBufferIndex switch @@ -521,7 +518,7 @@ internal sealed unsafe partial class SwapChainManager : ReferenceTracked // is needed to avoid a crash when disposing resources when disposing after stopping rendering. @this.d3D12Fence.Get()->SetEventOnCompletion(updatedFenceValue, default).Assert(); - _ = Win32.CloseHandle(@this.frameLatencyWaitableObject); + _ = Win32.Windows.CloseHandle(@this.frameLatencyWaitableObject); @this.d3D12Device.Dispose(); @this.d3D12CommandQueue.Dispose(); From 57047507451b60d58da20901e8a78ef33dfc3eb2 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 02:35:57 +0200 Subject: [PATCH 10/10] Fix tests and sample projects --- .../ComputeSharp.SwapChain.Cli.csproj | 4 ++++ samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj | 4 ++++ .../ComputeSharp.Tests.DeviceLost.csproj | 1 + 3 files changed, 9 insertions(+) diff --git a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj index 9274944d..a4f7e0ed 100644 --- a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj +++ b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj @@ -59,6 +59,10 @@ + + + + diff --git a/samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj b/samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj index fc340cf9..8028821a 100644 --- a/samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj +++ b/samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj @@ -13,6 +13,10 @@ + + + + PreserveNewest diff --git a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj index 652fc553..19265c70 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj +++ b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj @@ -14,6 +14,7 @@ +