forked from blender/blender
Fixed rendering for MacOS #82
No reviewers
Labels
No Label
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#82
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-473"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Crash on MacOS. Fix of #70
Technical steps
RenderTaskDelegate
is created instead ofGPURenderTaskDelegate
.skydome_task
for MacOS.Notes
Need to fix Skydome.
Can you add code comments explaining why? Is this due to (reported?) bugs in USD?
Comments in code.
@ -128,3 +129,3 @@
}
void RenderTaskDelegate::read_aov(pxr::TfToken const &aov_key, void *data)
void RenderTaskDelegate::read_aov(pxr::TfToken const &aov_key, float *data)
Revert
float
->void
@ -142,0 +143,4 @@
memcpy(data, buf_data, len * sizeof(float));
buffer->Unmap();
}
else if (pxr::HdGetComponentFormat(format) == pxr::HdFormatFloat16) {
Add
else
@ -229,3 +240,3 @@
}
void GPURenderTaskDelegate::read_aov(pxr::TfToken const &aov_key, void *data)
void GPURenderTaskDelegate::read_aov(pxr::TfToken const &aov_key, float *data)
Revert
float
->void