Search
lxdream.org :: lxdream/src/pvr2/rendcore.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/rendcore.c
changeset 191:df4441cf3128
prev189:615b70cfd729
next215:f432833e8303
author nkeynes
date Wed Aug 02 06:24:08 2006 +0000 (15 years ago)
permissions -rw-r--r--
last change Add more register masks (in line with test case)
Rename renderer registers for consistency
file annotate diff log raw
1.1 --- a/src/pvr2/rendcore.c Wed Aug 02 04:06:45 2006 +0000
1.2 +++ b/src/pvr2/rendcore.c Wed Aug 02 06:24:08 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: rendcore.c,v 1.1 2006-08-02 04:06:45 nkeynes Exp $
1.6 + * $Id: rendcore.c,v 1.2 2006-08-02 06:24:08 nkeynes Exp $
1.7 *
1.8 * PVR2 renderer core.
1.9 *
1.10 @@ -269,13 +269,13 @@
1.11 void pvr2_render_tilebuffer( int width, int height, int clipx1, int clipy1,
1.12 int clipx2, int clipy2 ) {
1.13
1.14 - pvraddr_t segmentbase = MMIO_READ( PVR2, TILEBASE );
1.15 + pvraddr_t segmentbase = MMIO_READ( PVR2, RENDER_TILEBASE );
1.16 int tile_sort;
1.17 gboolean cheap_shadow;
1.18
1.19 - int obj_config = MMIO_READ( PVR2, OBJCFG );
1.20 - int isp_config = MMIO_READ( PVR2, ISPCFG );
1.21 - int shadow_cfg = MMIO_READ( PVR2, SHADOW );
1.22 + int obj_config = MMIO_READ( PVR2, RENDER_OBJCFG );
1.23 + int isp_config = MMIO_READ( PVR2, RENDER_ISPCFG );
1.24 + int shadow_cfg = MMIO_READ( PVR2, RENDER_SHADOW );
1.25
1.26 if( obj_config & 0x00200000 ) {
1.27 if( isp_config & 1 ) {
.