Skip to content

Commit

Permalink
fix: fix for wetness bugs on older Nvidia cards
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRiverwoodModder committed Apr 6, 2024
1 parent f773793 commit cdf4de4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ struct PerPassWetnessEffects
float ChaoticRippleStrength;
float ChaoticRippleScaleRcp;
float ChaoticRippleSpeed;
float pad[3];
};

StructuredBuffer<PerPassWetnessEffects> perPassWetnessEffects : register(t22);
Expand Down
2 changes: 1 addition & 1 deletion src/Features/WetnessEffects.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct WetnessEffects : Feature
REX::W32::XMFLOAT4X4 PrecipProj;
Settings settings;

float pad[4 - (sizeof(Settings) / 4 + 16) % 4];
float pad[3];
};

Settings settings;
Expand Down

0 comments on commit cdf4de4

Please sign in to comment.