mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 19:15:36 +00:00
Added override for GetProgramInfoLog: infolog parameter should have a flow of 'out'.
This commit is contained in:
parent
c54d4d180b
commit
0ade61a5cf
|
@ -9,4 +9,7 @@
|
||||||
<function name="GetShaderSource" extension="Core">
|
<function name="GetShaderSource" extension="Core">
|
||||||
<param name="source"><flow>out</flow></param>
|
<param name="source"><flow>out</flow></param>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="GetProgramInfoLog" extension="Core">
|
||||||
|
<param name="infolog"><flow>out</flow></param>
|
||||||
|
</function>
|
||||||
</overrides>
|
</overrides>
|
||||||
|
|
|
@ -310,7 +310,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
internal extern static unsafe void GetProgramBinaryOES(UInt32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, IntPtr binary);
|
internal extern static unsafe void GetProgramBinaryOES(UInt32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, IntPtr binary);
|
||||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)]
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)]
|
||||||
internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, String infolog);
|
internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
|
||||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)]
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)]
|
||||||
internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||||
|
|
|
@ -308,7 +308,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
internal unsafe delegate void GetProgramBinaryOES(UInt32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, IntPtr binary);
|
internal unsafe delegate void GetProgramBinaryOES(UInt32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, IntPtr binary);
|
||||||
internal unsafe static GetProgramBinaryOES glGetProgramBinaryOES;
|
internal unsafe static GetProgramBinaryOES glGetProgramBinaryOES;
|
||||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||||
internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, String infolog);
|
internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
|
||||||
internal unsafe static GetProgramInfoLog glGetProgramInfoLog;
|
internal unsafe static GetProgramInfoLog glGetProgramInfoLog;
|
||||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||||
internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||||
|
|
|
@ -6827,13 +6827,13 @@ namespace OpenTK.Graphics.ES20
|
||||||
[System.CLSCompliant(false)]
|
[System.CLSCompliant(false)]
|
||||||
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
||||||
public static
|
public static
|
||||||
unsafe void GetProgramInfoLog(Int32 program, Int32 bufsize, Int32* length, String infolog)
|
unsafe void GetProgramInfoLog(Int32 program, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder infolog)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (String)infolog);
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (System.Text.StringBuilder)infolog);
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -6865,7 +6865,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
/// </param>
|
/// </param>
|
||||||
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
||||||
public static
|
public static
|
||||||
void GetProgramInfoLog(Int32 program, Int32 bufsize, Int32[] length, String infolog)
|
void GetProgramInfoLog(Int32 program, Int32 bufsize, Int32[] length, [OutAttribute] System.Text.StringBuilder infolog)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||||
|
@ -6875,7 +6875,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
{
|
{
|
||||||
fixed (Int32* length_ptr = length)
|
fixed (Int32* length_ptr = length)
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (String)infolog);
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (System.Text.StringBuilder)infolog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
@ -6909,7 +6909,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
/// </param>
|
/// </param>
|
||||||
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
||||||
public static
|
public static
|
||||||
void GetProgramInfoLog(Int32 program, Int32 bufsize, ref Int32 length, String infolog)
|
void GetProgramInfoLog(Int32 program, Int32 bufsize, ref Int32 length, [OutAttribute] System.Text.StringBuilder infolog)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||||
|
@ -6919,7 +6919,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
{
|
{
|
||||||
fixed (Int32* length_ptr = &length)
|
fixed (Int32* length_ptr = &length)
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (String)infolog);
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (System.Text.StringBuilder)infolog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
@ -6954,13 +6954,13 @@ namespace OpenTK.Graphics.ES20
|
||||||
[System.CLSCompliant(false)]
|
[System.CLSCompliant(false)]
|
||||||
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
||||||
public static
|
public static
|
||||||
unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, String infolog)
|
unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder infolog)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (String)infolog);
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (System.Text.StringBuilder)infolog);
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -6993,7 +6993,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
[System.CLSCompliant(false)]
|
[System.CLSCompliant(false)]
|
||||||
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
||||||
public static
|
public static
|
||||||
void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32[] length, String infolog)
|
void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32[] length, [OutAttribute] System.Text.StringBuilder infolog)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||||
|
@ -7003,7 +7003,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
{
|
{
|
||||||
fixed (Int32* length_ptr = length)
|
fixed (Int32* length_ptr = length)
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (String)infolog);
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (System.Text.StringBuilder)infolog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
@ -7038,7 +7038,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
[System.CLSCompliant(false)]
|
[System.CLSCompliant(false)]
|
||||||
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
|
||||||
public static
|
public static
|
||||||
void GetProgramInfoLog(UInt32 program, Int32 bufsize, ref Int32 length, String infolog)
|
void GetProgramInfoLog(UInt32 program, Int32 bufsize, ref Int32 length, [OutAttribute] System.Text.StringBuilder infolog)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||||
|
@ -7048,7 +7048,7 @@ namespace OpenTK.Graphics.ES20
|
||||||
{
|
{
|
||||||
fixed (Int32* length_ptr = &length)
|
fixed (Int32* length_ptr = &length)
|
||||||
{
|
{
|
||||||
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (String)infolog);
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (System.Text.StringBuilder)infolog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|
Loading…
Reference in a new issue