-
-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the July 2021 Update (v2.6.0 - #535)
- Loading branch information
Showing
52 changed files
with
2,093 additions
and
41 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelSharingFormatQueryD3d10.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
using Silk.NET.OpenCL; | ||
using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.INTEL | ||
{ | ||
[Extension("INTEL_sharing_format_query_d3d10")] | ||
public unsafe partial class IntelSharingFormatQueryD3d10 : NativeExtension<CL> | ||
{ | ||
public const string ExtensionName = "INTEL_sharing_format_query_d3d10"; | ||
[NativeApi(EntryPoint = "clGetSupportedD3D10TextureFormatsINTEL")] | ||
public unsafe partial int GetSupportedD3D10TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* d3d10_formats, [Flow(FlowDirection.Out)] uint* num_texture_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedD3D10TextureFormatsINTEL")] | ||
public unsafe partial int GetSupportedD3D10TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* d3d10_formats, [Flow(FlowDirection.Out)] out uint num_texture_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedD3D10TextureFormatsINTEL")] | ||
public unsafe partial int GetSupportedD3D10TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint d3d10_formats, [Flow(FlowDirection.Out)] uint* num_texture_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedD3D10TextureFormatsINTEL")] | ||
public partial int GetSupportedD3D10TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint d3d10_formats, [Flow(FlowDirection.Out)] out uint num_texture_formats); | ||
|
||
public IntelSharingFormatQueryD3d10(INativeContext ctx) | ||
: base(ctx) | ||
{ | ||
} | ||
} | ||
} | ||
|
39 changes: 39 additions & 0 deletions
39
.../Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelSharingFormatQueryD3d10Overloads.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.INTEL | ||
{ | ||
public static class IntelSharingFormatQueryD3d10Overloads | ||
{ | ||
public static unsafe int GetSupportedD3D10TextureFormats(this IntelSharingFormatQueryD3d10 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* d3d10_formats, [Flow(FlowDirection.Out)] Span<uint> num_texture_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedD3D10TextureFormats(context, flags, image_type, num_entries, d3d10_formats, out num_texture_formats.GetPinnableReference()); | ||
} | ||
|
||
public static unsafe int GetSupportedD3D10TextureFormats(this IntelSharingFormatQueryD3d10 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span<uint> d3d10_formats, [Flow(FlowDirection.Out)] uint* num_texture_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedD3D10TextureFormats(context, flags, image_type, num_entries, out d3d10_formats.GetPinnableReference(), num_texture_formats); | ||
} | ||
|
||
public static unsafe int GetSupportedD3D10TextureFormats(this IntelSharingFormatQueryD3d10 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span<uint> d3d10_formats, [Flow(FlowDirection.Out)] Span<uint> num_texture_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedD3D10TextureFormats(context, flags, image_type, num_entries, out d3d10_formats.GetPinnableReference(), out num_texture_formats.GetPinnableReference()); | ||
} | ||
|
||
} | ||
} | ||
|
41 changes: 41 additions & 0 deletions
41
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelSharingFormatQueryD3d11.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
using Silk.NET.OpenCL; | ||
using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.INTEL | ||
{ | ||
[Extension("INTEL_sharing_format_query_d3d11")] | ||
public unsafe partial class IntelSharingFormatQueryD3d11 : NativeExtension<CL> | ||
{ | ||
public const string ExtensionName = "INTEL_sharing_format_query_d3d11"; | ||
[NativeApi(EntryPoint = "clGetSupportedD3D11TextureFormatsINTEL")] | ||
public unsafe partial int GetSupportedD3D11TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* d3d11_formats, [Flow(FlowDirection.Out)] uint* num_texture_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedD3D11TextureFormatsINTEL")] | ||
public unsafe partial int GetSupportedD3D11TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* d3d11_formats, [Flow(FlowDirection.Out)] out uint num_texture_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedD3D11TextureFormatsINTEL")] | ||
public unsafe partial int GetSupportedD3D11TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint d3d11_formats, [Flow(FlowDirection.Out)] uint* num_texture_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedD3D11TextureFormatsINTEL")] | ||
public partial int GetSupportedD3D11TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint d3d11_formats, [Flow(FlowDirection.Out)] out uint num_texture_formats); | ||
|
||
public IntelSharingFormatQueryD3d11(INativeContext ctx) | ||
: base(ctx) | ||
{ | ||
} | ||
} | ||
} | ||
|
39 changes: 39 additions & 0 deletions
39
.../Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelSharingFormatQueryD3d11Overloads.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.INTEL | ||
{ | ||
public static class IntelSharingFormatQueryD3d11Overloads | ||
{ | ||
public static unsafe int GetSupportedD3D11TextureFormats(this IntelSharingFormatQueryD3d11 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* d3d11_formats, [Flow(FlowDirection.Out)] Span<uint> num_texture_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedD3D11TextureFormats(context, flags, image_type, plane, num_entries, d3d11_formats, out num_texture_formats.GetPinnableReference()); | ||
} | ||
|
||
public static unsafe int GetSupportedD3D11TextureFormats(this IntelSharingFormatQueryD3d11 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span<uint> d3d11_formats, [Flow(FlowDirection.Out)] uint* num_texture_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedD3D11TextureFormats(context, flags, image_type, plane, num_entries, out d3d11_formats.GetPinnableReference(), num_texture_formats); | ||
} | ||
|
||
public static unsafe int GetSupportedD3D11TextureFormats(this IntelSharingFormatQueryD3d11 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span<uint> d3d11_formats, [Flow(FlowDirection.Out)] Span<uint> num_texture_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedD3D11TextureFormats(context, flags, image_type, plane, num_entries, out d3d11_formats.GetPinnableReference(), out num_texture_formats.GetPinnableReference()); | ||
} | ||
|
||
} | ||
} | ||
|
41 changes: 41 additions & 0 deletions
41
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelSharingFormatQueryDx9.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
using Silk.NET.OpenCL; | ||
using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.INTEL | ||
{ | ||
[Extension("INTEL_sharing_format_query_dx9")] | ||
public unsafe partial class IntelSharingFormatQueryDx9 : NativeExtension<CL> | ||
{ | ||
public const string ExtensionName = "INTEL_sharing_format_query_dx9"; | ||
[NativeApi(EntryPoint = "clGetSupportedDX9MediaSurfaceFormatsINTEL")] | ||
public unsafe partial int GetSupportedDX9MediaSurfaceFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* dx9_formats, [Flow(FlowDirection.Out)] uint* num_surface_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedDX9MediaSurfaceFormatsINTEL")] | ||
public unsafe partial int GetSupportedDX9MediaSurfaceFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* dx9_formats, [Flow(FlowDirection.Out)] out uint num_surface_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedDX9MediaSurfaceFormatsINTEL")] | ||
public unsafe partial int GetSupportedDX9MediaSurfaceFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint dx9_formats, [Flow(FlowDirection.Out)] uint* num_surface_formats); | ||
|
||
[NativeApi(EntryPoint = "clGetSupportedDX9MediaSurfaceFormatsINTEL")] | ||
public partial int GetSupportedDX9MediaSurfaceFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint dx9_formats, [Flow(FlowDirection.Out)] out uint num_surface_formats); | ||
|
||
public IntelSharingFormatQueryDx9(INativeContext ctx) | ||
: base(ctx) | ||
{ | ||
} | ||
} | ||
} | ||
|
39 changes: 39 additions & 0 deletions
39
...CL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelSharingFormatQueryDx9Overloads.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.INTEL | ||
{ | ||
public static class IntelSharingFormatQueryDx9Overloads | ||
{ | ||
public static unsafe int GetSupportedDX9MediaSurfaceFormats(this IntelSharingFormatQueryDx9 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* dx9_formats, [Flow(FlowDirection.Out)] Span<uint> num_surface_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedDX9MediaSurfaceFormats(context, flags, image_type, plane, num_entries, dx9_formats, out num_surface_formats.GetPinnableReference()); | ||
} | ||
|
||
public static unsafe int GetSupportedDX9MediaSurfaceFormats(this IntelSharingFormatQueryDx9 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span<uint> dx9_formats, [Flow(FlowDirection.Out)] uint* num_surface_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedDX9MediaSurfaceFormats(context, flags, image_type, plane, num_entries, out dx9_formats.GetPinnableReference(), num_surface_formats); | ||
} | ||
|
||
public static unsafe int GetSupportedDX9MediaSurfaceFormats(this IntelSharingFormatQueryDx9 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span<uint> dx9_formats, [Flow(FlowDirection.Out)] Span<uint> num_surface_formats) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSupportedDX9MediaSurfaceFormats(context, flags, image_type, plane, num_entries, out dx9_formats.GetPinnableReference(), out num_surface_formats.GetPinnableReference()); | ||
} | ||
|
||
} | ||
} | ||
|
Oops, something went wrong.