Commit 3be8016f authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Add padding to shared stage info

parent 2805ffe4
......@@ -399,6 +399,9 @@ namespace dxvk {
spvModule.memberDecorateOffset(structType, stage * D3D9SharedPSStages_Count + D3D9SharedPSStages_Constant, offset);
offset += sizeof(float) * 4;
// Padding...
offset += sizeof(float) * 2;
}
uint32_t sharedState = spvModule.newVar(
......
......@@ -145,6 +145,7 @@ namespace dxvk {
float BumpEnvMat[2][2];
float BumpEnvLScale;
float BumpEnvLOffset;
float Padding[2];
} Stages[8];
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment