From dfbe3cfcdb308cdb0f89cb2844fb3aba96cfcaec Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Thu, 18 Jun 2020 14:17:57 -0400 Subject: Fix and improvements around repro (#1397) * * Fix output in slang repro command line * Profile uses lowerCamel method names (had mix of upper and lower) * Rename slang-serialize-state/SerializeStateUtil to slang-repro and ReproUtil. --- source/slang/slang-type-layout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/slang-type-layout.cpp') diff --git a/source/slang/slang-type-layout.cpp b/source/slang/slang-type-layout.cpp index 3b30e6ee0..d6138f2af 100644 --- a/source/slang/slang-type-layout.cpp +++ b/source/slang/slang-type-layout.cpp @@ -1487,7 +1487,7 @@ static bool isSM5OrEarlier(TargetRequest* targetReq) if(profile.getFamily() == ProfileFamily::DX) { - if(profile.GetVersion() <= ProfileVersion::DX_5_0) + if(profile.getVersion() <= ProfileVersion::DX_5_0) return true; } @@ -1503,7 +1503,7 @@ static bool isSM5_1OrLater(TargetRequest* targetReq) if(profile.getFamily() == ProfileFamily::DX) { - if(profile.GetVersion() >= ProfileVersion::DX_5_1) + if(profile.getVersion() >= ProfileVersion::DX_5_1) return true; } -- cgit v1.2.3