Looks good, pushed. Keith ________________________________________ From: Christoph Bumiller [e0425...@student.tuwien.ac.at] Sent: Monday, December 21, 2009 9:50 AM To: mesa3d-...@lists.sf.net Subject: [Mesa3d-dev] gallium/util: generate cube mipmaps with TEX CUBE
The TEX instruction in the fragment shader for drawing mipmaps is always a TEX2D. This doesn't work at least on nv50, the 3rd coordinate is ignored (not even set for interpolation, although we could do that, but really if the shader says 2D, I don't want to have to consider that someone might plug a cube in there and expect it to work) and the texture is clamped to the first face. Something like the attached patch would fix it, make demos/cube look correct. Christoph ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev