Page MenuHome

Cleanup: Various Cycles code
ClosedPublic

Authored by Thomas Dinges (dingto) on Dec 10 2022, 5:19 PM.

Details

Summary
  • preempt_attr was copied from CUDA, but not used in HIP.
  • Remove shadowed variable before conditional.

Diff Detail

Repository
rB Blender

Event Timeline

Thomas Dinges (dingto) requested review of this revision.Dec 10 2022, 5:19 PM
Thomas Dinges (dingto) created this revision.
Brecht Van Lommel (brecht) requested changes to this revision.Dec 12 2022, 5:18 PM
Brecht Van Lommel (brecht) added inline comments.
intern/cycles/scene/image.cpp
362 ↗(On Diff #58481)

This is not redundant, it's a double checked lock.

This revision now requires changes to proceed.Dec 12 2022, 5:18 PM
Thomas Dinges (dingto) marked an inline comment as done.
Thomas Dinges (dingto) edited the summary of this revision. (Show Details)

Revert changes in image.cpp.

This revision is now accepted and ready to land.Dec 12 2022, 5:22 PM
This revision was automatically updated to reflect the committed changes.