mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
Mark OOB reads in cbuffers as truncated
This commit is contained in:
@@ -424,6 +424,10 @@ void StandardFillCBufferVariable(ResourceId shader, const ShaderConstantType &de
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
outvar.flags |= ShaderVariableFlags::Truncated;
|
||||
}
|
||||
|
||||
if(desc.pointerTypeID != ~0U)
|
||||
outvar.SetTypedPointer(outvar.value.u64v[0], shader, desc.pointerTypeID);
|
||||
|
||||
Reference in New Issue
Block a user