Skip to content

Commit

Permalink
update Dr.Jit-Core repository
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Dec 29, 2022
1 parent 79be010 commit d55d395
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ext/drjit-core
8 changes: 4 additions & 4 deletions include/drjit/texture.h
Original file line number Diff line number Diff line change
Expand Up @@ -477,10 +477,10 @@ template <typename Value, size_t Dimension> class Texture {
out_idx);

for (size_t ch = 0; ch < channels; ++ch) {
out[2][ch] = Value::steal(out_idx[ch]);
out[3][ch] = Value::steal(out_idx[channels + ch]);
out[1][ch] = Value::steal(out_idx[2 * channels + ch]);
out[0][ch] = Value::steal(out_idx[3 * channels + ch]);
out[2][ch] = Value::steal(out_idx[ch*4 + 0]);
out[3][ch] = Value::steal(out_idx[ch*4 + 1]);
out[1][ch] = Value::steal(out_idx[ch*4 + 2]);
out[0][ch] = Value::steal(out_idx[ch*4 + 3]);
}
} else if constexpr (Dimension == 3) {
const PosF res_f = PosF(m_shape_opaque);
Expand Down

0 comments on commit d55d395

Please sign in to comment.