Skip to content

Commit 774c370

Browse files
committed
fix formatting
1 parent 949a0d7 commit 774c370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/DiligentCoreTest/src/ShaderTools/SPIRVShaderResourcesTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void TestSPIRVResources(const char*
180180
SHADER_COMPILER Compiler,
181181
SHADER_TYPE ShaderType = SHADER_TYPE_PIXEL,
182182
SHADER_SOURCE_LANGUAGE SourceLanguage = SHADER_SOURCE_LANGUAGE_HLSL,
183-
const std::function<void(std::vector<unsigned int> &SPIRV)> &PatchSPIRVCallback = nullptr)
183+
const std::function<void(std::vector<unsigned int>& SPIRV)>& PatchSPIRVCallback = nullptr)
184184
{
185185
if (Compiler == SHADER_COMPILER_DXC)
186186
{
@@ -279,9 +279,9 @@ void TestConvertUBOToPushConstant(SHADER_COMPILER Compiler)
279279
Compiler,
280280
SHADER_TYPE_PIXEL,
281281
SHADER_SOURCE_LANGUAGE_HLSL,
282-
[](std::vector<unsigned int> &SPIRV) {
282+
[](std::vector<unsigned int>& SPIRV) {
283283
SPIRV = ConvertUBOToPushConstants(SPIRV, "CB1");
284-
});
284+
});
285285
}
286286

287287
TEST_F(SPIRVShaderResourcesTest, ConvertUBOToPushConstant)

0 commit comments

Comments
 (0)