Inspecting the application with RenderDoc shows that the uniform name has been mangled into _textureSize, or so it seams at least.
Possible due to a conflict with the glsl function `textureSize`.
Text is displayed correctly when using the Vulkan backend, other backends haven't been tested.
See attached images illustrating the rendering issue and the missing uniform values.
| For Gerrit Dashboard: QTBUG-124708 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 563528,1 | Rename QText2DMaterial uniform | 6.7 | qt/qt3d | Status: NEW | +2 | 0 |
| 557216,2 | Rename QText2DMaterial uniform | dev | qt/qt3d | Status: MERGED | +2 | 0 |
| 632523,3 | QText2DMaterial: fix GL shaders following uniform renames | dev | qt/qt3d | Status: MERGED | +2 | 0 |
| 632547,2 | QText2DMaterial: fix GL shaders following uniform renames | 6.9 | qt/qt3d | Status: MERGED | +2 | 0 |
| 632702,2 | QText2DMaterial: fix GL shaders following uniform renames | 6.8 | qt/qt3d | Status: MERGED | +2 | 0 |
| 632767,1 | QText2DMaterial: fix GL shaders following uniform renames | 6.8.3 | qt/qt3d | Status: ABANDONED | +2 | 0 |