[Nouveau] [Bug 73459] nv10 get_rt_format: Assertion `0' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 9 22:57:48 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73459

--- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140110/6fd39d7f/attachment.html>


More information about the Nouveau mailing list