
Graphics Register Reference
TVP4020
Programmers Reference Manual
180
Name:
Depth Mode
Unit:
Stencil/Depth
Region: 0
Offset:
0x0000.89A0
Tag:
0x0134
Reset Value:
Undefined
Read/write
0
8
16
24
31
Unit enable
Write Mask
New Depth Source
Compare Mode
Reserved
Controls the comparison of a fragment's depth value and updating of the depth buffer. If
the compare function 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
Writemask:
0 = Disable write to depth buffer
1 = Enable write to depth buffer
Bit2-3
Source of depth value for comparison:
0 = Fragment's depth value
1 = LBData -
for copy pixels when destination depth planes are not updated.
2 = Depth register
3 = LBSourceData -
for copy pixels when destination depth planes are updated.
Bit4-6
Comparison function:
0 = NEVER
1 = LESS
2 = EQUAL
3 = LESS OR EQUAL
4 = GREATER
5 = NOT EQUAL
6 = GREATER OR EQUAL
7 = ALWAYS
DepthMode
Summary of Contents for TVP4020 PERMEDIA 2
Page 1: ...Texas Instruments TVP4020 PERMEDIA 2 Programmer s Reference Manual Issue 4 ...
Page 284: ...TVP4020 Programmers Reference Manual A Gouraud Shaded Triangle 275 ...
Page 292: ...TVP4020 Programmers Reference Manual Register Tables 283 ...
Page 314: ...TVP4020 Programmers Reference Manual Index 305 ...
Page 315: ...Index TVP4020 Programmers Reference Manual 306 Index ...
Page 323: ...Index TVP4020 Programmers Reference Manual 314 ...