QShaderDescription: storage buffer qualifiers / run time array stride


Add backend to extract storage buffer memory qualifiers and run time
array stride from SPIRV-Cross.

Memory qualifiers allow more informed selection of RHI resource buffer
binding (bufferLoad / bufferStore / bufferLoadStore) function.

Run time array stride (for last block member unsized array) allows
packing of buffer data for transfer to / from GPU. Without this
information, applications must infer or guess which packing rules
(std430 / std140) are in use.

Requires related patch to qtbase.

Pick-to: 6.5
Change-Id: I9231fcefde98bda095618e1b5261a7822a3d478b
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commitc34ce1c0e7faf63e107fe06910c0521a46e6dfe7
parent37ca42705d36c19def53d070433443c59d62bcea
authorBen Fletcher <ben.fletcher@me.com>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeThu, 15 Dec 2022 14:27:58 +0000