Navigate to the top level

Clear

Description
Tests the behavior of various write masks on NV097_CLEAR_SURFACE.
Each test draws some geometry, then modifies the NV097_SET_COLOR_MASK, NV097_SET_DEPTH_MASK, and NV097_SET_STENCIL_MASK settings, then invokes NV097_CLEAR_SURFACE.
In all cases, the clear color is set to 0x7F7F7F7F and the depth value is set to 0xFFFFFFFF.
Suite class def

C00000000_Depth_n

Framebuffer result after disabling writing to all color channels and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000000_Depth_n
Image as seen on display
No alpha test result for Clear::C00000000_Depth_n

C00000000_Depth_n_ZB

Z-buffer result after disabling writing to all color channels and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000000_Depth_n_ZB
Image as seen on display
No alpha test result for Clear::C00000000_Depth_n_ZB

C00000000_Depth_y

Framebuffer result after disabling writing to all color channels and enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000000_Depth_y
Image as seen on display
No alpha test result for Clear::C00000000_Depth_y

C00000000_Depth_y_ZB

Z-buffer result after disabling writing to all color channels and enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000000_Depth_y_ZB
Image as seen on display
No alpha test result for Clear::C00000000_Depth_y_ZB

C00000001_Depth_n

Framebuffer result after disabling writing to all color channels except blue and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000001_Depth_n
Image as seen on display
No alpha test result for Clear::C00000001_Depth_n

C00000001_Depth_n_ZB

Z-buffer result after disabling writing to all color channels except blue and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000001_Depth_n_ZB
Image as seen on display
No alpha test result for Clear::C00000001_Depth_n_ZB

C00000001_Depth_y

Framebuffer result after disabling writing to all color channels except blue enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000001_Depth_y
Image as seen on display
No alpha test result for Clear::C00000001_Depth_y

C00000001_Depth_y_ZB

Z-buffer result after disabling writing to all color channels except blue enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000001_Depth_y_ZB
Image as seen on display
No alpha test result for Clear::C00000001_Depth_y_ZB

C00000100_Depth_n

Framebuffer result after disabling writing to all color channels except green and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000100_Depth_n
Image as seen on display
No alpha test result for Clear::C00000100_Depth_n

C00000100_Depth_n_ZB

Z-buffer result after disabling writing to all color channels except green and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000100_Depth_n_ZB
Image as seen on display
No alpha test result for Clear::C00000100_Depth_n_ZB

C00000100_Depth_y

Framebuffer result after disabling writing to all color channels except green and enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000100_Depth_y
Image as seen on display
No alpha test result for Clear::C00000100_Depth_y

C00000100_Depth_y_ZB

Z-buffer result after disabling writing to all color channels except green and enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00000100_Depth_y_ZB
Image as seen on display
No alpha test result for Clear::C00000100_Depth_y_ZB

C00010000_Depth_n

Framebuffer result after disabling writing to all color channels except red and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00010000_Depth_n
Image as seen on display
No alpha test result for Clear::C00010000_Depth_n

C00010000_Depth_n_ZB

Z-buffer result after disabling writing to all color channels except red and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00010000_Depth_n_ZB
Image as seen on display
No alpha test result for Clear::C00010000_Depth_n_ZB

C00010000_Depth_y

Framebuffer result after disabling writing to all color channels except red and enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00010000_Depth_y
Image as seen on display
No alpha test result for Clear::C00010000_Depth_y

C00010000_Depth_y_ZB

Z-buffer result after disabling writing to all color channels except red and enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C00010000_Depth_y_ZB
Image as seen on display
No alpha test result for Clear::C00010000_Depth_y_ZB

C01000000_Depth_n

Framebuffer result after disabling writing to all color channels except alpha and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C01000000_Depth_n
Image as seen on display
No alpha test result for Clear::C01000000_Depth_n

C01000000_Depth_n_ZB

Z-buffer result after disabling writing to all color channels except alpha and to the depth/stencil buffer.

Image with alpha
Test result for Clear::C01000000_Depth_n_ZB
Image as seen on display
No alpha test result for Clear::C01000000_Depth_n_ZB

C01000000_Depth_y

Framebuffer result after disabling writing to all color channels except alpha and enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C01000000_Depth_y
Image as seen on display
No alpha test result for Clear::C01000000_Depth_y

C01000000_Depth_y_ZB

Z-buffer result after disabling writing to all color channels except alpha and enabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C01000000_Depth_y_ZB
Image as seen on display
No alpha test result for Clear::C01000000_Depth_y_ZB

C01010101_Depth_n

Framebuffer result after enabling writing to all color channels but disabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C01010101_Depth_n
Image as seen on display
No alpha test result for Clear::C01010101_Depth_n

C01010101_Depth_n_ZB

Z-buffer result after enabling writing to all color channels but disabling writes to the depth/stencil buffer.

Image with alpha
Test result for Clear::C01010101_Depth_n_ZB
Image as seen on display
No alpha test result for Clear::C01010101_Depth_n_ZB

C01010101_Depth_y

Framebuffer result after enabling writing to all color channels and the depth/stencil buffer.

Image with alpha
Test result for Clear::C01010101_Depth_y
Image as seen on display
No alpha test result for Clear::C01010101_Depth_y

C01010101_Depth_y_ZB

Z-buffer result after enabling writing to all color channels and the depth/stencil buffer.

Image with alpha
Test result for Clear::C01010101_Depth_y_ZB
Image as seen on display
No alpha test result for Clear::C01010101_Depth_y_ZB