Skip to content

Commit 9a5741c

Browse files
bognerhekota
andauthored
Update llvm/include/llvm/Analysis/DXILResource.h
Co-authored-by: Helena Kotas <[email protected]>
1 parent c1922d2 commit 9a5741c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Analysis/DXILResource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class LayoutExtType : public TargetExtType {
207207

208208
Type *getWrappedType() const { return getTypeParameter(0); }
209209
uint32_t getSize() const { return getIntParameter(0); }
210-
uint32_t getIndexOfElement(int I) const { return getIntParameter(I + 1); }
210+
uint32_t getOffsetOfElement(int I) const { return getIntParameter(I + 1); }
211211

212212
static bool classof(const TargetExtType *T) {
213213
return T->getName() == "dx.Layout";

0 commit comments

Comments
 (0)