filename | src/pvr2/pvr2.h |
changeset | 649:620c5c6496b5 |
prev | 646:f9812647b818 |
next | 1066:ddffe9d2b332 |
author | nkeynes |
date | Tue Mar 11 08:50:16 2008 +0000 (12 years ago) |
branch | lxdream-render |
permissions | -rw-r--r-- |
last change | Use maxz rather than minz for tri sorting (better results atm) Change depth-test-disable to depth-mask (more correct) Implement alpha test for punchthru polys |
file | annotate | diff | log | raw |
1.1 --- a/src/pvr2/pvr2.h Sat Mar 08 04:20:48 2008 +00001.2 +++ b/src/pvr2/pvr2.h Tue Mar 11 08:50:16 2008 +00001.3 @@ -334,7 +334,7 @@1.5 /************************* Rendering support macros **************************/1.6 #define POLY1_DEPTH_MODE(poly1) ( pvr2_poly_depthmode[(poly1)>>29] )1.7 -#define POLY1_DEPTH_ENABLE(poly1) (((poly1)&0x04000000) == 0 )1.8 +#define POLY1_DEPTH_WRITE(poly1) (((poly1)&0x04000000) == 0 )1.9 #define POLY1_CULL_MODE(poly1) (((poly1)>>27)&0x03)1.10 #define POLY1_CULL_ENABLE(poly1) (((poly1)>>28)&0x01)1.11 #define POLY1_TEXTURED(poly1) (((poly1)&0x02000000))
.