Patrice Mandin wrote: > Le Mon, 27 Jul 2009 15:55:26 -0600 > Brian Paul <[email protected]> a écrit: > >>> Yep, just checked that. There must be another cause why I do not have >>> any text rendered in progs/samples/blendeq with nouveau backend. >> Have you implemented the TGSI_OPCODE_KIL instruction? That's critical >> to the glBitmap shader. > > Seems implemented for nv30 backend, maybe there is something else.
Which texture format is being used for the bitmap? In st_init_bitmap() we try PIPE_FORMAT_I8_UNORM, A8_UNORM and L8_UNORM. Maybe try forcing a different format, or check that whichever format is being chosen there is actually working properly in the driver. > Regarding the patch, I would like to move logbase2() from > st_cb_texture.c to st_cb_texture.h to use it in st_cb_drawpixels.c, and > also define a logbase2next() there to get the upper POT size. > > If it's OK, I'll commit all this in the weekend. We should probably move logbase2() into src/gallium/auxiliary/util/u_math.h (and prefix with "util_"). -Brian ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
