forked from OSchip/llvm-project
NFC. Fixing rebase error
Somehow managed to get a double-assignment in there. Thanks @erichkeane for pointing it out!
This commit is contained in:
parent
f311f934e1
commit
7a94a032f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue