diff options
| author | Laszlo Agocs <laszlo.agocs@qt.io> | 2021-01-04 16:58:38 +0100 |
|---|---|---|
| committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2021-01-06 16:18:20 +0100 |
| commit | f0d1a50333f3945369077a48ba7f2bdf228276cc (patch) | |
| tree | 734e66599deb3b384903a03136c8fe4e03a09cb6 /src/openglwidgets/qopenglwidget.cpp | |
| parent | 5f8efb259774040303f37d00b6307afd22857af2 (diff) | |
| download | qtbase-f0d1a50333f3945369077a48ba7f2bdf228276cc.tar.gz | |
rhi: vk: Prevent WAW hazard reported from sync validation with offscreen rt
...when a QVkRenderBuffer is used as depth-stencil (i.e. a "throwaway"
depth-stencil buffer that is a lazily allocated / transient VkImage
under the hood). Such a resource is not tracked by the
QRhiPassResourceTracker, so do an explicit barrier in beginPass
instead of having it generated by the tracker.
Fixes: QTBUG-89764
Change-Id: Ice794f44342175f712ea56f450270cbb8929f516
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/openglwidgets/qopenglwidget.cpp')
0 files changed, 0 insertions, 0 deletions
