Skip to content

Commit facfe0b

Browse files
committed
Fix default fmt logic changing in latest openimageio release (#1725)
Signed-off-by: Larry Gritz <[email protected]>
1 parent 2cdd061 commit facfe0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/liboslexec/wide/wide_shadingsys.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ __OSL_MASKED_OP1(naninf_check_offset,
7373
"Detected {} value in {}{} at {}:{} (op {}) batch lane:{}",
7474
vals[i * __OSL_WIDTH + lane],
7575
d > 0 ? "the derivatives of " : "", USTR(symbolname),
76-
USTR(sourcefile), sourceline, USTR(opname), lane);
76+
USTR(sourcefile), sourceline, USTR(opname),
77+
lane.value());
7778
// continue checking all data lanes, and all components
7879
// for that matter, we want to find all issues, not just
7980
// the 1st, right?
@@ -111,7 +112,8 @@ __OSL_MASKED_OP1(naninf_check_offset, Wi)(int mask_value, int ncomps,
111112
"Detected {} value in {}{} at {}:{} (op {}) batch lane:{}",
112113
vals[i * __OSL_WIDTH + lane],
113114
d > 0 ? "the derivatives of " : "", USTR(symbolname),
114-
USTR(sourcefile), sourceline, USTR(opname), lane);
115+
USTR(sourcefile), sourceline, USTR(opname),
116+
lane.value());
115117
// continue checking all data lanes, and all components
116118
// for that matter, we want to find all issues, not just
117119
// the 1st, right?

0 commit comments

Comments
 (0)