QShaderBaker: Fix shader description image flags
Current implementation does not set storage image
InOutVariable::imageFlags. This patch extracts the readonly / writeonly
decorations from SPIRV-Cross and sets the appropriate imageFlags.
Includes auto test.
Change-Id: I02456e243827c7cda9a8faef8bca76b682447833
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
| commit | 2d9416e2221bdbb12689182371a0acc0fa1f8c61 |
| parent | fdf7b08f0a387398f4f29680e3b404d32eacab30 |
| author | Ben Fletcher <ben.fletcher@me.com> |
| committer | Ben Fletcher <ben.fletcher@me.com> |
| commit time | Thu, 8 Dec 2022 02:53:19 -0800 |