EffectComposer: Fix generated code for mipmap effects

Mipmap effects need layer.smooth and layer.mipmap to work correctly.

Fixes: QDS-11793
Change-Id: I8f04ca9f144f51d0032d995c2bafdcb0c95ad73d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Miikka Heikkinen
2024-01-30 14:49:29 +02:00
parent 3ec2cd1f0b
commit e617fc96db
3 changed files with 20 additions and 1 deletions

View File

@@ -19,7 +19,8 @@ public:
Mouse = 1 << 4,
FragCoord = 1 << 5,
GridMesh = 1 << 6,
BlurSources = 1 << 7
BlurSources = 1 << 7,
Mipmap = 1 << 8
};
Q_DECLARE_FLAGS(Features, Feature)