
FUJITSU LIMITED
PRELIMINARY and CONFIDENTIAL
MB86293 CORAL_LQ
Graphics Controller
Specifications Rev. 1.1
104
G_Vertex/G_VertexLOG/G_VertexNopLOG (Format 1)
When data format is floating-point format
31
G_Vertex
2423
1615
0
Reserved
Reserved
X.float
Y.float
Z.float
R.float
G.float
B.float
S.float
T.float
When data format is fixed-point format
31
G_Vertex
2423
1615
0
Reserved
Reserved
X.fixed
Y.fixed
Z.fixed
R.int
G.int
B.int
S.fixed
T.fixed
When data format is packed integer format
31
G_Vertex
2423
1615
0
Reserved
Reserved
X.int
Y.int
Z.fixed
R.ing
G.int
B.int
S.fixed
T.fixed
The
G_Vertex
command sets vertex parameters and processes and draws the geometry of the primitive
specified by the
G_Begin*
command. Note the following when using this command:
Required parameters depend on the setting of the
GMDR0
register. Proper values must be set as the
mode values of the
MDR0
to
MDR4
registers to be finally reflected at drawing. That is, when “Z”
comparison is made (ZC bit of MDR1 or MDR2 = 1), the Z bit of the GMDR0 register must be set to 1.
When Gouraud shading is performed (SM bit of MDR2 = 1), the C bit of the GMDR0 register must be set
to 1. When texture mapping is performed (TT bits of MDR2 = 10), the ST bit of the GMDR0 register
must be set to 1.
When the Z bit of the GMDR0 register is 0, input “Z” (Zoc) is treated as “0”.
Use values normalized to 0 and 1 as texture coordinates (S, T).
When the color RGB is floating-point format, use values normalized to 0 and 1 as the 8-bit color value.
For the packed RGB, use the 8-bit color value directly.
The GMDR1 register is valid only for line drawing; it is ignored in primitives other than line.
The GMDR2 register matters only when a triangle (excluding a polygon) is drawn. At primitives other
than triangle, set “0”.
The use of both G_BeginE(G_BeginEcont) to G_EndE, and G_VertexLOG/NopLOG is not assured.
G_VertexNopLOG, except for the primitive as point is not assured.