Skip to content

Commit

Permalink
Minor update to RSN Parser tests
Browse files Browse the repository at this point in the history
SHADER_VARIABLE_FLAG_GENERAL_INPUT_ATTACHMENT was renamed to SHADER_VARIABLE_FLAG_GENERAL_INPUT_ATTACHMENT_VK
  • Loading branch information
TheMostDiligent committed Jul 11, 2024
1 parent 3674f79 commit 93a7f1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"Name": "TestName",
"Type": "DYNAMIC",
"ShaderStages": [ "VERTEX", "PIXEL" ],
"Flags": [ "NO_DYNAMIC_BUFFERS", "GENERAL_INPUT_ATTACHMENT" ]
"Flags": [ "NO_DYNAMIC_BUFFERS", "GENERAL_INPUT_ATTACHMENT_VK" ]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 Diligent Graphics LLC
* Copyright 2019-2024 Diligent Graphics LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -77,7 +77,7 @@ TEST(Tools_RenderStateNotationParser, ParseShaderResourceVariableDesc)
DescReference.Name = "TestName";
DescReference.Type = SHADER_RESOURCE_VARIABLE_TYPE_DYNAMIC;
DescReference.ShaderStages = SHADER_TYPE_VERTEX | SHADER_TYPE_PIXEL;
DescReference.Flags = SHADER_VARIABLE_FLAG_NO_DYNAMIC_BUFFERS | SHADER_VARIABLE_FLAG_GENERAL_INPUT_ATTACHMENT;
DescReference.Flags = SHADER_VARIABLE_FLAG_NO_DYNAMIC_BUFFERS | SHADER_VARIABLE_FLAG_GENERAL_INPUT_ATTACHMENT_VK;

ShaderResourceVariableDesc Desc{};
ParseRSN(JsonReference, Desc, Allocator);
Expand Down

0 comments on commit 93a7f1c

Please sign in to comment.