diff options
author | marxin <mliska@suse.cz> | 2019-01-18 22:58:42 +0100 |
---|---|---|
committer | marxin <mliska@suse.cz> | 2019-01-19 10:25:01 +0100 |
commit | d9eb6a5b206b0a2f67022b7bae32fb8e46badb95 (patch) | |
tree | a7a983337cbf6fb6e0fa64afd9141eee20481716 /doc/classes/StreamPeerBuffer.xml | |
parent | 7f9209781cea7148934a5e48c5c14167ce256cc8 (diff) |
Fix #19633 by proper store to &ubo_data.shadow_matrix[1234].
It is not valid in C++ to store into shadow_matrix1[16] with shadow_matrix1[16 * j]
(for j > 0). Even though there's a valid space in a struct after shadow_matrix1.
Knowing that GCC performs aggressive optimizations that eventually lead
to a wrong code. Code has been changed into union where one can either
use shadow_matrix[4 * 16], or individual shadow_matrix1, shadow_matrix2, etc. GCC pragma
is not needed any longer.
Diffstat (limited to 'doc/classes/StreamPeerBuffer.xml')
0 files changed, 0 insertions, 0 deletions