| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let's verify that reflecting a shader with an array of struct in
a uniform block leads to the expected QShaderDescription.
This is particularly useful against regressions, while also being
a real life use case (lights in Quick 3D for instance).
Also check the native resource binding map (generated for Metal SL
only at the moment).
Finally, have something for combined image samplers, the most common
case with sampler2D.
Change-Id: I9bea94ef9834e071384df423675623bcebe0cd44
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
|
|
|
|
|
|
|
| |
Not used in graphics but are essential for compute.
Change-Id: I4d3a0dfd926ee02b824494ee438f3a69fc96c0d4
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: I4ebde6e68fe8c8fe0105981f9bea6f01aba96c60
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Allow inserting a user provided string. glslang takes care of
heavy lifting. For qsb this means compile time #define statements
can now be generated by passing -DSOMETHING and -DSOMETHING=123 on
the command line.
Change-Id: Iddf276c3fa91e21780530aa2f54719325f404ba6
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
...from https://git.qt.io/laagocs/qtshadertools/
Change-Id: I3aa655da81978e13016f8150634e278448015709
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|