diff options
author | Ben Fletcher <ben.fletcher@me.com> | 2023-02-09 22:16:04 -0800 |
---|---|---|
committer | Ben Fletcher <ben.fletcher@me.com> | 2023-02-14 08:48:09 -0800 |
commit | d21e9a432661b161d94cd4ee90804a4a9b122fe0 (patch) | |
tree | 740d702947321a2d5d82b401c4d5711b6942acc3 /tests/auto/gui/rhi/qrhi | |
parent | 870a3011edabd229840b45981afba7647ff05e87 (diff) |
rhi: Allow Metal shaders written in MSL versions greater than 2.0
The current rhi implementation only supports shaders written in MSL 1.2
or 2.0. The QtShaderTools/qsb tooling supports generation of shaders in
newer MSL versions. This patch determines the platform's supported MSL
versions at runtime, then selects the MSL shader with the highest
supported version number from the available baked shaders.
Change-Id: I5e3c0429179d1a5532a81df9ccbfe4db8c99c77a
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/gui/rhi/qrhi')
0 files changed, 0 insertions, 0 deletions