From: bugzilla-daemon@freedesktop.org
Subject: [Bug 92907] ARB_copy_image breaks recording with obs-studio
Date: Wed, 11 Nov 2015 20:57:41 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1390343445=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 061BB6EB17
for ; Wed, 11 Nov 2015 12:57:41 -0800 (PST)
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
--===============1390343445==
Content-Type: multipart/alternative; boundary="1447275460.1bFDe0.1406"; charset="UTF-8"
--1447275460.1bFDe0.1406
Date: Wed, 11 Nov 2015 20:57:40 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D92907
--- Comment #6 from Ilia Mirkin ---
(In reply to Ilia Mirkin from comment #5)
> AFAIK this is illegal [copying between GL_RGB and GL_RGBA internal format=
s],
> but I haven't double-checked the ARB_copy_image spec or a full GL spec
> release (where these things are often updated).
Looks like the GL spec was slightly updated a bit on top of what
GL_ARB_copy_image says. This is the text from GL 4.5, Section 18.3.3 (Copyi=
ng
Between Images):
For the purposes of CopyImageSubData, two internal formats are considered
compatible if any of the following conditions are met:
=E2=80=A2 the formats are the same. If the formats are the same but are
a base internal format, the the implementation=E2=80=99s effective inte=
rnal
format (see the end of section 8.5) for each image must be the same.
=E2=80=A2 the formats are considered compatible according to the compatib=
ility
rules used for texture views as defined in section 8.18. In particular,
if both internal formats are listed in the same entry of table 8.30,
they are considered compatible
=E2=80=A2 one format is compressed and the other is uncompressed and tabl=
e 18.5
lists the two formats in the same row.
The compressed bullet doesn't apply, and texture views are only defined for
sized formats. Looks like on top of what the ARB_copy_image spec says, we're
free to deny copying based on arbitrary rules if a base internal format is =
used
(like GL_RGBA/GL_RGB). But only if the two are the same... if they're not (=
as
is the case in the trace you gave), that's always illegal.
So... I'm gonna go with obs-studio bug.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1447275460.1bFDe0.1406
Date: Wed, 11 Nov 2015 20:57:40 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Comment=
# 6
on bug 92907<=
/a>
from Ilia Mirkin
(In reply to Ilia Mirkin from comment #5)
> AFAIK this is illegal [copying between GL_RGB an=
d GL_RGBA internal formats],
> but I haven't double-checked the ARB_copy_image spec or a full GL spec
> release (where these things are often updated).
Looks like the GL spec was slightly updated a bit on top of what
GL_ARB_copy_image says. This is the text from GL 4.5, Section 18.3.3 (Copyi=
ng
Between Images):
For the purposes of CopyImageSubData, two internal formats are considered
compatible if any of the following conditions are met:
=E2=80=A2 the formats are the same. If the formats are the same but are
a base internal format, the the implementation=E2=80=99s effective inte=
rnal
format (see the end of section 8.5) for each image must be the same.
=E2=80=A2 the formats are considered compatible according to the compatib=
ility
rules used for texture views as defined in section 8.18. In particular,
if both internal formats are listed in the same entry of table 8.30,
they are considered compatible
=E2=80=A2 one format is compressed and the other is uncompressed and tabl=
e 18.5
lists the two formats in the same row.
The compressed bullet doesn't apply, and texture views are only defined for
sized formats. Looks like on top of what the ARB_copy_image spec says, we're
free to deny copying based on arbitrary rules if a base internal format is =
used
(like GL_RGBA/GL_RGB). But only if the two are the same... if they're not (=
as
is the case in the trace you gave), that's always illegal.
So... I'm gonna go with obs-studio bug.
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1447275460.1bFDe0.1406--
--===============1390343445==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0
cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
--===============1390343445==--