Skip to content

Commit e8addd9

Browse files
committed
fix typo
1 parent 5317509 commit e8addd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/DiligentCoreTest/src/ShaderTools/SPIRVShaderResourcesTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ void TestSPIRVResources(const char* FilePa
191191
if (Res.Type == SPIRVShaderResourceAttribs::ResourceType::UniformBuffer ||
192192
Res.Type == SPIRVShaderResourceAttribs::ResourceType::PushConstant)
193193
{
194-
EXPECT_EQ(Res.GetInlineConstantCountOrThrow(FilePath), pRefRes->BufferStride / 4) << Res.Name;
194+
EXPECT_EQ(Res.GetInlineConstantCountOrThrow(FilePath), pRefRes->BufferStaticSize / 4) << Res.Name;
195195
}
196196
}
197197
}

0 commit comments

Comments
 (0)