P4 to Git Change 1530960 by gandryey@gera-lnx-rcf on 2018/03/22 17:07:41
SWDEV-79445 - OCL generic changes and code clean-up - Fix Linux build Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#4 edit
此提交包含在:
@@ -74,8 +74,10 @@ bool ManagedBuffer::uploadDataToHw(uint32_t size) {
|
||||
|
||||
// Check if CB has enough space for copy
|
||||
if ((wrtOffset_ + count) > size_) {
|
||||
activeBuffer_ = (++activeBuffer_) % MaxNumberOfBuffers;
|
||||
//! Make sure buffer isn't busy
|
||||
// Get the next buffer in the list
|
||||
++activeBuffer_;
|
||||
activeBuffer_ %= MaxNumberOfBuffers;
|
||||
// Make sure the buffer isn't busy
|
||||
buffers_[activeBuffer_]->wait(gpu_);
|
||||
wrtAddress_ = buffers_[activeBuffer_]->data();
|
||||
wrtOffset_ = 0;
|
||||
|
||||
新增問題並參考
封鎖使用者