2#include <Gfx/Graph/RenderState.hpp>
4#include <score_plugin_gfx_export.h>
6#include <private/qrhi_p.h>
34 uint32_t element_bytes{};
35 uint32_t src_offset_bytes{};
36 uint32_t src_stride_bytes{};
37 uint32_t dst_offset_bytes{};
38 uint32_t dst_stride_bytes{};
43 QRhiShaderResourceBindings* srb{};
44 QRhiBuffer* paramsUBO{};
53 static bool eligible(
const Params& p)
noexcept;
61 void updateParams(QRhiResourceUpdateBatch& res,
PreparedOp& op,
const Params& p);
64 static constexpr int LocalSize = 256;
71 Dims dims(uint64_t invocations)
const noexcept;
73 QRhiComputePipeline* m_pipeline{};
75 int m_maxWorkgroupsPerDim{65535};
Copies count elements between two GPU buffers with different strides, in one compute dispatch.
Definition GPUStridedCopy.hpp:27
Graphics rendering pipeline for ossia score.
Definition Filter/PreviewWidget.hpp:11
Definition GPUStridedCopy.hpp:30
Definition GPUStridedCopy.hpp:42
Global state associated to a rendering context.
Definition RenderState.hpp:40