From: bugzilla-daemon@freedesktop.org Subject: [Bug 104492] Compute Shader: Wrong alignment when assigning struct value to structured SSBO Date: Mon, 08 Jan 2018 02:45:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0060880699==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5552E89F2D for ; Mon, 8 Jan 2018 02:45:37 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0060880699== Content-Type: multipart/alternative; boundary="15153795370.EF4A8d.22315"; charset="UTF-8" --15153795370.EF4A8d.22315 Date: Mon, 8 Jan 2018 02:45:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104492 Timothy Arceri changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Timothy Arceri --- Fixed by: commit 7e025def6d7d3d6bf94facd6ec6d956f40cbb31e Author: Florian Will 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=3D104492 Reviewed-by: Timothy Arceri --=20 You are receiving this mail because: You are the assignee for the bug.= --15153795370.EF4A8d.22315 Date: Mon, 8 Jan 2018 02:45:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Timothy Arceri changed bug 10449= 2
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 6 on bug 10449= 2 from Timothy Arceri
Fixed by:

commit 7e025def6d7d3d6bf94facd6ec6d956f40cbb31e
Author: Florian Will <flor=
ian.will@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=3D104492
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>


You are receiving this mail because:
  • You are the assignee for the bug.
= --15153795370.EF4A8d.22315-- --===============0060880699== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0060880699==--