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:39:55 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1745383321=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 2360C6EA13
for ; Thu, 11 Aug 2016 22:39:55 +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
--===============1745383321==
Content-Type: multipart/alternative; boundary="14709551951.87E1ea.8019";
charset="UTF-8"
--14709551951.87E1ea.8019
Date: Thu, 11 Aug 2016 22:39:55 +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 #9 from Ilia Mirkin ---
(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 the
> texel size. It's really min(texel_size, 4).
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 buf=
fer
can be any offset.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14709551951.87E1ea.8019
Date: Thu, 11 Aug 2016 22:39:55 +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
Comment=
# 9
on bug 97305<=
/a>
from Ilia Mirkin
(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 =
the
> texel size. It's really min(texel_size, 4).
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 buf=
fer
can be any offset.
You are receiving this mail because:
- You are the assignee for the bug.
=
--14709551951.87E1ea.8019--
--===============1745383321==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1745383321==--