From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 97305] Wrong values returned by
GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT & GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT
randomly breaks stuff
Date: Thu, 11 Aug 2016 22:42:41 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0709387822=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id C3A206EA13
for ; Thu, 11 Aug 2016 22:42:40 +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
--===============0709387822==
Content-Type: multipart/alternative; boundary="14709553601.9D19d.8343";
charset="UTF-8"
--14709553601.9D19d.8343
Date: Thu, 11 Aug 2016 22:42:40 +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=3D97305
--- Comment #10 from Marek Ol=C5=A1=C3=A1k ---
(In reply to Ilia Mirkin from comment #9)
> (In reply to Marek Ol=C5=A1=C3=A1k from comment #5)
> > Pre-GCN cards require an alignment of 256 bytes for uniform buffers. GCN
> > cards only require 4 byte alignment there.
> >=20
> > All other buffer binding points require 1, 2, or 4 bytes depending on t=
he
> > texel size. It's really min(texel_size, 4).
>=20
> That means that you have to return max(texel_size) for the
> GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT. You only get one cap, and a texture
> buffer can be any offset.
That's what we already do.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14709553601.9D19d.8343
Date: Thu, 11 Aug 2016 22:42:40 +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
Commen=
t # 10
on bug 97305<=
/a>
from Marek Ol=C5=A1=C3=A1k
(In reply to Ilia Mirkin from comment #9)
> (In reply to Marek Ol=C5=A1=C3=A1k from comment #5)
> > Pre-GCN cards require an alignment of 256 bytes for uniform buffe=
rs. GCN
> > cards only require 4 byte alignment there.
> >=20
> > All other buffer binding points require 1, 2, or 4 bytes dependin=
g on the
> > texel size. It's really min(texel_size, 4).
>=20
> That means that you have to return max(texel_size) for the
> GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT. You only get one cap, and a texture
> buffer can be any offset.
That's what we already do.
You are receiving this mail because:
- You are the assignee for the bug.
=
--14709553601.9D19d.8343--
--===============0709387822==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0709387822==--