Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.0
-
None
-
84e87fd38e7cff31b88abc52d774299890545b92 (qt/qtdeclarative/dev)
Description
There are two ways of preventing copying with atlased textures:
The first is to set supportsAtlasTextures to true, which is supported by the RHI implementation.
The second is to add a qt_SubRect_foo uniform to the vertex shader. This does not work with RHI, because QSGRhiShaderEffectMaterialShader::updateSampledImage() only checks m_geometryUsesTextureSubRect, which is only set if supportsAtlasTextures is true.
Attachments
Issue Links
- is required for
-
QTBUG-78573 Port neglected fixes and improvements from the OpenGL-specific ShaderEffect impl. to the generic
- Closed
-
QTBUG-78612 Verify and fix texture subrect in ShaderEffect when running with QRhi in Qt Quick
- Closed