NFC. Fixing rebase error

Somehow managed to get a double-assignment in there. Thanks @erichkeane
for pointing it out!
This commit is contained in:
Chris Bieneman 2022-03-29 12:57:49 -05:00
parent f311f934e1
commit 7a94a032f0
1 changed files with 2 additions and 3 deletions

View File

@ -398,9 +398,8 @@ static void InitializeStandardPredefinedMacros(const TargetInfo &TI,
Builder.defineMacro("__SHADER_STAGE_LIBRARY",
Twine((uint32_t)ShaderStage::Library));
// The current shader stage itself
uint32_t StageInteger = StageInteger =
(uint32_t)TI.getTriple().getEnvironment() -
(uint32_t)llvm::Triple::Pixel;
uint32_t StageInteger = (uint32_t)TI.getTriple().getEnvironment() -
(uint32_t)llvm::Triple::Pixel;
Builder.defineMacro("__SHADER_TARGET_STAGE", Twine(StageInteger));
// Add target versions