Samsung S5PC100 User Manual page 1312

Table of Contents

Advertisement

S5PC100 USER'S MANUAL (REV1.0)
9.2.3
Stencil Test Control Register (FGPF)
PF_FRONTST, R/W, Address = 0x0007_000C
PF_ BACKST, R/W, Address = 0x0007_0010
PF_FRONTST
FrontStencil_dppass
FrontStencil_dpfail
FrontStencil_sfail
reserved
FrontStencilMaskValue
FrontStencilTestValue
FrontStencilTestMode
StencilTestEnable
Bit
[31:29]
Stencil depth buffer pass action
000b = KEEP
010b = REPLACE
100b = DECR
110b = INCR_WRAP
[28:26]
Stencil depth buffer fail action
Same as above
[25:23]
Stencil fail action
Same as above
[22:20]
reserved
[19:12]
8-bit stencil mask value
[11:4]
8-bit stencil reference value
[3:1]
Mode used in stencil test
000b = NEVER
010b = LESS
011b = LEQUAL(less than or equal to)
100b = EQUAL
110b = GEQUAL
[0]
0b = stencil test disabled
1b = stencil test enabled
Description
001b = ZERO
011b = INCR
101b = INVERT
111b = DECR_WRAP
001b = ALWAYS
101b = GREATER
111b = NOTEQUAL
3D-ACCELERATOR
Reset Value
000b
000b
000b
0x0
0x0
000b
0b
9.6-85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents