Skip to content

Commit 2e23f00

Browse files
committed
formatting
1 parent 09149c9 commit 2e23f00

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/clang/unittests/HLSLExec/LongVectors.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,7 @@ class DxilConf_SM69_Vectorized {
15221522

15231523
WEX::TestExecution::RuntimeParameters::TryGetValue(L"WaveLaneCount",
15241524
OverrideWaveLaneCount);
1525+
15251526
bool IsRITP = false;
15261527
WEX::TestExecution::RuntimeParameters::TryGetValue(L"RITP", IsRITP);
15271528

@@ -1573,7 +1574,6 @@ class DxilConf_SM69_Vectorized {
15731574
// runtimes for large long vectors. 8 is WARPs default wave size.
15741575
MaxWaveSize = 8;
15751576
else {
1576-
// Get supported wave sizes
15771577
D3D12_FEATURE_DATA_D3D12_OPTIONS1 waveOpts;
15781578
VERIFY_SUCCEEDED(D3DDevice->CheckFeatureSupport(
15791579
(D3D12_FEATURE)D3D12_FEATURE_D3D12_OPTIONS1, &waveOpts,
@@ -1583,6 +1583,7 @@ class DxilConf_SM69_Vectorized {
15831583
}
15841584

15851585
DXASSERT_NOMSG(MaxWaveSize > 0);
1586+
DXASSERT((MaxWaveSize & (MaxWaveSize - 1)) == 0, "must be a power of 2");
15861587

15871588
dispatchWaveOpTest<T, OP>(D3DDevice, VerboseLogging, OverrideInputSize,
15881589
MaxWaveSize);

0 commit comments

Comments
 (0)