From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 73459] nv10 get_rt_format: Assertion `0' failed. Date: Fri, 10 Jan 2014 06:57:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2137607959==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============2137607959== Content-Type: multipart/alternative; boundary="1389337068.cFA551.27510"; charset="us-ascii" --1389337068.cFA551.27510 Date: Fri, 10 Jan 2014 06:57:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73459 --- Comment #1 from Ilia Mirkin --- Well, 32855 corresponds to GL_RGB5_A1. And mesa format 16 corresponds to MESA_FORMAT_ARGB1555, which isn't one of the supported render target formats. So that's all good. (So to speak.) Although it _is_ a supported texture format. But I'm guessing there should be some logic somewhere that errors that out or creates some sort of conversion thing. Or glFramebufferTexture2D should fail. Looking at the code, _mesa_FramebufferTexture2D calls framebuffer_texture, which in turn checks a few things about the params but never calls out to the driver, and then just sets the attachment. And all the completeness stuff largely ignores this stuff. I don't see how the driver is supposed to refuse... maybe it has to be done a different way. -- You are receiving this mail because: You are the assignee for the bug. --1389337068.cFA551.27510 Date: Fri, 10 Jan 2014 06:57:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 73459 from
Well, 32855 corresponds to GL_RGB5_A1. And mesa format 16 corresponds to
MESA_FORMAT_ARGB1555, which isn't one of the supported render target formats.
So that's all good. (So to speak.) Although it _is_ a supported texture format.

But I'm guessing there should be some logic somewhere that errors that out or
creates some sort of conversion thing. Or glFramebufferTexture2D should fail.

Looking at the code, _mesa_FramebufferTexture2D calls framebuffer_texture,
which in turn checks a few things about the params but never calls out to the
driver, and then just sets the attachment. And all the completeness stuff
largely ignores this stuff. I don't see how the driver is supposed to refuse...
maybe it has to be done a different way.


You are receiving this mail because:
  • You are the assignee for the bug.
--1389337068.cFA551.27510-- --===============2137607959== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============2137607959==--