Hi,

I have a few questions about the R300 driver. I'm just wondering about a couple
of things including the OPTIMIZE_ELTS code (r300_render.c) and
R300_VAP_INPUT_ROUTE_0_0 and R300_VAP_INPUT_ROUTE_1_0.

I cleaned up the OPTIMIZE_ELTS code to reduce duplication, and I verified that
both the optimized and non-optimized code works with Quake 3 Arena, however, I'm
not exactly sure how this optimization works or what it's purpose is?

The other question is regarding R300_VAP_INPUT_ROUTE_0_0 and
R300_VAP_INPUT_ROUTE_1_0. The values for these registers are constructed in
r300_emit.c with the functions t_vir0 and t_vir1, respectively, but I haven't
figured these functions out yet. Lots of bitwise operations. I can go through
this and figure it out, but if someone else already knows and can explain it
that would certainly be helpful. :)

I need to understand and extend these functions because
r300_ioctl.c:r300EmitClearState writes hard-coded values to these registers, and
this should be replaced with calls to (extended) t_vir0 and t_vir1. These
probably need to be renamed, too.

Thank you.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to