Compile fixes for C# GL pipeline state struct to match real struct

This commit is contained in:
baldurk
2015-01-18 10:54:48 +00:00
parent ec1a81cf8b
commit 0fb3c54514
2 changed files with 22 additions and 3 deletions
+19
View File
@@ -159,7 +159,26 @@ namespace renderdoc
public UInt64 Size;
};
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
public Buffer[] AtomicBuffers;
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
public Buffer[] UniformBuffers;
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
public Buffer[] ShaderStorageBuffers;
[StructLayout(LayoutKind.Sequential)]
public class ImageLoadStore
{
public ResourceId Resource;
public UInt32 Level;
public bool Layered;
public UInt32 Layer;
public ShaderResourceType ResType;
public bool readAllowed;
public bool writeAllowed;
public ResourceFormat Format;
};
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
public ImageLoadStore[] Images;
[StructLayout(LayoutKind.Sequential)]
public class Feedback