From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106601] The internal format RGB32F should be color-renderable
for texture, But mesa can not support it
Date: Thu, 24 May 2018 06:08:12 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1062369231=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 0B1416E5E9
for ; Thu, 24 May 2018 06:08:12 +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
--===============1062369231==
Content-Type: multipart/alternative; boundary="15271420914.C31FbC.22956"
Content-Transfer-Encoding: 7bit
--15271420914.C31FbC.22956
Date: Thu, 24 May 2018 06:08:11 +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=3D106601
--- Comment #12 from Yunchao He ---
(In reply to Ilia Mirkin from comment #9)
> "Color-renderable" means "is it legal to use this format". It does NOT me=
an
> "the driver allows rendering to this format".
I am not a driver expert. But my understanding is that color-renderable mea=
ns
that we can render into this format as a color buffer. If color-renderable
means "is it legal to use this format", then I can't explain these two
questions as follows:=20
1. why we need to list that format which is illegal to use at all in spec? I
suppose there are many formats for graphics/video. Enumerating formats that=
are
not useful for texture (or renderbuffer) seems to be weird.=20
2. If color-renderable(or renderable) means that "is it legal to use this
format" for a texture. Then that format is not allow to sample from. If so,=
how
to distinguish these two kinds of formats: 1) some formats can be supported=
by
a texture to sample only, they can't be used to render into as a render ta=
rget
via fbo, 2) some other formats can be supported by a texture to sample, and
render into as well.
The statement that "Color-renderable means is it legal to use this format. =
It
does NOT mean the driver allows rendering to this format" is correct for a
renderbuffer, but I think it is incorrect for a texture. Because a renderbu=
ffer
is only used to render into, they can't be used to sample from. But this is=
sue
is talking about texture, NOT renderbuffer. Maybe for the underlying
implementation, both texture and renderbuffer are mapped into the same GPU
memory (or even CPU memory), but from the perspective of users, texture and
renderbuffer are quite different.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15271420914.C31FbC.22956
Date: Thu, 24 May 2018 06:08:11 +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
Comme=
nt # 12
on bug 10660=
1
from Yunchao He
(In reply to Ilia Mirkin from comment #9)
> "Color-renderable" means "is it l=
egal to use this format". It does NOT mean
> "the driver allows rendering to this format".
I am not a driver expert. But my understanding is that color-renderable mea=
ns
that we can render into this format as a color buffer. If color-renderable
means "is it legal to use this format", then I can't explain thes=
e two
questions as follows:=20
1. why we need to list that format which is illegal to use at all in spec? I
suppose there are many formats for graphics/video. Enumerating formats that=
are
not useful for texture (or renderbuffer) seems to be weird.=20
2. If color-renderable(or renderable) means that "is it legal to use t=
his
format" for a texture. Then that format is not allow to sample from. I=
f so, how
to distinguish these two kinds of formats: 1) some formats can be supported=
by
a texture to sample only, they can't be used to render into as a render ta=
rget
via fbo, 2) some other formats can be supported by a texture to sample, and
render into as well.
The statement that "Color-renderable means is it legal to use this for=
mat. It
does NOT mean the driver allows rendering to this format" is correct f=
or a
renderbuffer, but I think it is incorrect for a texture. Because a renderbu=
ffer
is only used to render into, they can't be used to sample from. But this is=
sue
is talking about texture, NOT renderbuffer. Maybe for the underlying
implementation, both texture and renderbuffer are mapped into the same GPU
memory (or even CPU memory), but from the perspective of users, texture and
renderbuffer are quite different.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15271420914.C31FbC.22956--
--===============1062369231==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1062369231==--