Skip to content

Commit 6d23980

Browse files
committed
Feedback
1 parent 05ade6d commit 6d23980

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tools/clang/unittests/HLSLExec/LongVectors.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ void dispatchWaveOpTest(ID3D12Device *D3DDevice, bool VerboseLogging,
13891389
constexpr const Operation &Operation = getOperation(OP);
13901390
Op<OP, T, Operation.Arity> Op;
13911391

1392-
std::optional<std::string> AdditionalCompilerOptions =
1392+
const std::string AdditionalCompilerOptions =
13931393
"-DWAVE_SIZE=" + std::to_string(WaveSize) +
13941394
" -DNUMTHREADS_X=" + std::to_string(WaveSize);
13951395

@@ -1536,10 +1536,9 @@ class DxilConf_SM69_Vectorized {
15361536
} else {
15371537
D3D12_FEATURE_DATA_D3D12_OPTIONS1 WaveOpts;
15381538
VERIFY_SUCCEEDED(D3DDevice->CheckFeatureSupport(
1539-
D3D12_FEATURE_D3D12_OPTIONS1, &waveOpts,
1540-
sizeof(waveOpts)));
1539+
D3D12_FEATURE_D3D12_OPTIONS1, &WaveOpts, sizeof(WaveOpts)));
15411540

1542-
WaveSize = waveOpts.WaveLaneCountMin;
1541+
WaveSize = WaveOpts.WaveLaneCountMin;
15431542
}
15441543

15451544
DXASSERT_NOMSG(WaveSize > 0);

0 commit comments

Comments
 (0)