mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 13:15:57 +00:00
Handle post-vs data being padded/aligned instead of tightly packed
This commit is contained in:
@@ -75,6 +75,11 @@ namespace renderdocui.Code
|
||||
else return val;
|
||||
}
|
||||
|
||||
public static uint AlignUp(this uint x, uint a)
|
||||
{
|
||||
return (x + (a - 1)) & (~(a - 1));
|
||||
}
|
||||
|
||||
public static bool IsElevated
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user