Ported the latest changes from PCem.

This commit is contained in:
TC1995
2021-07-05 01:21:02 +02:00
parent 87f8029378
commit 6acbf62f42
8 changed files with 5225 additions and 7 deletions

View File

@@ -296,6 +296,7 @@ typedef struct voodoo_t
int swap_pending;
int bilinear_enabled;
int dithersub_enabled;
int fb_size;
uint32_t fb_mask;

File diff suppressed because it is too large Load Diff

View File

@@ -369,6 +369,7 @@ enum
FBZ_DRAW_MASK = 0xc000,
FBZ_DEPTH_BIAS = (1 << 16),
FBZ_DITHER_SUB = (1 << 19),
FBZ_DEPTH_SOURCE = (1 << 20),
@@ -689,3 +690,4 @@ enum
#define depth_op ( (params->fbzMode >> 5) & 7)
#define dither ( params->fbzMode & FBZ_DITHER)
#define dither2x2 (params->fbzMode & FBZ_DITHER_2x2)
#define dithersub (params->fbzMode & FBZ_DITHER_SUB)