[Bug 104492] Compute Shader: Wrong alignment when assigning struct value to structured SSBO
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 8 02:45:37 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=104492
Timothy Arceri <t_arceri at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Timothy Arceri <t_arceri at yahoo.com.au> ---
Fixed by:
commit 7e025def6d7d3d6bf94facd6ec6d956f40cbb31e
Author: Florian Will <florian.will at gmail.com>
Date: Fri Jan 5 15:33:31 2018 +0100
glsl: Respect std430 layout in lower_buffer_access
Respect the std430 rules for determining offset and size of struct
members when using a std430 buffer. std140 rules lead to wrong buffer
offsets in that case.
Fixes my test case attached in Bugzilla. No piglit changes.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104492
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180108/aaa478ae/attachment.html>
More information about the dri-devel
mailing list