You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
At the SharpDX.Toolkit.Graphics.Effect.cs file line 275 column 40, the offset ignores parameter.ElementCount.
This bug will cause consecutive Texture2D arrays to override each other
Code:
// Recalculate parameter resource index
if (!parameter.IsValueType)
{
parameter.Offset = resourceIndex++;
}
Should be:
// Recalculate parameter resource index
if (!parameter.IsValueType)
{
parameter.Offset = resourceIndex;
resourceIndex += parameter.ElementCount;
}
The text was updated successfully, but these errors were encountered:
At the SharpDX.Toolkit.Graphics.Effect.cs file line 275 column 40, the offset ignores parameter.ElementCount.
This bug will cause consecutive Texture2D arrays to override each other
Code:
// Recalculate parameter resource index
if (!parameter.IsValueType)
{
parameter.Offset = resourceIndex++;
}
Should be:
// Recalculate parameter resource index
if (!parameter.IsValueType)
{
parameter.Offset = resourceIndex;
resourceIndex += parameter.ElementCount;
}
The text was updated successfully, but these errors were encountered: