Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanomil committed Aug 11, 2020
1 parent 457326d commit 0bd4177
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/fuzz/transformation_flatten_conditional_branch_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,12 +411,12 @@ TEST(TransformationFlattenConditionalBranchTest, LoadStoreFunctionCall) {
.IsApplicable(context.get(), transformation_context));

// Not all fresh ids given are distinct.
ASSERT_FALSE(
TransformationFlattenConditionalBranch(
31,
{{MakeInstructionDescriptor(6, SpvOpLoad, 0), {100, 101, 102, 103}}},
{103, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115})
.IsApplicable(context.get(), transformation_context));
ASSERT_FALSE(TransformationFlattenConditionalBranch(
31,
{{MakeInstructionDescriptor(6, SpvOpLoad, 0),
{100, 101, 102, 103, 104}}},
{103, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115})
.IsApplicable(context.get(), transformation_context));

// %48 heads a construct where an OpSampledImage instruction is separated from
// its use by an OpLoad instruction, so the block cannot be split around the
Expand Down

0 comments on commit 0bd4177

Please sign in to comment.