Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 6.0
-
Fix Version/s: None
-
Component/s: Qt RHI, Quick: SceneGraph
-
Labels:None
-
Commits: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
-