| 267 | } |
| 268 | |
| 269 | void GXSetCopyClear(GXColor clear_clr, u32 clear_z) |
| 270 | { |
| 271 | u32 reg; |
| 272 | |
| 273 | CHECK_GXBEGIN(1596, "GXSetCopyClear"); |
| 274 | //ASSERTMSGLINE(1598, clear_z <= 0xFFFFFF, "GXSetCopyClear: Z clear value is out of range"); |
| 275 | |
| 276 | reg = 0; |
| 277 | SET_REG_FIELD(1601, reg, 8, 0, clear_clr.r); |
| 278 | SET_REG_FIELD(1602, reg, 8, 8, clear_clr.a); |
| 279 | SET_REG_FIELD(1602, reg, 8, 24, 0x4F); |
| 280 | GX_WRITE_RAS_REG(reg); |
| 281 | |
| 282 | reg = 0; |
| 283 | SET_REG_FIELD(1607, reg, 8, 0, clear_clr.b); |
| 284 | SET_REG_FIELD(1608, reg, 8, 8, clear_clr.g); |
| 285 | SET_REG_FIELD(1608, reg, 8, 24, 0x50); |
| 286 | GX_WRITE_RAS_REG(reg); |
| 287 | |
| 288 | reg = 0; |
| 289 | SET_REG_FIELD(1613, reg, 24, 0, clear_z); |
| 290 | SET_REG_FIELD(1613, reg, 8, 24, 0x51); |
| 291 | GX_WRITE_RAS_REG(reg); |
| 292 | __GXData->bpSentNot = 0; |
| 293 | } |
| 294 | |
| 295 | void GXSetCopyFilter(GXBool aa, const u8 sample_pattern[12][2], GXBool vf, const u8 vfilter[7]) |
| 296 | { |
no outgoing calls
no test coverage detected