enable 3rd texture unit on radeon (default still 2 enabled units). Disable some multi...
authorRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 13 Oct 2005 14:30:20 +0000 (14:30 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 13 Oct 2005 14:30:20 +0000 (14:30 +0000)
commit30daa7529331057ecb470efb500152e9c4aa1ae5
tree40faf1f7190d9d06b046f4706601a5659a1ad32c
parented2f8635f006886a16da07c77bcab8094229042c
enable 3rd texture unit on radeon (default still 2 enabled units). Disable some multitexcoord codegen stuff noone understands to make it work. Replace most code testing explicitly for unit 0 and 1 with loops instead of adding test for unit 2, smaller/more readable code at the cost of maybe some slight performance hit. (Code provided by Andreas Stenglein, some adjustments by me.)
17 files changed:
src/mesa/drivers/dri/radeon/radeon_context.c
src/mesa/drivers/dri/radeon/radeon_context.h
src/mesa/drivers/dri/radeon/radeon_maos.c
src/mesa/drivers/dri/radeon/radeon_maos_arrays.c
src/mesa/drivers/dri/radeon/radeon_maos_vbtmp.h
src/mesa/drivers/dri/radeon/radeon_maos_verts.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/dri/radeon/radeon_state.c
src/mesa/drivers/dri/radeon/radeon_state_init.c
src/mesa/drivers/dri/radeon/radeon_swtcl.c
src/mesa/drivers/dri/radeon/radeon_tcl.h
src/mesa/drivers/dri/radeon/radeon_texstate.c
src/mesa/drivers/dri/radeon/radeon_vtxfmt.c
src/mesa/drivers/dri/radeon/radeon_vtxfmt_c.c
src/mesa/drivers/dri/radeon/radeon_vtxfmt_sse.c
src/mesa/drivers/dri/radeon/radeon_vtxfmt_x86.c
src/mesa/drivers/dri/radeon/radeon_vtxtmp_x86.S