diff options
| author | Jean-Michaël Celerier <jean-michael.celerier@kdab.com> | 2020-03-19 17:30:47 +0100 |
|---|---|---|
| committer | Jean-Michaël Celerier <jean-michael.celerier@kdab.com> | 2020-03-23 10:59:30 +0100 |
| commit | b4b8ffb2339d5bd889e3d60c7e264e10a561ab43 (patch) | |
| tree | 3ad9f635b1a477ac6615742e2f050c9ffea4754d /src/sql/doc/snippets | |
| parent | 50c6882e9f3fcf19a15f6adf0d45b9dfd731c624 (diff) | |
rhi: gles2: fix uniform gathering after struct-type member in UBOs
Given:
struct Light { vec4 foo; };
layout(std140, binding = 2) uniform material {
Light light;
int lightCount;
};
the previous code would keep "light" appended for the prefix and look for
`light.lightCount`.
Change-Id: Ia8deacd0cb4833f45151e922fa7b5970169332eb
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/sql/doc/snippets')
0 files changed, 0 insertions, 0 deletions
