Skip to content

Commit 467cdb4

Browse files
writeonly test fix
1 parent d48b79c commit 467cdb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/opt/instruction_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ TEST_F(DescriptorTypeTest, AliasedNotReadOnlyStorageBuffer) {
570570
Instruction* variable_readonly = context->get_def_use_mgr()->GetDef(3);
571571
EXPECT_FALSE(variable_readonly->IsReadOnlyPointer());
572572
Instruction* variable_writeonly = context->get_def_use_mgr()->GetDef(5);
573-
EXPECT_FALSE(variable_readonly->IsReadOnlyPointer());
573+
EXPECT_FALSE(variable_writeonly->IsReadOnlyPointer());
574574
}
575575

576576
TEST_F(DescriptorTypeTest, UniformBuffer) {

0 commit comments

Comments
 (0)