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

This commit is contained in:
baldurk committed 2015-01-18 10:54:48 +00:00
1 parent ec1a81cf8b
commit 0fb3c54514
2 files changed
+22 -3

No files matched your search

+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