diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-12-09 11:19:16 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-12-10 09:45:36 +0000 |
commit | 3c255045eed12bdc887d05c9ab645d5d347d2f49 (patch) | |
tree | f4d05c3fdfa853a6238455ba58fdf7dbdef54776 /src/shadertools/qspirvshaderremap_p.h | |
parent | b0ffe15c308ae4991d772c445d8d66f0c5c4cebb (diff) |
Use the magic fallback name when structName is empty
This will enable Qt Quick 3D to function correctly with
the GL backend of QRhi. What's special with Quick3D is that
the shaders rely on uniform blocks without instance names (so that
member accesses do not need to be qualified, allowing the bulk
of the shader code to stay compatible with the direct OpenGL rendering
path where plain uniforms are used)
Fixes: QTBUG-80585
Change-Id: Id7c9c30d392c593bad29299eaa92bea016a5bbdb
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/shadertools/qspirvshaderremap_p.h')
0 files changed, 0 insertions, 0 deletions