Skip to content

Commit 2b1c2e6

Browse files
authored
Fix typo in exec tests comment (microsoft#7299)
Keep seeing this comment typo and wanted to rectify.
1 parent 9eb7119 commit 2b1c2e6

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

tools/clang/unittests/HLSLExec/ExecutionTest.cpp

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5632,7 +5632,7 @@ void ExecutionTest::RunBasicShaderModelTest(CComPtr<ID3D12Device> pDevice,
56325632

56335633
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
56345634
pDevice, m_support, pStream, "BinaryFPOp",
5635-
// this callbacked is called when the test is creating the resource to run
5635+
// this callback is called when the test is creating the resource to run
56365636
// the test
56375637
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
56385638
UNREFERENCED_PARAMETER(Name);
@@ -6999,7 +6999,7 @@ TEST_F(ExecutionTest, UnaryFloatOpTest) {
69996999

70007000
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
70017001
pDevice, m_support, pStream, "UnaryFPOp",
7002-
// this callbacked is called when the test
7002+
// this callback is called when the test
70037003
// is creating the resource to run the test
70047004
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
70057005
VERIFY_IS_TRUE(0 == _stricmp(Name, "SUnaryFPOp"));
@@ -7067,7 +7067,7 @@ TEST_F(ExecutionTest, BinaryFloatOpTest) {
70677067

70687068
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
70697069
pDevice, m_support, pStream, "BinaryFPOp",
7070-
// this callbacked is called when the test
7070+
// this callback is called when the test
70717071
// is creating the resource to run the test
70727072
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
70737073
VERIFY_IS_TRUE(0 == _stricmp(Name, "SBinaryFPOp"));
@@ -7157,7 +7157,7 @@ TEST_F(ExecutionTest, TertiaryFloatOpTest) {
71577157

71587158
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
71597159
pDevice, m_support, pStream, "TertiaryFPOp",
7160-
// this callbacked is called when the test
7160+
// this callback is called when the test
71617161
// is creating the resource to run the test
71627162
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
71637163
VERIFY_IS_TRUE(0 == _stricmp(Name, "STertiaryFPOp"));
@@ -7234,7 +7234,7 @@ TEST_F(ExecutionTest, UnaryHalfOpTest) {
72347234

72357235
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
72367236
pDevice, m_support, pStream, "UnaryFPOp",
7237-
// this callbacked is called when the test
7237+
// this callback is called when the test
72387238
// is creating the resource to run the test
72397239
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
72407240
VERIFY_IS_TRUE(0 == _stricmp(Name, "SUnaryFPOp"));
@@ -7314,7 +7314,7 @@ TEST_F(ExecutionTest, BinaryHalfOpTest) {
73147314

73157315
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
73167316
pDevice, m_support, pStream, "BinaryFPOp",
7317-
// this callbacked is called when the test
7317+
// this callback is called when the test
73187318
// is creating the resource to run the test
73197319
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
73207320
VERIFY_IS_TRUE(0 == _stricmp(Name, "SBinaryFPOp"));
@@ -7424,7 +7424,7 @@ TEST_F(ExecutionTest, TertiaryHalfOpTest) {
74247424

74257425
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
74267426
pDevice, m_support, pStream, "TertiaryFPOp",
7427-
// this callbacked is called when the test
7427+
// this callback is called when the test
74287428
// is creating the resource to run the test
74297429
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
74307430
VERIFY_IS_TRUE(0 == _stricmp(Name, "STertiaryFPOp"));
@@ -7494,7 +7494,7 @@ TEST_F(ExecutionTest, UnaryIntOpTest) {
74947494

74957495
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
74967496
pDevice, m_support, pStream, "UnaryIntOp",
7497-
// this callbacked is called when the test
7497+
// this callback is called when the test
74987498
// is creating the resource to run the test
74997499
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
75007500
VERIFY_IS_TRUE(0 == _stricmp(Name, "SUnaryIntOp"));
@@ -7554,7 +7554,7 @@ TEST_F(ExecutionTest, UnaryUintOpTest) {
75547554

75557555
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
75567556
pDevice, m_support, pStream, "UnaryUintOp",
7557-
// this callbacked is called when the test
7557+
// this callback is called when the test
75587558
// is creating the resource to run the test
75597559
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
75607560
VERIFY_IS_TRUE(0 == _stricmp(Name, "SUnaryUintOp"));
@@ -7619,7 +7619,7 @@ TEST_F(ExecutionTest, BinaryIntOpTest) {
76197619

76207620
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
76217621
pDevice, m_support, pStream, "BinaryIntOp",
7622-
// this callbacked is called when the test
7622+
// this callback is called when the test
76237623
// is creating the resource to run the test
76247624
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
76257625
VERIFY_IS_TRUE(0 == _stricmp(Name, "SBinaryIntOp"));
@@ -7707,7 +7707,7 @@ TEST_F(ExecutionTest, TertiaryIntOpTest) {
77077707

77087708
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
77097709
pDevice, m_support, pStream, "TertiaryIntOp",
7710-
// this callbacked is called when the test
7710+
// this callback is called when the test
77117711
// is creating the resource to run the test
77127712
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
77137713
VERIFY_IS_TRUE(0 == _stricmp(Name, "STertiaryIntOp"));
@@ -7777,7 +7777,7 @@ TEST_F(ExecutionTest, BinaryUintOpTest) {
77777777
int numExpected = Validation_Expected2->size() == 0 ? 1 : 2;
77787778
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
77797779
pDevice, m_support, pStream, "BinaryUintOp",
7780-
// this callbacked is called when the test
7780+
// this callback is called when the test
77817781
// is creating the resource to run the test
77827782
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
77837783
VERIFY_IS_TRUE(0 == _stricmp(Name, "SBinaryUintOp"));
@@ -7869,7 +7869,7 @@ TEST_F(ExecutionTest, TertiaryUintOpTest) {
78697869

78707870
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
78717871
pDevice, m_support, pStream, "TertiaryUintOp",
7872-
// this callbacked is called when the test
7872+
// this callback is called when the test
78737873
// is creating the resource to run the test
78747874
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
78757875
VERIFY_IS_TRUE(0 == _stricmp(Name, "STertiaryUintOp"));
@@ -7948,7 +7948,7 @@ TEST_F(ExecutionTest, UnaryInt16OpTest) {
79487948

79497949
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
79507950
pDevice, m_support, pStream, "UnaryIntOp",
7951-
// this callbacked is called when the test
7951+
// this callback is called when the test
79527952
// is creating the resource to run the test
79537953
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
79547954
VERIFY_IS_TRUE(0 == _stricmp(Name, "SUnaryIntOp"));
@@ -8016,7 +8016,7 @@ TEST_F(ExecutionTest, UnaryUint16OpTest) {
80168016

80178017
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
80188018
pDevice, m_support, pStream, "UnaryUintOp",
8019-
// this callbacked is called when the test
8019+
// this callback is called when the test
80208020
// is creating the resource to run the test
80218021
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
80228022
VERIFY_IS_TRUE(0 == _stricmp(Name, "SUnaryUintOp"));
@@ -8091,7 +8091,7 @@ TEST_F(ExecutionTest, BinaryInt16OpTest) {
80918091

80928092
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
80938093
pDevice, m_support, pStream, "BinaryIntOp",
8094-
// this callbacked is called when the test
8094+
// this callback is called when the test
80958095
// is creating the resource to run the test
80968096
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
80978097
VERIFY_IS_TRUE(0 == _stricmp(Name, "SBinaryIntOp"));
@@ -8187,7 +8187,7 @@ TEST_F(ExecutionTest, TertiaryInt16OpTest) {
81878187

81888188
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
81898189
pDevice, m_support, pStream, "TertiaryIntOp",
8190-
// this callbacked is called when the test
8190+
// this callback is called when the test
81918191
// is creating the resource to run the test
81928192
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
81938193
VERIFY_IS_TRUE(0 == _stricmp(Name, "STertiaryIntOp"));
@@ -8264,7 +8264,7 @@ TEST_F(ExecutionTest, BinaryUint16OpTest) {
82648264
int numExpected = Validation_Expected2->size() == 0 ? 1 : 2;
82658265
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
82668266
pDevice, m_support, pStream, "BinaryUintOp",
8267-
// this callbacked is called when the test
8267+
// this callback is called when the test
82688268
// is creating the resource to run the test
82698269
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
82708270
VERIFY_IS_TRUE(0 == _stricmp(Name, "SBinaryUintOp"));
@@ -8363,7 +8363,7 @@ TEST_F(ExecutionTest, TertiaryUint16OpTest) {
83638363

83648364
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
83658365
pDevice, m_support, pStream, "TertiaryUintOp",
8366-
// this callbacked is called when the test
8366+
// this callback is called when the test
83678367
// is creating the resource to run the test
83688368
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
83698369
VERIFY_IS_TRUE(0 == _stricmp(Name, "STertiaryUintOp"));
@@ -8948,7 +8948,7 @@ TEST_F(ExecutionTest, DotTest) {
89488948

89498949
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
89508950
pDevice, m_support, pStream, "DotOp",
8951-
// this callbacked is called when the test
8951+
// this callback is called when the test
89528952
// is creating the resource to run the test
89538953
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
89548954
VERIFY_IS_TRUE(0 == _stricmp(Name, "SDotOp"));
@@ -9240,7 +9240,7 @@ TEST_F(ExecutionTest, Msad4Test) {
92409240

92419241
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
92429242
pDevice, m_support, pStream, "Msad4",
9243-
// this callbacked is called when the test
9243+
// this callback is called when the test
92449244
// is creating the resource to run the test
92459245
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
92469246
VERIFY_IS_TRUE(0 == _stricmp(Name, "SMsad4"));
@@ -9342,7 +9342,7 @@ TEST_F(ExecutionTest, DenormBinaryFloatOpTest) {
93429342

93439343
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
93449344
pDevice, m_support, pStream, "BinaryFPOp",
9345-
// this callbacked is called when the test
9345+
// this callback is called when the test
93469346
// is creating the resource to run the test
93479347
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
93489348
VERIFY_IS_TRUE(0 == _stricmp(Name, "SBinaryFPOp"));
@@ -9455,7 +9455,7 @@ TEST_F(ExecutionTest, DenormTertiaryFloatOpTest) {
94559455

94569456
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTest(
94579457
pDevice, m_support, pStream, "TertiaryFPOp",
9458-
// this callbacked is called when the test
9458+
// this callback is called when the test
94599459
// is creating the resource to run the test
94609460
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
94619461
VERIFY_IS_TRUE(0 == _stricmp(Name, "STertiaryFPOp"));
@@ -9883,7 +9883,7 @@ void ExecutionTest::WaveIntrinsicsActivePrefixTest(
98839883
++maskIndex) {
98849884
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTestAfterParse(
98859885
pDevice, m_support, "WaveIntrinsicsOp",
9886-
// this callbacked is called when the test
9886+
// this callback is called when the test
98879887
// is creating the resource to run the test
98889888
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
98899889
VERIFY_IS_TRUE(0 == _stricmp(Name, "SWaveIntrinsicsOp"));
@@ -12609,7 +12609,7 @@ TEST_F(ExecutionTest, HelperLaneTest) {
1260912609

1261012610
std::shared_ptr<ShaderOpTestResult> test = RunShaderOpTestAfterParse(
1261112611
pDevice, m_support, "HelperLaneTestNoWave",
12612-
// this callbacked is called when the test is creating the resource to
12612+
// this callback is called when the test is creating the resource to
1261312613
// run the test
1261412614
[&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
1261512615
VERIFY_IS_TRUE(0 == _stricmp(Name, "UAVBuffer0"));

0 commit comments

Comments
 (0)