Antialiasing_tests
Description
Tests the effects of NV097_SET_SURFACE_FORMAT_ANTI_ALIASING in various scenarios.
Many of these tests were created to demonstrate specific bugs in xemu and are not of practical value in typical hardware use cases.
Suite class def
AAOnThenOffCPUWrite
Configure the framebuffer surface with some antialiasing mode, clear, change the mode, modify the framebuffer by writing directly to VRAM, then render. Used to reproduce xemu-project/xemu#652.
Image with alpha

Image as seen on display

CPUWriteIgnoresSurfaceConfig
This test verifies that direct writes to VRAM bypass any surface configuration. It sets up a texture surface with antialiasing enabled, then writes directly to texture memory and renders the texture to the screen. It is expected that antialiasing has no effect.
Image with alpha

Image as seen on display

CreateSurfaceWithCenter1
Tests rendering with NV097_SET_SURFACE_FORMAT_ANTI_ALIASING_CENTER_1
Image with alpha

Image as seen on display

CreateSurfaceWithCenterCorner2
Tests rendering with NV097_SET_SURFACE_FORMAT_ANTI_ALIASING_CENTER_CORNER_2
Image with alpha

Image as seen on display

CreateSurfaceWithSquareOffset4
Tests rendering with NV097_SET_SURFACE_FORMAT_ANTI_ALIASING_SQUARE_OFFSET_4
Image with alpha

Image as seen on display

FBSurfaceWithCenter1
Image with alpha

Image as seen on display

FBSurfaceWithCenterCorner2
Image with alpha

Image as seen on display

FramebufferNotModifiedBySurfaceState
Image with alpha

Image as seen on display

GPUAAWriteAfterCPUWrite
Image with alpha

Image as seen on display

NonAACPURoundTrip
Image with alpha

Image as seen on display

SurfaceStatesAreIndependent
Image with alpha

Image as seen on display
