diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-03-02 17:23:28 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-03-03 18:25:57 +0100 |
commit | 4cff6e102dc65693d4f535079c72b0f8a63e8ebf (patch) | |
tree | 5814844db534fdc8fe14bd23c42878c9e44b6ec4 /tests/auto/gui/rhi/qshader/tst_qshader.cpp | |
parent | bd2b77120e1db8cb991aff23dd1f99cec792fa8e (diff) |
rhi: Include an arrayDims vector in InOutVariable too
We use the this struct to describe combined image samplers and storage
images as well. Especially with the former, it is not unlikely that we
will need arrays, so e.g. layout(binding = 1) uniform samplerCube
shadowCubes[8]. In this case the '8' is something that must be reported in
to the reflection information.
The new arrayDims member is expected to work exactly like the similarly
named member in BlockVariable.
Task-number: QTBUG-82624
Change-Id: I1fb8b0318906ff4c116c1a7ec23a399c6545c730
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'tests/auto/gui/rhi/qshader/tst_qshader.cpp')
0 files changed, 0 insertions, 0 deletions