- 
    
Bug
 - 
    Resolution: Done
 - 
    
P2: Important
 - 
    6.1
 - 
    None
 
- 
        
 - 
        fea1d57c2bf3cc9d14a3ee61f9c8e5273decc201 (qt/qtbase/dev) f2d0b53adbba8e67a6701063544c5584a987a756 (qt/qtbase/6.2)
 
When applying Opacity Mask effect on QML project running on Vulkan backend there is expected a crash. Detailed crashlog is missing but steps to reproduce are
- include qt5compat module in the project
 - use Qt Graphical Effects
 - apply Opacity Mask effect
 - Happens both on Vulkan and OpenGL backends with RHI
 
Actual result (OpenGL): Crash and this is written to debug log:
qt.rhi.general: Created OpenGL context QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QColorSpace(), profile QSurfaceFormat::NoProfile)qt.rhi.general: OpenGL VENDOR: Qualcomm RENDERER: Adreno (TM) 612 VERSION: OpenGL ES 3.2
Shader for Opacity Mask is taken from the qbs file provided by qt5compat module.
| For Gerrit Dashboard: QTBUG-96322 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 370698,1 | WIP: rhi: gl: Prefer CopyTexImage2D over *SubImage2D when possible | dev | qt/qtbase | Status: ABANDONED | -2 | 0 | 
| 373390,3 | rhi: gl: Do not issue memory barriers when we do not have to | dev | qt/qtbase | Status: MERGED | +2 | 0 | 
| 373721,2 | rhi: gl: Do not issue memory barriers when we do not have to | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |