mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-21 22:16:38 +00:00
Fix unit test for new built-in compile flag
This commit is contained in:
@@ -722,7 +722,7 @@ void main() {
|
||||
{
|
||||
CHECK(refl.debugInfo.files[0].filename == "source0.glsl");
|
||||
|
||||
REQUIRE(refl.debugInfo.compileFlags.flags.size() == 1);
|
||||
REQUIRE(refl.debugInfo.compileFlags.flags.size() == 2);
|
||||
|
||||
CHECK(refl.debugInfo.compileFlags.flags[0].name == "@cmdline");
|
||||
|
||||
@@ -732,6 +732,9 @@ void main() {
|
||||
else
|
||||
CHECK(refl.debugInfo.compileFlags.flags[0].value ==
|
||||
" --client vulkan100 --target-env vulkan1.0 --entry-point main");
|
||||
|
||||
CHECK(refl.debugInfo.compileFlags.flags[1].name == "@spirver");
|
||||
CHECK(refl.debugInfo.compileFlags.flags[1].value == "spirv1.0");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user