Skip to content

Commit 062c184

Browse files
author
Greg Roth
authored
ComputeSampleTest: reset test between runs (#3566)
Merging #3561 into release-1.6.2104 (cherry picked from commit 5f76047)
1 parent 917ab09 commit 062c184

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/clang/unittests/HLSL/ExecutionTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3424,6 +3424,7 @@ TEST_F(ExecutionTest, ComputeSampleTest) {
34243424
// Test 2D compute shader
34253425
pShaderOp->CS = CS2;
34263426

3427+
test.reset();
34273428
test = RunShaderOpTestAfterParse(pDevice, m_support, "ComputeSample", SampleInitFn, ShaderOpSet);
34283429

34293430
test->Test->GetReadBackData("U0", &data);

0 commit comments

Comments
 (0)