fix: reduce shader usage
This commit is contained in:
@@ -43,6 +43,9 @@ class BlobMaterial : public QSGMaterial {
|
||||
// puts these after rectData.
|
||||
float m_shadowRadius = 0.0f;
|
||||
float m_shadowColor[4] = {0.0f, 0.0f, 0.0f, 0.5f};
|
||||
// Outer-edge corner radii (tr, br, bl, tl). Matches the uniform block, which
|
||||
// puts this after shadowColor.
|
||||
float m_invertedOuterRadii[4] = {};
|
||||
BlobRectData m_rects[16] = {};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user