Skip to content

Commit

Permalink
chore: autopublish 2024-01-19T23:38:59Z
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 19, 2024
1 parent 2970e92 commit ce52781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/clang/lib/Sema/SemaHLSL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12640,7 +12640,7 @@ HLSLWaveSizeAttr *ValidateWaveSizeAttributes(Sema &S, Decl *D,
S.Diag(A.getLoc(), diag::err_hlsl_wavesize_pref_size_out_of_range)
<< prefWave << minWave << maxWave;
}

if (maxWave != 0 && minWave >= maxWave) {
S.Diag(A.getLoc(), diag::err_hlsl_wavesize_min_geq_max)
<< minWave << maxWave;
Expand Down

0 comments on commit ce52781

Please sign in to comment.