summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb
diff options
context:
space:
mode:
authorBen Fletcher <ben.fletcher@me.com>2022-12-06 19:52:59 -0800
committerBen Fletcher <ben.fletcher@me.com>2022-12-11 11:05:24 -0800
commit0943b5d65d1a5699fb2085f4d92c9112fb08871d (patch)
tree35fd67535171a6683809149a541b3718b7d0e4b3 /src/plugins/platforms/xcb
parent2fe3b0e5640df34d5512e06ecbc5739c2d4df21e (diff)
RHI: QShaderDescription storage buffer qualifiers / run time stride
Add storage buffer memory qualifier and run time array stride information to QShaderDescription::StorageBlock. 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. Change-Id: I676d7e848afefd40d01cdd463c569b07022b683e Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb')
0 files changed, 0 insertions, 0 deletions