Skip to content

Commit bb336c9

Browse files
committed
self-review: misc
- update static sampler offset now that it is computed correctly - update test comment
1 parent 2792bd0 commit bb336c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/tools/llvm-objcopy/DXContainer/extract-section-basic.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Parts:
277277
NumRootParameters: 0
278278
RootParametersOffset: 24
279279
NumStaticSamplers: 0
280-
StaticSamplersOffset: 0
280+
StaticSamplersOffset: 24
281281
Parameters: []
282282
- Name: PSV0
283283
Size: 76

llvm/test/tools/llvm-objcopy/DXContainer/extract-section-errs.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Check that llvm-objcopy reports a suitable error when it
22
## can't find the section to extract
33

4-
## We can't have multiple DXIL parts.
4+
## We can't extract a part that doesn't exist
55
# RUN: yaml2obj %s --docnum=1 -o %t1
66
# RUN: not llvm-objcopy %t1 --extract-section=UNKNOWN=%t.unknown.out 2>&1 | FileCheck %s -DFILE=%t1 --check-prefix=ERROR1
77

0 commit comments

Comments
 (0)