|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
protected |
Stage raw input bytes of one element type for the next dispatch.
The staging belongs to the next dispatch only: prepare_gpu_inputs consumes it, whether that dispatch succeeds or throws. It is uploaded raw, without conversion, to every INPUT FLOAT32 binding when element is FLOAT32, or every INPUT UINT32 binding when element is UINT32. Such a binding must have no binding data of its own. When native input is staged, it takes the place of channel input, and its element count sets the dispatch size.
| format | Element format of data, a Kakshya::GpuDataFormat. |
| data | Raw bytes in that format. |
| byte_size | Total byte count, a multiple of gpu_data_format_bytes(format). |
Definition at line 97 of file GpuDispatchCore.cpp.
References m_native_format, and m_native_staging_bytes.