![Texas Instruments TVP4020 PERMEDIA 2 Скачать руководство пользователя страница 252](http://html.mh-extra.com/html/texas-instruments/tvp4020-permedia-2/tvp4020-permedia-2_reference-manual_1097169252.webp)
TVP4020
Programmers Reference Manual
Graphics Register Reference
243
Name:
Stencil Mode
Unit:
Stencil/Depth
Region: 0
Offset:
0x0000.8988
Tag:
0x0131
Reset Value:
Undefined
Read/write
0
8
16
24
31
Unit enable
Reserved
func
dppass
Update Method
Stencil source
dpfail
sfail
src
Unsigned compare function
Controls the stencil test, which conditionally rejects fragments based on the outcome of a
comparison between the value in the stencil buffer and a reference value in the
StencilData register. If the test is LESS and the result is true then the fragment value is
less than the source value.
Bit0
Unit Enable:
0 = Disable
1 = Enable
Bit1-3
Update Method if Depth test passes and Stencil test passes:
(see table below)
Bit4-6
Update Method if Depth test fails and Stencil test passes:
(see table below)
Bit7-9
Update Method if Stencil test fails:
Mode
Method
Result
0
Keep
Source stencil
1
Zero
0
2
Replace
Reference stencil
3
Increment
Clamp (Source s 1) to 2
stencil width
- 1
4
Decrement
Clamp (Source stencil -1) to 0
5
Invert
~Source stencil
Bit10-12
Unsigned Comparison Function:
Mode = Comparison Function
0 = NEVER
1 = LESS
2 = EQUAL
3 = LESS OR EQUAL
StencilMode
Содержание TVP4020 PERMEDIA 2
Страница 1: ...Texas Instruments TVP4020 PERMEDIA 2 Programmer s Reference Manual Issue 4 ...
Страница 47: ...Memory I O and Organization TVP4020 Programmers Reference Manual 38 Texture address TextureBaseAddress T W S ...
Страница 284: ...TVP4020 Programmers Reference Manual A Gouraud Shaded Triangle 275 ...
Страница 292: ...TVP4020 Programmers Reference Manual Register Tables 283 ...
Страница 314: ...TVP4020 Programmers Reference Manual Index 305 ...
Страница 315: ...Index TVP4020 Programmers Reference Manual 306 Index ...
Страница 323: ...Index TVP4020 Programmers Reference Manual 314 ...