Skip to content

Commit

Permalink
Fixed missing semantics on texClamp
Browse files Browse the repository at this point in the history
  • Loading branch information
KiritoDv committed Feb 17, 2025
1 parent 2e9ed1f commit 8dd7ace
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/graphic/Fast3D/shaders/directx/default.shader.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ struct PSInput {
@for(j in 0..2)
@if(o_clamp[i][j])
@if(j == 0)
float texClampS@{i};
float texClampS@{i} : TEXCLAMPS@{i};
@else
float texClampT@{i};
float texClampT@{i} : TEXCLAMPT@{i};
@end
@{update_floats(1)}
@end
Expand Down Expand Up @@ -107,9 +107,9 @@ PSInput VSMain(
@for(j in 0..2)
@if(o_clamp[i][j])
@if(j == 0)
, float texClampS@{i}
, float texClampS@{i} : TEXCLAMPS@{i}
@else
, float texClampT@{i}
, float texClampT@{i} : TEXCLAMPT@{i}
@end
@end
@end
Expand Down

0 comments on commit 8dd7ace

Please sign in to comment.