mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Replay functions compiling
This commit is contained in:
@@ -902,9 +902,9 @@ namespace renderdocui.Code
|
||||
) && (bind.stageFlags & mask) == mask)
|
||||
{
|
||||
var key = new BindpointMap(set, slot);
|
||||
var val = new BoundResource[bind.arraySize];
|
||||
var val = new BoundResource[bind.descriptorCount];
|
||||
|
||||
for (UInt32 i = 0; i < bind.arraySize; i++)
|
||||
for (UInt32 i = 0; i < bind.descriptorCount; i++)
|
||||
{
|
||||
val[i] = new BoundResource();
|
||||
val[i].Id = bind.binds[i].res;
|
||||
@@ -1000,9 +1000,9 @@ namespace renderdocui.Code
|
||||
) && (bind.stageFlags & mask) == mask)
|
||||
{
|
||||
var key = new BindpointMap(set, slot);
|
||||
var val = new BoundResource[bind.arraySize];
|
||||
var val = new BoundResource[bind.descriptorCount];
|
||||
|
||||
for (UInt32 i = 0; i < bind.arraySize; i++)
|
||||
for (UInt32 i = 0; i < bind.descriptorCount; i++)
|
||||
{
|
||||
val[i] = new BoundResource();
|
||||
val[i].Id = bind.binds[i].res;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace renderdoc
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class DescriptorBinding
|
||||
{
|
||||
public UInt32 arraySize;
|
||||
public UInt32 descriptorCount;
|
||||
public ShaderBindType type;
|
||||
public ShaderStageBits stageFlags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user