diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-07-01 11:18:10 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-07-31 09:04:45 +0200 |
commit | 493ce2f3d40d23682a9492e8995067f50f9edeea (patch) | |
tree | ba89a7965b8f2b28cad485d21260e1722c7ca588 /src/gui/rhi/qrhi_p_p.h | |
parent | c95542694527d66361b9882ad39db5eb06cca3fe (diff) | |
download | qtbase-493ce2f3d40d23682a9492e8995067f50f9edeea.tar.gz |
rhi: gl: Add support for compute
...and storage buffers and images.
Change-Id: If38a51322e3187088a13cf4e9b88cb40c8af8621
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p_p.h')
-rw-r--r-- | src/gui/rhi/qrhi_p_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhi_p_p.h b/src/gui/rhi/qrhi_p_p.h index 83d521f441..d87c4372ca 100644 --- a/src/gui/rhi/qrhi_p_p.h +++ b/src/gui/rhi/qrhi_p_p.h @@ -553,6 +553,9 @@ public: }; const QVector<Texture> *textures() const { return &m_textures; } + static BufferStage toPassTrackerBufferStage(QRhiShaderResourceBinding::StageFlags stages); + static TextureStage toPassTrackerTextureStage(QRhiShaderResourceBinding::StageFlags stages); + private: QVector<Buffer> m_buffers; QVector<Texture> m_textures; |