New: r300g incorrectly claims npot support
https://bugs.freedesktop.org/show_bug.cgi?id=27570
Summary: r300g incorrectly claims npot support
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=34853)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34853)
the test program (compile with -std=c99)
The r300g driver on rv515 claims GL_ARB_texture_non_power_of_two support. Suprisingly, such textures actually work if texture coordinates are (0,0), (1,0), (1,1), (0,1). However if that's not the case, garbage is rendered. This bug makes Blender 2.50 ui unusable.
Attached are: test program, correct rendering (obtained by LIBGL_ALWAYS_SOFTWARE=1) and r300g's rendering (the garbage pattern varies, sometimes just white/black, sometimes all pixels are random).
driver is from git version, commit edb5253dfa0...
hardware is radeon x1300 (rv515)
kernel is vanilla 2.6.33.
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 27570] r300g incorrectly claims npot support
https://bugs.freedesktop.org/show_bug.cgi?id=27570
--- Comment #1 from Wiktor Janas <[email protected]> 2010-04-09 13:48:05 PDT --- Created an attachment (id=34854)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34854)
the correct rendering
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 27570] r300g incorrectly claims npot support
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27570
--- Comment #2 from Wiktor Janas <[email protected]> 2010-04-09 13:48:27 PDT --- Created an attachment (id=34855)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34855)
the r300g's rendering
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 27570] r300g incorrectly claims npot support
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27570
--- Comment #3 from Marek Olšák <[email protected]> 2010-04-09 14:16:25 PDT --- The NPOT textures are mandatory in GL2 and if the driver doesn't claim their support, Mesa will report OpenGL 1.5 only, pretty much killing the main selling point of r300g.
I plan to implement a fallback soon.
Signature · 14 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 27570] r300g incorrectly claims npot support
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27570
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #4 from Marek Olšák <[email protected]> 2010-05-08 07:50:19 PDT --- Partial support for NPOT textures has been implemented in fragment shaders and your attached test program works now. Closing...
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel