Skip to content

Commit ca3a2e4

Browse files
committed
lgc: document a potentially surprising value overload
(cherry picked from commit 521f6d688e02d6766155a3f7dc5ae737efcf6eed)
1 parent 58c9aea commit ca3a2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lgc/interface/lgc/Pipeline.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ enum InvariantLoadsOption : unsigned { Auto = 0, EnableOptimization = 1, Disable
185185
// Struct with the information for one color export
186186
struct ColorExportInfo {
187187
unsigned hwColorTarget;
188-
unsigned location;
188+
unsigned location; // Overloaded to a bitmask for mrtz exports
189189
bool isSigned;
190190
llvm::Type *ty;
191191
};

0 commit comments

Comments
 (0)