Files
mandy/tests/semantic/test_image_bvh_tri_hw.py
shelbykb2 9574cc3c50 tests, tools: the measured tie rows of image_bvh (tri_t1..tri_t8) as regression rows and probe kernels
tests/semantic/test_image_bvh_tri_hw.py: the data block now also holds the 256 single-lane rows of the tie
measurement (RX 6800, gfx1030, AMD 26.11.2, 2026-11-23; hand-built nodes and rays, the words the instruction
returned, both forms equal), written by work-bvhtri/ties/export_hw_table_ties.py; the #4202 rows are unchanged.
The translator before the tie rule change fails 46 of the new rows (92 subtests) and none of the old ones.

tools/bvh_tri_probe.py: builds the eight tie kernels too (tri_t1..t7 x / y dominant and equal |d|, tri_t8 the z
bridge); their lines are those of the reviewed specs the RX 6800 ran (module_sha256 matches). rule_words follows
the new tie rule. tests/test_bvh_tri_probe.py pins tri_t1 and tri_t8 and expects 564 single-lane cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 20:40:54 -07:00

2184 lines
187 KiB
Python

"""image_bvh_intersect_ray / image_bvh64_intersect_ray on triangle nodes against words measured on native RDNA2.
Every expected word below was returned by the instruction itself on an AMD Radeon RX 6800 (gfx1030, AMD Windows
driver 26.11.2, Windows 11, 2026-11-22), through tools/hw_oracle raw kernels (tools/bvh_tri_probe.py builds the same
kernels) that write hand-built 64-byte triangle nodes into memory and trace one ray per case in both forms: the
32-bit node pointer with the descriptor base at the node, and the 64-bit one with base 0. The descriptor is the one
#3567 measured boxes with (w1 bit 31 box sort, w2 = 0xFFFFFFFF, w3 = 0x81000000). Both forms returned the same four
words in every case, wave32 the same as wave64 and NSA address operands the same as contiguous ones. No game data.
The rule the words follow is in the docs/design.md Ray tracing row: the watertight test, with the shear taken from the
direction (the supplied inverse direction is not used); a hit gives k*(T, det, b_i, b_j) and a miss
(copysign(inf, k*det), k*det, k*b_i, k*b_j), k = |d[kz]|^3; no test against t max, t >= 0 tested; zero words +0 and
NaN words 0xFFC00000; a NaN anywhere in the ray or an infinite origin gives (inf, 1, 0, 0); RDNA2's own tie rule on
shared edges and vertices.
Rows: all 308 single-lane rows of the 12 single-lane kernels (fan leaf of the four node types around one vertex,
mirrored and axis-permuted leaves, misses on both sides, the remap byte, t max / t sign / zero area / NaN and inf
inputs, the ray's own NaN / inf / zero / wrong inverse direction, shared edges and vertices), each run in both forms,
and lanes 0, 15, 16, 31, 32 and 63 of the two 64-thread kernels (all 7 cases). Then the 256 rows of the tie kernels
tri_t1..tri_t8 (same driver, same descriptor, 2026-11-23): rays exactly on a shared edge, an outer edge or a vertex
with x, y or z dominant, both windings and both signs of d[kz] (fan, mirrored, rotated in its plane and tilted
leaves, axis and oblique rays), equal |d| components with and without a tie, and 22 repeated #4202 rows as controls.
Every row is asserted.
python -m unittest discover -s tests/semantic -p "test_image_bvh_tri_hw.py" -v
"""
import unittest
from support import mrt0_words, translate_lines
RAY = 0x1000 # node id (lo, hi), t max, origin, direction, inverse direction: read with s_buffer_load
NODE = 0x2000 # the 64-byte node
PUSH = [RAY, 0, 0x100, 0] + [0] * 28 # V# in s[0:3]: base RAY, num_records 256
# BEGIN MEASURED DATA (work-bvhtri/ties/export_hw_table_ties.py writes this block from the raw outputs; do not edit by hand)
# 564 single-lane rows of 20 kernels (12 of #4202, then the tie kernels tri_t1..tri_t8) and 84 lane results of 2 kernels (lanes 0, 15, 16, 31, 32, 63); device=AMD Radeon RX 6800 arch=gfx1030
# words 0..14 (vertex slots 0..4) of every node the rows use; word 15 (the remap bytes) is per row
NODES = {
'fan': [
0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x00000000,
0x40400000, 0x00000000, 0x40000000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'fan_mirrored': [
0x00000000, 0x00000000, 0x40400000, 0xc0800000, 0x00000000,
0x40400000, 0x00000000, 0x40000000, 0x40400000, 0xc0800000,
0x40000000, 0x40400000, 0x40000000, 0x40400000, 0x40400000,
],
'fan_x_dominant': [
0x40400000, 0x00000000, 0x00000000, 0x40400000, 0x40800000,
0x00000000, 0x40400000, 0x00000000, 0x40000000, 0x40400000,
0x40800000, 0x40000000, 0x40400000, 0xc0000000, 0x40400000,
],
'fan_y_dominant': [
0x00000000, 0x40400000, 0x00000000, 0x00000000, 0x40400000,
0x40800000, 0x40000000, 0x40400000, 0x00000000, 0x40000000,
0x40400000, 0x40800000, 0x40400000, 0x40400000, 0xc0000000,
],
'cs_bvh_tri': [
0x00000000, 0x00000000, 0x41200000, 0x3f800000, 0x00000000,
0x41200000, 0x00000000, 0x3f800000, 0x41200000, 0xeeeeeeee,
0xeeeeeeee, 0xeeeeeeee, 0xeeeeeeee, 0xeeeeeeee, 0xeeeeeeee,
],
'three_equal': [
0x3f800000, 0x3e800000, 0x40400000, 0x3f800000, 0x3e800000,
0x40400000, 0x3f800000, 0x3e800000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'collinear': [
0x00000000, 0x3e800000, 0x40400000, 0x40000000, 0x3e800000,
0x40400000, 0x40800000, 0x3e800000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'edge_on': [
0x00000000, 0x3e800000, 0x00000000, 0x40800000, 0x3e800000,
0x00000000, 0x00000000, 0x3e800000, 0x40c00000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'v0x_nan': [
0x7fc00000, 0x00000000, 0x40400000, 0x40800000, 0x00000000,
0x40400000, 0x00000000, 0x40000000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'v0z_nan': [
0x00000000, 0x00000000, 0x7fc00000, 0x40800000, 0x00000000,
0x40400000, 0x00000000, 0x40000000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'v1y_nan': [
0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x7fc00000,
0x40400000, 0x00000000, 0x40000000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'v2x_inf': [
0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x00000000,
0x40400000, 0x7f800000, 0x40000000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'v0x_neginf': [
0xff800000, 0x00000000, 0x40400000, 0x40800000, 0x00000000,
0x40400000, 0x00000000, 0x40000000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'slot3_nan': [
0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x00000000,
0x40400000, 0x00000000, 0x40000000, 0x40400000, 0x7fc00000,
0x40000000, 0x40400000, 0xc0000000, 0x40400000, 0x40400000,
],
'slot4_nan': [
0x00000000, 0x00000000, 0x40400000, 0x40800000, 0x00000000,
0x40400000, 0x00000000, 0x40000000, 0x40400000, 0x40800000,
0x40000000, 0x40400000, 0x7fc00000, 0x40400000, 0x40400000,
],
'rotated_fan_x_dominant': [
0x40400000, 0x00000000, 0x00000000, 0x40400000, 0x00000000,
0x40800000, 0x40400000, 0xc0000000, 0x00000000, 0x40400000,
0xc0000000, 0x40800000, 0x40400000, 0xc0400000, 0xc0000000,
],
'mirrored_fan_x_dominant': [
0x40400000, 0x00000000, 0x00000000, 0x40400000, 0xc0800000,
0x00000000, 0x40400000, 0x00000000, 0x40000000, 0x40400000,
0xc0800000, 0x40000000, 0x40400000, 0x40000000, 0x40400000,
],
'rotated_mirrored_fan_x_dominant': [
0x40400000, 0x00000000, 0x00000000, 0x40400000, 0x00000000,
0x40800000, 0x40400000, 0x40000000, 0x00000000, 0x40400000,
0x40000000, 0x40800000, 0x40400000, 0x40400000, 0xc0000000,
],
'rotated_fan_y_dominant': [
0x00000000, 0x40400000, 0x00000000, 0x40800000, 0x40400000,
0x00000000, 0x00000000, 0x40400000, 0xc0000000, 0x40800000,
0x40400000, 0xc0000000, 0xc0000000, 0x40400000, 0xc0400000,
],
'mirrored_fan_y_dominant': [
0x00000000, 0x40400000, 0x00000000, 0x00000000, 0x40400000,
0xc0800000, 0x40000000, 0x40400000, 0x00000000, 0x40000000,
0x40400000, 0xc0800000, 0x40400000, 0x40400000, 0x40000000,
],
'rotated_mirrored_fan_y_dominant': [
0x00000000, 0x40400000, 0x00000000, 0x40800000, 0x40400000,
0x00000000, 0x00000000, 0x40400000, 0x40000000, 0x40800000,
0x40400000, 0x40000000, 0xc0000000, 0x40400000, 0x40400000,
],
'fan_tilted_p1x_p0y_x_dominant': [
0x40400000, 0x00000000, 0x00000000, 0x40e00000, 0x40800000,
0x00000000, 0x40400000, 0x00000000, 0x40000000, 0x40e00000,
0x40800000, 0x40000000, 0x3f800000, 0xc0000000, 0x40400000,
],
'mirrored_fan_tilted_p1x_p1y_y_dominant': [
0x00000000, 0x40400000, 0x00000000, 0x00000000, 0xbf800000,
0xc0800000, 0x40000000, 0x40a00000, 0x00000000, 0x40000000,
0x3f800000, 0xc0800000, 0x40400000, 0x41000000, 0x40000000,
],
'rotated_mirrored_fan': [
0x00000000, 0x00000000, 0x40400000, 0x00000000, 0x40800000,
0x40400000, 0x40000000, 0x00000000, 0x40400000, 0x40000000,
0x40800000, 0x40400000, 0x40400000, 0xc0000000, 0x40400000,
],
'rotated_fan': [
0x00000000, 0x00000000, 0x40400000, 0x00000000, 0x40800000,
0x40400000, 0xc0000000, 0x00000000, 0x40400000, 0xc0000000,
0x40800000, 0x40400000, 0xc0400000, 0xc0000000, 0x40400000,
],
}
# (kernel, label, node, word 15, node type, ray (t max, origin, direction, inverse direction),
# the four words both forms returned)
ROWS = [
('tri_g1a', 'TRI0 hit +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1a', 'TRI0 hit -z (back)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a', 'TRI1 hit +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_g1a', 'TRI1 hit -z (back)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a', 'TRI2 hit +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1a', 'TRI2 hit -z (back)', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a', 'TRI3 hit +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g1a', 'TRI3 hit -z (back)', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a', "TRI0 miss (+z at TRI1's point)", 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf200000)),
('tri_g1a', "TRI1 miss (+z at TRI2's point)", 'fan', 0x09090909, 1,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf100000)),
('tri_g1a', "TRI2 miss (+z at TRI3's point)", 'fan', 0x09090909, 2,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x3d800000, 0x00000000)),
('tri_g1a', "TRI3 miss (+z at TRI0's point)", 'fan', 0x09090909, 3,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x3e800000, 0xbea00000)),
('tri_g1a', 'TRI0 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a', 'TRI1 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a', 'TRI2 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0xbfe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a', 'TRI3 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x3f000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a', 'TRI0 hit oblique +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbe800000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1a', 'TRI0 hit oblique -z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbe800000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a', 'TRI1 hit oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f400000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_g1a', 'TRI1 hit oblique -z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f400000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a', 'TRI2 hit oblique +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3f400000, 0x3fd00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1a', 'TRI2 hit oblique -z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3f400000, 0x3fd00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a', 'TRI3 hit oblique +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbfc00000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g1a', 'TRI3 hit oblique -z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbfc00000, 0x3fc00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a', 'cs_bvh scene triangle node 0x40', 'cs_bvh_tri', 0x00000009, 0,
(0x42c80000, 0x3e800000, 0x3e800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x7f800000, 0x7f800000, 0x3f800000),
(0xc1200000, 0xbf800000, 0xbe800000, 0xbe800000)),
('tri_g1a_nsa', 'TRI0 hit +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1a_nsa', 'TRI0 hit -z (back)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a_nsa', 'TRI1 hit +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_g1a_nsa', 'TRI1 hit -z (back)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a_nsa', 'TRI2 hit +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1a_nsa', 'TRI2 hit -z (back)', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a_nsa', 'TRI3 hit +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g1a_nsa', 'TRI3 hit -z (back)', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a_nsa', "TRI0 miss (+z at TRI1's point)", 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf200000)),
('tri_g1a_nsa', "TRI1 miss (+z at TRI2's point)", 'fan', 0x09090909, 1,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf100000)),
('tri_g1a_nsa', "TRI2 miss (+z at TRI3's point)", 'fan', 0x09090909, 2,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x3d800000, 0x00000000)),
('tri_g1a_nsa', "TRI3 miss (+z at TRI0's point)", 'fan', 0x09090909, 3,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x3e800000, 0xbea00000)),
('tri_g1a_nsa', 'TRI0 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a_nsa', 'TRI1 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a_nsa', 'TRI2 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0xbfe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a_nsa', 'TRI3 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x3f000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a_nsa', 'TRI0 hit oblique +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbe800000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1a_nsa', 'TRI0 hit oblique -z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbe800000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a_nsa', 'TRI1 hit oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f400000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_g1a_nsa', 'TRI1 hit oblique -z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f400000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a_nsa', 'TRI2 hit oblique +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3f400000, 0x3fd00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1a_nsa', 'TRI2 hit oblique -z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3f400000, 0x3fd00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a_nsa', 'TRI3 hit oblique +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbfc00000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g1a_nsa', 'TRI3 hit oblique -z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbfc00000, 0x3fc00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a_nsa', 'cs_bvh scene triangle node 0x40', 'cs_bvh_tri', 0x00000009, 0,
(0x42c80000, 0x3e800000, 0x3e800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x7f800000, 0x7f800000, 0x3f800000),
(0xc1200000, 0xbf800000, 0xbe800000, 0xbe800000)),
('tri_g1a_w64', 'TRI0 hit +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1a_w64', 'TRI0 hit -z (back)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a_w64', 'TRI1 hit +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_g1a_w64', 'TRI1 hit -z (back)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a_w64', 'TRI2 hit +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1a_w64', 'TRI2 hit -z (back)', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a_w64', 'TRI3 hit +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g1a_w64', 'TRI3 hit -z (back)', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a_w64', "TRI0 miss (+z at TRI1's point)", 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf200000)),
('tri_g1a_w64', "TRI1 miss (+z at TRI2's point)", 'fan', 0x09090909, 1,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf100000)),
('tri_g1a_w64', "TRI2 miss (+z at TRI3's point)", 'fan', 0x09090909, 2,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x3d800000, 0x00000000)),
('tri_g1a_w64', "TRI3 miss (+z at TRI0's point)", 'fan', 0x09090909, 3,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x3e800000, 0xbea00000)),
('tri_g1a_w64', 'TRI0 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a_w64', 'TRI1 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a_w64', 'TRI2 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0xbfe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a_w64', 'TRI3 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x3f000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a_w64', 'TRI0 hit oblique +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbe800000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1a_w64', 'TRI0 hit oblique -z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbe800000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1a_w64', 'TRI1 hit oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f400000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_g1a_w64', 'TRI1 hit oblique -z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f400000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_g1a_w64', 'TRI2 hit oblique +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3f400000, 0x3fd00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1a_w64', 'TRI2 hit oblique -z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3f400000, 0x3fd00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1a_w64', 'TRI3 hit oblique +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbfc00000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g1a_w64', 'TRI3 hit oblique -z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbfc00000, 0x3fc00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_g1a_w64', 'cs_bvh scene triangle node 0x40', 'cs_bvh_tri', 0x00000009, 0,
(0x42c80000, 0x3e800000, 0x3e800000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x7f800000, 0x7f800000, 0x3f800000),
(0xc1200000, 0xbf800000, 0xbe800000, 0xbe800000)),
('tri_g1b', 'TRI0 dominant +x', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3f800000, 0x3e800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1b', 'TRI0 dominant -x', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x3f800000, 0x3e800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1b', 'TRI2 dominant +x', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x3fe00000, 0x40080000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1b', 'TRI2 dominant -x', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0x40e00000, 0x3fe00000, 0x40080000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1b', 'TRI0 dominant +y', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3e800000, 0xbf800000, 0x3f800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1b', 'TRI0 dominant -y', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3e800000, 0x40e00000, 0x3f800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1b', 'TRI2 dominant +y', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40080000, 0xbf800000, 0x3fe00000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1b', 'TRI2 dominant -y', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40080000, 0x40e00000, 0x3fe00000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_g1b', 'TRI0 kz tie |dx|=|dz|', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0400000, 0x3e800000, 0xbf800000, 0x3f000000, 0x00000000, 0x3f000000, 0x40000000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1b', 'TRI0 kz tie |dy|=|dz|', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0xc0700000, 0xbf800000, 0x00000000, 0x3f000000, 0x3f000000, 0x7f800000, 0x40000000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1b', 'TRI0 kz tie |dx|=|dy|=|dz|', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0400000, 0xc0700000, 0xbf800000, 0x3f000000, 0x3f000000, 0x3f000000, 0x40000000, 0x40000000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1b', 'TRI0 kz tie |dx|=|dy|>|dz|', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0e00000, 0xc0f80000, 0xbf800000, 0x3f000000, 0x3f000000, 0x3e800000, 0x40000000, 0x40000000, 0x40800000),
(0xc1000000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g1b', 'TRI0 mirrored leaf hit -z', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1b', 'TRI1 mirrored leaf hit -z', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0600000, 0x3fa00000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_g1b', 'TRI2 mirrored leaf hit -z', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0xbfe00000, 0x40080000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g1b', 'TRI3 mirrored leaf hit -z', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x3f000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g1c', 'control: TRI0 hit +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g1c', 'control: TRI0 hit -z (back)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g1c', 'TRI0 miss beyond edge opposite v0 +z (det<0)', 'fan', 0x09090909, 0,
(0x42c80000, 0x40400000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf400000, 0xbf000000)),
('tri_g1c', 'TRI0 miss beyond edge opposite v0 -z (det>0)', 'fan', 0x09090909, 0,
(0x42c80000, 0x40400000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f400000, 0x3f000000)),
('tri_g1c', 'TRI0 miss beyond edge opposite v1 +z (det<0)', 'fan', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0x3e800000, 0xbf000000)),
('tri_g1c', 'TRI0 miss beyond edge opposite v1 -z (det>0)', 'fan', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0xbe800000, 0x3f000000)),
('tri_g1c', 'TRI0 miss beyond edge opposite v2 +z (det<0)', 'fan', 0x09090909, 0,
(0x42c80000, 0x40000000, 0xbf000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0x3e800000)),
('tri_g1c', 'TRI0 miss beyond edge opposite v2 -z (det>0)', 'fan', 0x09090909, 0,
(0x42c80000, 0x40000000, 0xbf000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0xbe800000)),
('tri_g1c', 'TRI0 mirrored leaf miss beyond edge opposite v0 +z (det>0)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xc0400000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x3f400000, 0x3f000000)),
('tri_g1c', 'TRI1 miss beyond edge opposite v0 +z (det<0)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40200000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf400000, 0xbf000000)),
('tri_g1c', 'TRI1 miss beyond edge opposite v0 -z (det>0)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40200000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f400000, 0x3f000000)),
('tri_g1c', 'TRI1 miss beyond edge opposite v1 +z (det<0)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x3f000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0x3e800000, 0xbf000000)),
('tri_g1c', 'TRI1 miss beyond edge opposite v1 -z (det>0)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x3f000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0xbe800000, 0x3f000000)),
('tri_g1c', 'TRI1 miss beyond edge opposite v2 +z (det<0)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40a00000, 0x3f000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0x3e800000)),
('tri_g1c', 'TRI1 miss beyond edge opposite v2 -z (det>0)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40a00000, 0x3f000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0xbe800000)),
('tri_g1c', 'TRI1 mirrored leaf miss beyond edge opposite v0 +z (det>0)', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0x40200000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x3f400000, 0x3f000000)),
('tri_g1c', 'TRI2 miss beyond edge opposite v0 +z (det<0)', 'fan', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40200000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbec00000, 0xbe800000)),
('tri_g1c', 'TRI2 miss beyond edge opposite v0 -z (det>0)', 'fan', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40200000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x3ec00000, 0x3e800000)),
('tri_g1c', 'TRI2 miss beyond edge opposite v1 +z (det<0)', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x40200000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x3e000000, 0xbe800000)),
('tri_g1c', 'TRI2 miss beyond edge opposite v1 -z (det>0)', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x40200000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0xbe000000, 0x3e800000)),
('tri_g1c', 'TRI2 miss beyond edge opposite v2 +z (det<0)', 'fan', 0x09090909, 2,
(0x42c80000, 0x40200000, 0x3fe00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbe800000, 0x3e000000)),
('tri_g1c', 'TRI2 miss beyond edge opposite v2 -z (det>0)', 'fan', 0x09090909, 2,
(0x42c80000, 0x40200000, 0x3fe00000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x3e800000, 0xbe000000)),
('tri_g1c', 'TRI2 mirrored leaf miss beyond edge opposite v0 +z (det>0)', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x40200000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f000000, 0x3ec00000, 0x3e800000)),
('tri_g1c', 'TRI3 miss beyond edge opposite v0 +z (det<0)', 'fan', 0x09090909, 3,
(0x42c80000, 0xbfc00000, 0x3fe00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbec00000, 0xbe800000)),
('tri_g1c', 'TRI3 miss beyond edge opposite v0 -z (det>0)', 'fan', 0x09090909, 3,
(0x42c80000, 0xbfc00000, 0x3fe00000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x3ec00000, 0x3e800000)),
('tri_g1c', 'TRI3 miss beyond edge opposite v1 +z (det<0)', 'fan', 0x09090909, 3,
(0x42c80000, 0x3f000000, 0x3f400000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x3e000000, 0xbe800000)),
('tri_g1c', 'TRI3 miss beyond edge opposite v1 -z (det>0)', 'fan', 0x09090909, 3,
(0x42c80000, 0x3f000000, 0x3f400000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0xbe000000, 0x3e800000)),
('tri_g1c', 'TRI3 miss beyond edge opposite v2 +z (det<0)', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x40400000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbe800000, 0x3e000000)),
('tri_g1c', 'TRI3 miss beyond edge opposite v2 -z (det>0)', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x40400000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x3e800000, 0xbe000000)),
('tri_g1c', 'TRI3 mirrored leaf miss beyond edge opposite v0 +z (det>0)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x3fc00000, 0x3fe00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f000000, 0x3ec00000, 0x3e800000)),
('tri_g2a', 'TRI0 byte0=0x00 others 0x06', 'fan', 0x06060600, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf200000, 0xbf200000)),
('tri_g2a', 'TRI0 byte0=0x01 others 0x06', 'fan', 0x06060601, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbf200000)),
('tri_g2a', 'TRI0 byte0=0x02 others 0x06', 'fan', 0x06060602, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe000000, 0xbf200000)),
('tri_g2a', 'TRI0 byte0=0x03 others 0x06', 'fan', 0x06060603, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf200000, 0xbf200000)),
('tri_g2a', 'TRI0 byte0=0x04 others 0x06', 'fan', 0x06060604, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf200000, 0xbe800000)),
('tri_g2a', 'TRI0 byte0=0x05 others 0x06', 'fan', 0x06060605, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe800000)),
('tri_g2a', 'TRI0 byte0=0x06 others 0x06', 'fan', 0x06060606, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe000000, 0xbe800000)),
('tri_g2a', 'TRI0 byte0=0x07 others 0x06', 'fan', 0x06060607, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf200000, 0xbe800000)),
('tri_g2a', 'TRI0 byte0=0x08 others 0x06', 'fan', 0x06060608, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf200000, 0xbe000000)),
('tri_g2a', 'TRI0 byte0=0x09 others 0x06', 'fan', 0x06060609, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2a', 'TRI0 byte0=0x0a others 0x06', 'fan', 0x0606060a, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe000000, 0xbe000000)),
('tri_g2a', 'TRI0 byte0=0x0b others 0x06', 'fan', 0x0606060b, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf200000, 0xbe000000)),
('tri_g2a', 'TRI0 byte0=0x0c others 0x06', 'fan', 0x0606060c, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf200000, 0xbf200000)),
('tri_g2a', 'TRI0 byte0=0x0d others 0x06', 'fan', 0x0606060d, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbf200000)),
('tri_g2a', 'TRI0 byte0=0x0e others 0x06', 'fan', 0x0606060e, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe000000, 0xbf200000)),
('tri_g2a', 'TRI0 byte0=0x0f others 0x06', 'fan', 0x0606060f, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf200000, 0xbf200000)),
('tri_g2a', 'TRI1 byte1=0x00 others 0x06', 'fan', 0x06060006, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbec00000, 0xbec00000)),
('tri_g2a', 'TRI1 byte1=0x01 others 0x06', 'fan', 0x06060106, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbec00000)),
('tri_g2a', 'TRI1 byte1=0x02 others 0x06', 'fan', 0x06060206, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe000000, 0xbec00000)),
('tri_g2a', 'TRI1 byte1=0x03 others 0x06', 'fan', 0x06060306, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbec00000, 0xbec00000)),
('tri_g2a', 'TRI1 byte1=0x04 others 0x06', 'fan', 0x06060406, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbec00000, 0xbf000000)),
('tri_g2a', 'TRI1 byte1=0x05 others 0x06', 'fan', 0x06060506, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_g2a', 'TRI1 byte1=0x06 others 0x06', 'fan', 0x06060606, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe000000, 0xbf000000)),
('tri_g2a', 'TRI1 byte1=0x07 others 0x06', 'fan', 0x06060706, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbec00000, 0xbf000000)),
('tri_g2a', 'TRI1 byte1=0x08 others 0x06', 'fan', 0x06060806, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbec00000, 0xbe000000)),
('tri_g2a', 'TRI1 byte1=0x09 others 0x06', 'fan', 0x06060906, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_g2a', 'TRI1 byte1=0x0a others 0x06', 'fan', 0x06060a06, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe000000, 0xbe000000)),
('tri_g2a', 'TRI1 byte1=0x0b others 0x06', 'fan', 0x06060b06, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbec00000, 0xbe000000)),
('tri_g2a', 'TRI1 byte1=0x0c others 0x06', 'fan', 0x06060c06, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbec00000, 0xbec00000)),
('tri_g2a', 'TRI1 byte1=0x0d others 0x06', 'fan', 0x06060d06, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbec00000)),
('tri_g2a', 'TRI1 byte1=0x0e others 0x06', 'fan', 0x06060e06, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe000000, 0xbec00000)),
('tri_g2a', 'TRI1 byte1=0x0f others 0x06', 'fan', 0x06060f06, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbec00000, 0xbec00000)),
('tri_g2b', 'TRI2 byte2=0x00 others 0x06', 'fan', 0x06000606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe400000, 0xbe400000)),
('tri_g2b', 'TRI2 byte2=0x01 others 0x06', 'fan', 0x06010606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbe400000)),
('tri_g2b', 'TRI2 byte2=0x02 others 0x06', 'fan', 0x06020606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd800000, 0xbe400000)),
('tri_g2b', 'TRI2 byte2=0x03 others 0x06', 'fan', 0x06030606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe400000, 0xbe400000)),
('tri_g2b', 'TRI2 byte2=0x04 others 0x06', 'fan', 0x06040606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe400000, 0xbe800000)),
('tri_g2b', 'TRI2 byte2=0x05 others 0x06', 'fan', 0x06050606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbe800000)),
('tri_g2b', 'TRI2 byte2=0x06 others 0x06', 'fan', 0x06060606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd800000, 0xbe800000)),
('tri_g2b', 'TRI2 byte2=0x07 others 0x06', 'fan', 0x06070606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe400000, 0xbe800000)),
('tri_g2b', 'TRI2 byte2=0x08 others 0x06', 'fan', 0x06080606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe400000, 0xbd800000)),
('tri_g2b', 'TRI2 byte2=0x09 others 0x06', 'fan', 0x06090606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_g2b', 'TRI2 byte2=0x0a others 0x06', 'fan', 0x060a0606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd800000, 0xbd800000)),
('tri_g2b', 'TRI2 byte2=0x0b others 0x06', 'fan', 0x060b0606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe400000, 0xbd800000)),
('tri_g2b', 'TRI2 byte2=0x0c others 0x06', 'fan', 0x060c0606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe400000, 0xbe400000)),
('tri_g2b', 'TRI2 byte2=0x0d others 0x06', 'fan', 0x060d0606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbe400000)),
('tri_g2b', 'TRI2 byte2=0x0e others 0x06', 'fan', 0x060e0606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd800000, 0xbe400000)),
('tri_g2b', 'TRI2 byte2=0x0f others 0x06', 'fan', 0x060f0606, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe400000, 0xbe400000)),
('tri_g2b', 'TRI3 byte3=0x00 others 0x06', 'fan', 0x00060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbea00000, 0xbea00000)),
('tri_g2b', 'TRI3 byte3=0x01 others 0x06', 'fan', 0x01060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbea00000)),
('tri_g2b', 'TRI3 byte3=0x02 others 0x06', 'fan', 0x02060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd800000, 0xbea00000)),
('tri_g2b', 'TRI3 byte3=0x03 others 0x06', 'fan', 0x03060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbea00000, 0xbea00000)),
('tri_g2b', 'TRI3 byte3=0x04 others 0x06', 'fan', 0x04060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbea00000, 0xbe000000)),
('tri_g2b', 'TRI3 byte3=0x05 others 0x06', 'fan', 0x05060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbe000000)),
('tri_g2b', 'TRI3 byte3=0x06 others 0x06', 'fan', 0x06060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd800000, 0xbe000000)),
('tri_g2b', 'TRI3 byte3=0x07 others 0x06', 'fan', 0x07060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbea00000, 0xbe000000)),
('tri_g2b', 'TRI3 byte3=0x08 others 0x06', 'fan', 0x08060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbea00000, 0xbd800000)),
('tri_g2b', 'TRI3 byte3=0x09 others 0x06', 'fan', 0x09060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_g2b', 'TRI3 byte3=0x0a others 0x06', 'fan', 0x0a060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd800000, 0xbd800000)),
('tri_g2b', 'TRI3 byte3=0x0b others 0x06', 'fan', 0x0b060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbea00000, 0xbd800000)),
('tri_g2b', 'TRI3 byte3=0x0c others 0x06', 'fan', 0x0c060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbea00000, 0xbea00000)),
('tri_g2b', 'TRI3 byte3=0x0d others 0x06', 'fan', 0x0d060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbea00000)),
('tri_g2b', 'TRI3 byte3=0x0e others 0x06', 'fan', 0x0e060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd800000, 0xbea00000)),
('tri_g2b', 'TRI3 byte3=0x0f others 0x06', 'fan', 0x0f060606, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbea00000, 0xbea00000)),
('tri_g2c', 'TRI0 byte0=0x09 +z', 'fan', 0x06060609, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x09 -z (back)', 'fan', 0x06060609, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x19 +z', 'fan', 0x06060619, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x19 -z (back)', 'fan', 0x06060619, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x29 +z', 'fan', 0x06060629, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x29 -z (back)', 'fan', 0x06060629, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x39 +z', 'fan', 0x06060639, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x39 -z (back)', 'fan', 0x06060639, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x49 +z', 'fan', 0x06060649, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x49 -z (back)', 'fan', 0x06060649, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x59 +z', 'fan', 0x06060659, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x59 -z (back)', 'fan', 0x06060659, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x69 +z', 'fan', 0x06060669, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x69 -z (back)', 'fan', 0x06060669, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x79 +z', 'fan', 0x06060679, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x79 -z (back)', 'fan', 0x06060679, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x89 +z', 'fan', 0x06060689, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x89 -z (back)', 'fan', 0x06060689, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0x99 +z', 'fan', 0x06060699, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0x99 -z (back)', 'fan', 0x06060699, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0xa9 +z', 'fan', 0x060606a9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0xa9 -z (back)', 'fan', 0x060606a9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0xb9 +z', 'fan', 0x060606b9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0xb9 -z (back)', 'fan', 0x060606b9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0xc9 +z', 'fan', 0x060606c9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0xc9 -z (back)', 'fan', 0x060606c9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0xd9 +z', 'fan', 0x060606d9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0xd9 -z (back)', 'fan', 0x060606d9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0xe9 +z', 'fan', 0x060606e9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0xe9 -z (back)', 'fan', 0x060606e9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g2c', 'TRI0 byte0=0xf9 +z', 'fan', 0x060606f9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g2c', 'TRI0 byte0=0xf9 -z (back)', 'fan', 0x060606f9, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g3a', 'TRI0 t=8 tmax=100 (control)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=8 tmax=8 = t', 'fan', 0x09090909, 0,
(0x41000000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=8 tmax=prev(8)', 'fan', 0x09090909, 0,
(0x40ffffff, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=8 tmax=next(8)', 'fan', 0x09090909, 0,
(0x41000001, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=8 tmax=7', 'fan', 0x09090909, 0,
(0x40e00000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=8 tmax=0', 'fan', 0x09090909, 0,
(0x00000000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=8 tmax=-1', 'fan', 0x09090909, 0,
(0xbf800000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=8 tmax=+inf', 'fan', 0x09090909, 0,
(0x7f800000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=8 tmax=NaN', 'fan', 0x09090909, 0,
(0x7fc00000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_g3a', 'TRI0 behind origin +z (t=-4)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40a00000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 behind origin -z (t=-4, back)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x3f800000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_g3a', 'TRI0 origin on the plane (t=0)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40400000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x00000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 t=2^-19', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x403ffffc, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xb6000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'zero area: three equal vertices, ray through them', 'three_equal', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x00000000, 0x00000000, 0x00000000)),
('tri_g3a', 'zero area: collinear, ray through the segment', 'collinear', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x00000000, 0x00000000, 0x00000000)),
('tri_g3a', 'zero area: collinear, ray off the line', 'collinear', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x00000000, 0x3ec00000, 0xbe400000)),
('tri_g3a', "edge-on: ray in the triangle's plane, through it", 'edge_on', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x00000000, 0x00000000, 0x00000000)),
('tri_g3a', 'TRI0 vertex v0.x NaN', 'v0x_nan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xffc00000, 0xffc00000, 0xffc00000)),
('tri_g3a', 'TRI0 vertex v0.z NaN', 'v0z_nan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xffc00000, 0xffc00000, 0xffc00000)),
('tri_g3a', 'TRI0 vertex v1.y NaN', 'v1y_nan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xffc00000, 0xbe800000, 0xffc00000)),
('tri_g3a', 'TRI0 vertex v2.x +inf', 'v2x_inf', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xffc00000, 0x7f800000, 0xbe000000)),
('tri_g3a', 'TRI0 vertex v0.x -inf', 'v0x_neginf', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xff800000, 0xff800000, 0xff800000)),
('tri_g3a', 'TRI0 NaN in slot 3 (not read by TRI0): control', 'slot3_nan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3a', 'TRI0 NaN in slot 4 word 12 (not read by TRI0): control', 'slot4_nan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3b', 'TRI0 control', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3b', 'TRI0 ray o.x NaN', 'fan', 0x09090909, 0,
(0x42c80000, 0x7fc00000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_g3b', 'TRI0 ray o.z NaN', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x7fc00000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_g3b', 'TRI0 ray o.x +inf', 'fan', 0x09090909, 0,
(0x42c80000, 0x7f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_g3b', 'TRI0 ray d.x NaN', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x7fc00000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_g3b', 'TRI0 ray d.z NaN', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x7fc00000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_g3b', 'TRI0 ray inv.z NaN', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x7fc00000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_g3b', 'TRI0 ray inv.x NaN (axis the translator does not read)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7fc00000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_g3b', 'TRI0 ray inv.z = 4 (not 1/d.z = 2)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40800000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3b', 'TRI0 ray inv.z = 1 (not 1/d.z)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x3f800000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3b', 'TRI0 ray inv.x = 3 (not 1/d.x = inf)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x40400000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3b', 'TRI0 ray d.x = -0.0', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x80000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3b', 'TRI0 ray d.x = -0.0, inv.x = -inf', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x80000000, 0x00000000, 0x3f000000, 0xff800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3b', 'TRI0 ray d = 0, inv = +inf', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x00000000, 0x7f800000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x00000000, 0x00000000, 0x00000000)),
('tri_g3b', 'TRI0 ray d.z = +inf, inv.z = 0', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x7f800000, 0x7f800000, 0x7f800000, 0x00000000),
(0xff800000, 0xffc00000, 0xff800000, 0xff800000)),
('tri_g3b', 'TRI0 ray d.z = 1024 (t = 2^-8)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x44800000, 0x7f800000, 0x7f800000, 0x3a800000),
(0xcc000000, 0xd0000000, 0xcf000000, 0xce800000)),
('tri_g3b', 'TRI0 ray d.z = 2^-20 (t = 2^22)', 'fan', 0x09090909, 0,
(0x7f800000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x35800000, 0x7f800000, 0x7f800000, 0x49800000),
(0xae000000, 0xa3000000, 0xa2000000, 0xa1800000)),
('tri_g3b', 'TRI0 ray oblique, inv.z = 4 (not 1/d.z)', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbe800000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40800000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g3b', 'TRI0 ray oblique, inv.x = inv.y = 1 (not 1/d)', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbe800000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x3f800000, 0x3f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI0, +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI1, +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x00000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI2, +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x00000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI3, +z', 'fan', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI0, -z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI1, -z', 'fan', 0x09090909, 1,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI2, -z', 'fan', 0x09090909, 2,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI3, -z', 'fan', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI0, oblique +z', 'fan', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI1, oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI2, oblique +z', 'fan', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI3, oblique +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI0, oblique -z', 'fan', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3fc00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI1, oblique -z', 'fan', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x3fc00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI2, oblique -z', 'fan', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x3fc00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_g4a', 'fan vertex s2 (0,2), TRI3, oblique -z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x3fc00000, 0x40e00000, 0x3e000000, 0x3d800000, 0xbf000000, 0x41000000, 0x41800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_g4b', 'shared edge E01 (2,1), TRI0, +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x40000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_g4b', 'shared edge E01 (2,1), TRI1, +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_g4b', 'shared edge E03 (0,1), TRI0, +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_g4b', 'shared edge E03 (0,1), TRI3, +z', 'fan', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_g4b', 'shared edge E12 (2,2), TRI1, +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_g4b', 'shared edge E12 (2,2), TRI2, +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_g4b', 'shared edge E23 (-1,2.5), TRI2, +z', 'fan', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x40200000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_g4b', 'shared edge E23 (-1,2.5), TRI3, +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x40200000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_g4b', 'shared edge E01 (2,1), TRI0, -z', 'fan', 0x09090909, 0,
(0x42c80000, 0x40000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_g4b', 'shared edge E01 (2,1), TRI1, -z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_g4b', 'shared edge E03 (0,1), TRI0, -z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_g4b', 'shared edge E03 (0,1), TRI3, -z', 'fan', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_g4b', 'shared edge E12 (2,2), TRI1, -z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_g4b', 'shared edge E12 (2,2), TRI2, -z', 'fan', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_g4b', 'shared edge E23 (-1,2.5), TRI2, -z', 'fan', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x40200000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_g4b', 'shared edge E23 (-1,2.5), TRI3, -z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x40200000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_g4b', 'shared edge E01 (2,1), TRI0, oblique +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3f000000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_g4b', 'shared edge E01 (2,1), TRI1, oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x3f000000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_g4b', 'shared edge E03 (0,1), TRI0, oblique +z', 'fan', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3f000000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_g4b', 'shared edge E03 (0,1), TRI3, oblique +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x3f000000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_g4b', 'shared edge E12 (2,2), TRI1, oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_g4b', 'shared edge E12 (2,2), TRI2, oblique +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x3f800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_g4b', 'shared edge E23 (-1,2.5), TRI2, oblique +z', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x40000000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_g4b', 'shared edge E23 (-1,2.5), TRI3, oblique +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xc0000000, 0x40000000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_g4b', 'outer vertex s0 (0,0), TRI0, +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x00000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0x00000000)),
('tri_g4b', 'outer vertex s0 (0,0), TRI3, +z', 'fan', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x00000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0xbf000000)),
('tri_g4b', 'outer edge (2,0), TRI0, +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x40000000, 0x00000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0x00000000)),
('tri_g4b', 'outer vertex s1 (4,0), TRI0, +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x40800000, 0x00000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf800000, 0x00000000)),
('tri_g4b', 'outer vertex s1 (4,0), TRI1, +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40800000, 0x00000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0x00000000)),
('tri_g4b', 'outer vertex s3 (4,2), TRI1, +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40800000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf800000, 0x00000000)),
('tri_g4b', 'outer vertex s3 (4,2), TRI2, +z', 'fan', 0x09090909, 2,
(0x42c80000, 0x40800000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbf000000, 0x00000000)),
('tri_g4b', 'outer vertex s4 (-2,3), TRI2, +z', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x40400000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0xbf000000)),
('tri_t1', 'control tri_g1a: TRI0 hit +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_t1', 'T1 +x: E01 (2,1), TRI0, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x40000000, 0x3f800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t1', 'T1 +x: E01 (2,1), TRI1, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x40000000, 0x3f800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t1', 'T1 +x: E03 (0,1), TRI0, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x00000000, 0x3f800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t1', 'T1 +x: E03 (0,1), TRI3, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x00000000, 0x3f800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t1', 'T1 +x: E12 (2,2), TRI1, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x40000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t1', 'T1 +x: E12 (2,2), TRI2, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x40000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t1', 'T1 +x: E23 (-1,2.5), TRI2, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40200000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t1', 'T1 +x: E23 (-1,2.5), TRI3, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40200000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t1', 'T1 +x: fan vertex s2 (0,2), TRI0, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x00000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t1', 'T1 +x: fan vertex s2 (0,2), TRI1, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x00000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t1', 'T1 +x: fan vertex s2 (0,2), TRI2, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x00000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t1', 'T1 +x: fan vertex s2 (0,2), TRI3, fan, axes cycled (z->x), d=(0.5,0,0)', 'fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x00000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t1', 'T1 +x: E01 (2,1), TRI0, rotated fan, axes cycled (z->x), d=(0.5,0,0)', 'rotated_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t1', 'T1 +x: E01 (2,1), TRI1, rotated fan, axes cycled (z->x), d=(0.5,0,0)', 'rotated_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t1', 'T1 -x: E01 (2,1), TRI0, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x40000000, 0x3f800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t1', 'T1 -x: E01 (2,1), TRI1, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0x40e00000, 0x40000000, 0x3f800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t1', 'T1 -x: E03 (0,1), TRI0, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x00000000, 0x3f800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t1', 'T1 -x: E03 (0,1), TRI3, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0x40e00000, 0x00000000, 0x3f800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t1', 'T1 -x: E12 (2,2), TRI1, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0x40e00000, 0x40000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t1', 'T1 -x: E12 (2,2), TRI2, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0x40e00000, 0x40000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x40800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t1', 'T1 -x: E23 (-1,2.5), TRI2, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0x40e00000, 0xbf800000, 0x40200000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x40800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t1', 'T1 -x: E23 (-1,2.5), TRI3, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0x40e00000, 0xbf800000, 0x40200000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t1', 'T1 -x: fan vertex s2 (0,2), TRI0, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x00000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t1', 'T1 -x: fan vertex s2 (0,2), TRI1, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0x40e00000, 0x00000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t1', 'T1 -x: fan vertex s2 (0,2), TRI2, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0x40e00000, 0x00000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t1', 'T1 -x: fan vertex s2 (0,2), TRI3, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0x40e00000, 0x00000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t1', 'T1 -x: outer edge s0-s1 (2,0), TRI0, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x40000000, 0x00000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3f000000, 0x00000000)),
('tri_t1', 'T1 -x: outer vertex s0 (0,0), TRI0, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_t1', 'T1 -x: outer vertex s1 (4,0), TRI0, fan, axes cycled (z->x), d=(-0.5,0,0)', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x40800000, 0x00000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f800000, 0x00000000)),
('tri_t1', 'T1 -x: E01 (2,1), TRI0, rotated fan, axes cycled (z->x), d=(-0.5,0,0)', 'rotated_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0xbf800000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t1', 'T1 -x: E01 (2,1), TRI1, rotated fan, axes cycled (z->x), d=(-0.5,0,0)', 'rotated_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0x40e00000, 0xbf800000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t2', 'control tri_g4b: shared edge E01 (2,1), TRI1, +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t2', 'T1 +x: E01 (2,1), TRI0, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0xc0000000, 0x3f800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t2', 'T1 +x: E01 (2,1), TRI1, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0xc0000000, 0x3f800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t2', 'T1 +x: E03 (0,1), TRI0, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x00000000, 0x3f800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t2', 'T1 +x: E03 (0,1), TRI3, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x00000000, 0x3f800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x40800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t2', 'T1 +x: E12 (2,2), TRI1, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0xc0000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t2', 'T1 +x: E12 (2,2), TRI2, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0xc0000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t2', 'T1 +x: E23 (-1,2.5), TRI2, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x3f800000, 0x40200000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t2', 'T1 +x: E23 (-1,2.5), TRI3, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x3f800000, 0x40200000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x40800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t2', 'T1 +x: fan vertex s2 (0,2), TRI0, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x00000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t2', 'T1 +x: fan vertex s2 (0,2), TRI1, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x00000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t2', 'T1 +x: fan vertex s2 (0,2), TRI2, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x00000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t2', 'T1 +x: fan vertex s2 (0,2), TRI3, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0x00000000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t2', 'T1 +x: outer edge s0-s1 (2,0), TRI0, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0xc0000000, 0x00000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x00000000)),
('tri_t2', 'T1 +x: outer vertex s0 (0,0), TRI0, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_t2', 'T1 +x: outer vertex s1 (4,0), TRI0, mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0xc0800000, 0x00000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f800000, 0x00000000)),
('tri_t2', 'T1 +x: E01 (2,1), TRI0, rotated mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'rotated_mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3f800000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t2', 'T1 +x: E01 (2,1), TRI1, rotated mirrored fan, axes cycled (z->x), d=(0.5,0,0)', 'rotated_mirrored_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x3f800000, 0x40000000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t2', 'T1 -x: E01 (2,1), TRI0, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0xc0000000, 0x3f800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t2', 'T1 -x: E01 (2,1), TRI1, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0x40e00000, 0xc0000000, 0x3f800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t2', 'T1 -x: E03 (0,1), TRI0, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x00000000, 0x3f800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t2', 'T1 -x: E03 (0,1), TRI3, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0x40e00000, 0x00000000, 0x3f800000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t2', 'T1 -x: E12 (2,2), TRI1, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0x40e00000, 0xc0000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t2', 'T1 -x: E12 (2,2), TRI2, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0x40e00000, 0xc0000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xc0800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t2', 'T1 -x: E23 (-1,2.5), TRI2, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0x40e00000, 0x3f800000, 0x40200000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t2', 'T1 -x: E23 (-1,2.5), TRI3, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0x40e00000, 0x3f800000, 0x40200000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xc0800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t2', 'T1 -x: fan vertex s2 (0,2), TRI0, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x00000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t2', 'T1 -x: fan vertex s2 (0,2), TRI1, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0x40e00000, 0x00000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t2', 'T1 -x: fan vertex s2 (0,2), TRI2, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0x40e00000, 0x00000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t2', 'T1 -x: fan vertex s2 (0,2), TRI3, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 3,
(0x42c80000, 0x40e00000, 0x00000000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xc0800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t2', 'T1 -x: outer edge s0-s1 (2,0), TRI0, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0xc0000000, 0x00000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf000000, 0x00000000)),
('tri_t2', 'T1 -x: outer vertex s0 (0,0), TRI0, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0x00000000)),
('tri_t3', 'control tri_g4b: shared edge E01 (2,1), TRI0, +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x40000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t3', 'T1 -x: outer vertex s1 (4,0), TRI0, mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0xc0800000, 0x00000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf800000, 0x00000000)),
('tri_t3', 'T1 -x: E01 (2,1), TRI0, rotated mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'rotated_mirrored_fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0x40e00000, 0x3f800000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t3', 'T1 -x: E01 (2,1), TRI1, rotated mirrored fan, axes cycled (z->x), d=(-0.5,0,0)', 'rotated_mirrored_fan_x_dominant', 0x09090909, 1,
(0x42c80000, 0x40e00000, 0x3f800000, 0x40000000, 0xbf000000, 0x00000000, 0x00000000, 0xc0000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t3', 'T1 +y: E01 (2,1), TRI0, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0xbf800000, 0x40000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t3', 'T1 +y: E01 (2,1), TRI1, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0xbf800000, 0x40000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t3', 'T1 +y: E03 (0,1), TRI0, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t3', 'T1 +y: E03 (0,1), TRI3, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t3', 'T1 +y: E12 (2,2), TRI1, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0xbf800000, 0x40000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t3', 'T1 +y: E12 (2,2), TRI2, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40000000, 0xbf800000, 0x40000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t3', 'T1 +y: E23 (-1,2.5), TRI2, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40200000, 0xbf800000, 0xbf800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t3', 'T1 +y: E23 (-1,2.5), TRI3, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40200000, 0xbf800000, 0xbf800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t3', 'T1 +y: fan vertex s2 (0,2), TRI0, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t3', 'T1 +y: fan vertex s2 (0,2), TRI1, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t3', 'T1 +y: fan vertex s2 (0,2), TRI2, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t3', 'T1 +y: fan vertex s2 (0,2), TRI3, fan, axes cycled (z->y), d=(0,0.5,0)', 'fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t3', 'T1 +y: E01 (2,1), TRI0, rotated fan, axes cycled (z->y), d=(0,0.5,0)', 'rotated_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40000000, 0xbf800000, 0xbf800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t3', 'T1 +y: E01 (2,1), TRI1, rotated fan, axes cycled (z->y), d=(0,0.5,0)', 'rotated_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0xbf800000, 0xbf800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t3', 'T1 -y: E01 (2,1), TRI0, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x40e00000, 0x40000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t3', 'T1 -y: E01 (2,1), TRI1, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x40e00000, 0x40000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t3', 'T1 -y: E03 (0,1), TRI0, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t3', 'T1 -y: E03 (0,1), TRI3, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t3', 'T1 -y: E12 (2,2), TRI1, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40e00000, 0x40000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t3', 'T1 -y: E12 (2,2), TRI2, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40e00000, 0x40000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x40800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t3', 'T1 -y: E23 (-1,2.5), TRI2, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40200000, 0x40e00000, 0xbf800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x40800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t3', 'T1 -y: E23 (-1,2.5), TRI3, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40200000, 0x40e00000, 0xbf800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t3', 'T1 -y: fan vertex s2 (0,2), TRI0, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t3', 'T1 -y: fan vertex s2 (0,2), TRI1, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t3', 'T1 -y: fan vertex s2 (0,2), TRI2, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t3', 'T1 -y: fan vertex s2 (0,2), TRI3, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t3', 'T1 -y: outer edge s0-s1 (2,0), TRI0, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40e00000, 0x40000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3f000000, 0x00000000)),
('tri_t3', 'T1 -y: outer vertex s0 (0,0), TRI0, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_t4', 'control tri_g4a: fan vertex s2 (0,2), TRI2, -z', 'fan', 0x09090909, 2,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t4', 'T1 -y: outer vertex s1 (4,0), TRI0, fan, axes cycled (z->y), d=(0,-0.5,0)', 'fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40e00000, 0x40800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f800000, 0x00000000)),
('tri_t4', 'T1 -y: E01 (2,1), TRI0, rotated fan, axes cycled (z->y), d=(0,-0.5,0)', 'rotated_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40000000, 0x40e00000, 0xbf800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t4', 'T1 -y: E01 (2,1), TRI1, rotated fan, axes cycled (z->y), d=(0,-0.5,0)', 'rotated_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40e00000, 0xbf800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t4', 'T1 +y: E01 (2,1), TRI0, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0xbf800000, 0xc0000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t4', 'T1 +y: E01 (2,1), TRI1, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0xbf800000, 0xc0000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t4', 'T1 +y: E03 (0,1), TRI0, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t4', 'T1 +y: E03 (0,1), TRI3, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x40800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t4', 'T1 +y: E12 (2,2), TRI1, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0xbf800000, 0xc0000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t4', 'T1 +y: E12 (2,2), TRI2, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40000000, 0xbf800000, 0xc0000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t4', 'T1 +y: E23 (-1,2.5), TRI2, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40200000, 0xbf800000, 0x3f800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t4', 'T1 +y: E23 (-1,2.5), TRI3, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40200000, 0xbf800000, 0x3f800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x40800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t4', 'T1 +y: fan vertex s2 (0,2), TRI0, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t4', 'T1 +y: fan vertex s2 (0,2), TRI1, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t4', 'T1 +y: fan vertex s2 (0,2), TRI2, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t4', 'T1 +y: fan vertex s2 (0,2), TRI3, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t4', 'T1 +y: outer edge s0-s1 (2,0), TRI0, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbf800000, 0xc0000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x00000000)),
('tri_t4', 'T1 +y: outer vertex s0 (0,0), TRI0, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x00000000, 0x00000000)),
('tri_t4', 'T1 +y: outer vertex s1 (4,0), TRI0, mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xbf800000, 0xc0800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f800000, 0x00000000)),
('tri_t4', 'T1 +y: E01 (2,1), TRI0, rotated mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'rotated_mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40000000, 0xbf800000, 0x3f800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t4', 'T1 +y: E01 (2,1), TRI1, rotated mirrored fan, axes cycled (z->y), d=(0,0.5,0)', 'rotated_mirrored_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0xbf800000, 0x3f800000, 0x00000000, 0x3f000000, 0x00000000, 0x7f800000, 0x40000000, 0x7f800000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t4', 'T1 -y: E01 (2,1), TRI0, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x40e00000, 0xc0000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t4', 'T1 -y: E01 (2,1), TRI1, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x40e00000, 0xc0000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t4', 'T1 -y: E03 (0,1), TRI0, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t4', 'T1 -y: E03 (0,1), TRI3, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t4', 'T1 -y: E12 (2,2), TRI1, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40e00000, 0xc0000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t4', 'T1 -y: E12 (2,2), TRI2, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40e00000, 0xc0000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xc0800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t4', 'T1 -y: E23 (-1,2.5), TRI2, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40200000, 0x40e00000, 0x3f800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t4', 'T1 -y: E23 (-1,2.5), TRI3, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40200000, 0x40e00000, 0x3f800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xc0800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t4', 'T1 -y: fan vertex s2 (0,2), TRI0, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t4', 'T1 -y: fan vertex s2 (0,2), TRI1, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t4', 'T1 -y: fan vertex s2 (0,2), TRI2, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t5', 'control tri_g4b: shared edge E12 (2,2), TRI2, -z', 'fan', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t5', 'T1 -y: fan vertex s2 (0,2), TRI3, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xc0800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t5', 'T1 -y: outer edge s0-s1 (2,0), TRI0, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40e00000, 0xc0000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf000000, 0x00000000)),
('tri_t5', 'T1 -y: outer vertex s0 (0,0), TRI0, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf800000, 0x00000000, 0x00000000)),
('tri_t5', 'T1 -y: outer vertex s1 (4,0), TRI0, mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40e00000, 0xc0800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbf800000, 0x00000000)),
('tri_t5', 'T1 -y: E01 (2,1), TRI0, rotated mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'rotated_mirrored_fan_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40000000, 0x40e00000, 0x3f800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t5', 'T1 -y: E01 (2,1), TRI1, rotated mirrored fan, axes cycled (z->y), d=(0,-0.5,0)', 'rotated_mirrored_fan_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x40e00000, 0x3f800000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t5', 'T2 x-dominant: E01 (2,1), TRI0, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3f800000, 0x40400000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xc0c00000, 0xbf400000, 0xbec00000, 0xbec00000)),
('tri_t5', 'T2 x-dominant: E01 (2,1), TRI1, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x3f800000, 0x40400000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xff800000, 0xbf400000, 0x00000000, 0xbec00000)),
('tri_t5', 'T2 x-dominant: E03 (0,1), TRI0, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40400000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xc0c00000, 0xbf400000, 0x00000000, 0xbec00000)),
('tri_t5', 'T2 x-dominant: E03 (0,1), TRI3, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40400000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xff800000, 0xbec00000, 0x00000000, 0xbe400000)),
('tri_t5', 'T2 x-dominant: E12 (2,2), TRI1, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x3f800000, 0x40800000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xc0c00000, 0xbf400000, 0xbec00000, 0xbec00000)),
('tri_t5', 'T2 x-dominant: E12 (2,2), TRI2, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 2,
(0x42c80000, 0x3f800000, 0x3f800000, 0x40800000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xff800000, 0xbec00000, 0xbe400000, 0x00000000)),
('tri_t5', 'T2 x-dominant: E23 (-1,2.5), TRI2, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0xc0000000, 0x40900000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xff800000, 0xbec00000, 0x00000000, 0xbe400000)),
('tri_t5', 'T2 x-dominant: E23 (-1,2.5), TRI3, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 3,
(0x42c80000, 0xc0000000, 0xc0000000, 0x40900000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xc0400000, 0xbec00000, 0xbe400000, 0x00000000)),
('tri_t5', 'T2 x-dominant: fan vertex s2 (0,2), TRI0, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40800000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xc0c00000, 0xbf400000, 0x00000000, 0xbf400000)),
('tri_t5', 'T2 x-dominant: fan vertex s2 (0,2), TRI1, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40800000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xff800000, 0xbf400000, 0x00000000, 0xbf400000)),
('tri_t5', 'T2 x-dominant: fan vertex s2 (0,2), TRI2, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40800000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xff800000, 0xbec00000, 0x00000000, 0x00000000)),
('tri_t5', 'T2 x-dominant: fan vertex s2 (0,2), TRI3, fan on z=3+1x+0y, axes cycled (z->x), d=(0.5,0.125,-0.25)', 'fan_tilted_p1x_p0y_x_dominant', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0xbf800000, 0x40800000, 0x3f000000, 0x3e000000, 0xbe800000, 0x40000000, 0x41000000, 0xc0800000),
(0xff800000, 0xbec00000, 0x00000000, 0x00000000)),
('tri_t5', 'T2 y-dominant: E01 (2,1), TRI0, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40400000, 0x40c00000, 0xbf800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xff800000, 0xbe800000, 0xbe000000, 0xbe000000)),
('tri_t5', 'T2 y-dominant: E01 (2,1), TRI1, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40400000, 0x40c00000, 0xbf800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xc0000000, 0xbe800000, 0x00000000, 0xbe000000)),
('tri_t5', 'T2 y-dominant: E03 (0,1), TRI0, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40400000, 0x41000000, 0x3f800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xff800000, 0xbe800000, 0x00000000, 0xbe000000)),
('tri_t5', 'T2 y-dominant: E03 (0,1), TRI3, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40400000, 0x41000000, 0x3f800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xbf800000, 0xbe000000, 0x00000000, 0xbd800000)),
('tri_t5', 'T2 y-dominant: E12 (2,2), TRI1, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40800000, 0x40e00000, 0xbf800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xff800000, 0xbe800000, 0xbe000000, 0xbe000000)),
('tri_t5', 'T2 y-dominant: E12 (2,2), TRI2, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40800000, 0x40e00000, 0xbf800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xbf800000, 0xbe000000, 0xbd800000, 0x00000000)),
('tri_t5', 'T2 y-dominant: E23 (-1,2.5), TRI2, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40900000, 0x41280000, 0x40000000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xbf800000, 0xbe000000, 0x00000000, 0xbd800000)),
('tri_t5', 'T2 y-dominant: E23 (-1,2.5), TRI3, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40900000, 0x41280000, 0x40000000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xff800000, 0xbe000000, 0xbd800000, 0x00000000)),
('tri_t5', 'T2 y-dominant: fan vertex s2 (0,2), TRI0, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 0,
(0x42c80000, 0x40800000, 0x41100000, 0x3f800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xff800000, 0xbe800000, 0x00000000, 0xbe800000)),
('tri_t5', 'T2 y-dominant: fan vertex s2 (0,2), TRI1, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 1,
(0x42c80000, 0x40800000, 0x41100000, 0x3f800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xff800000, 0xbe800000, 0x00000000, 0xbe800000)),
('tri_t5', 'T2 y-dominant: fan vertex s2 (0,2), TRI2, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40800000, 0x41100000, 0x3f800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xbf800000, 0xbe000000, 0x00000000, 0x00000000)),
('tri_t5', 'T2 y-dominant: fan vertex s2 (0,2), TRI3, mirrored fan on z=3+1x+1y, axes cycled (z->y), d=(-0.25,-0.5,-0.125)', 'mirrored_fan_tilted_p1x_p1y_y_dominant', 0x09090909, 3,
(0x42c80000, 0x40800000, 0x41100000, 0x3f800000, 0xbe800000, 0xbf000000, 0xbe000000, 0xc0800000, 0xc0000000, 0xc1000000),
(0xff800000, 0xbe000000, 0x00000000, 0x00000000)),
('tri_t5', 'T3 |dx|=|dy|>|dz|: TRI0 interior hit, fan, d=(0.5,-0.5,0.25)', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0400000, 0x40880000, 0x3f800000, 0x3f000000, 0xbf000000, 0x3e800000, 0x40000000, 0xc0000000, 0x40800000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_t6', 'control tri_g1b: TRI0 dominant +x', 'fan_x_dominant', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x3f800000, 0x3e800000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_t6', 'T3 |dx|=|dy|>|dz|: TRI1 interior hit, fan, d=(-0.5,-0.5,0.25)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40f00000, 0x40a80000, 0x3f800000, 0xbf000000, 0xbf000000, 0x3e800000, 0xc0000000, 0xc0000000, 0x40800000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_t6', "T3 |dx|=|dy|>|dz|: TRI0 miss (at TRI1's point), fan, d=(-0.5,-0.5,0.25)", 'fan', 0x09090909, 0,
(0x42c80000, 0x40f00000, 0x40a80000, 0x3f800000, 0xbf000000, 0xbf000000, 0x3e800000, 0xc0000000, 0xc0000000, 0x40800000),
(0xff800000, 0xbf000000, 0xbee00000, 0xbea00000)),
('tri_t6', 'T3 |dx|=|dz|>|dy|: TRI2 interior hit, fan, d=(0.5,0.125,-0.5)', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0100000, 0x3f900000, 0x40e00000, 0x3f000000, 0x3e000000, 0xbf000000, 0x40000000, 0x41000000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_t6', 'T3 |dx|=|dz|>|dy|: TRI3 interior hit, fan, d=(-0.5,0.125,-0.5)', 'fan', 0x09090909, 3,
(0x42c80000, 0x40600000, 0x3f800000, 0x40e00000, 0xbf000000, 0x3e000000, 0xbf000000, 0xc0000000, 0x41000000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e000000, 0x3d800000)),
('tri_t6', 'T3 |dy|=|dz|>|dx|: TRI0 interior hit, fan, d=(0.125,0.5,-0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0xc0700000, 0x40e00000, 0x3e000000, 0x3f000000, 0xbf000000, 0x41000000, 0x40000000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_t6', 'T3 |dy|=|dz|>|dx|: TRI1 interior hit, fan, d=(0.125,-0.5,-0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x40a80000, 0x40e00000, 0x3e000000, 0xbf000000, 0xbf000000, 0x41000000, 0xc0000000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_t6', 'T3 |dx|=|dy|=|dz|: TRI2 interior hit, fan, d=(0.5,0.5,-0.5)', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0100000, 0xbff00000, 0x40e00000, 0x3f000000, 0x3f000000, 0xbf000000, 0x40000000, 0x40000000, 0xc0000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_t6', 'T3 |dx|=|dy|=|dz|: TRI3 interior hit, fan, d=(-0.5,0.5,0.5)', 'fan', 0x09090909, 3,
(0x42c80000, 0x40600000, 0xc0000000, 0xbf800000, 0xbf000000, 0x3f000000, 0x3f000000, 0xc0000000, 0x40000000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_t6', "T3 |dx|=|dy|=|dz|: TRI0 miss (at TRI1's point), fan, d=(-0.5,0.5,0.5)", 'fan', 0x09090909, 0,
(0x42c80000, 0x40f00000, 0xc0300000, 0xbf800000, 0xbf000000, 0x3f000000, 0x3f000000, 0xc0000000, 0x40000000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf200000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: E01 (2,1), TRI0, fan, d=(0.5,0.5,0.25)', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0000000, 0xc0400000, 0x3f800000, 0x3f000000, 0x3f000000, 0x3e800000, 0x40000000, 0x40000000, 0x40800000),
(0xff800000, 0xbf000000, 0xbe800000, 0xbe800000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: E01 (2,1), TRI1, fan, d=(0.5,0.5,0.25)', 'fan', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0xc0400000, 0x3f800000, 0x3f000000, 0x3f000000, 0x3e800000, 0x40000000, 0x40000000, 0x40800000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: E12 (2,2), TRI1, fan, d=(0.5,-0.5,0.25)', 'fan', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0x40c00000, 0x3f800000, 0x3f000000, 0xbf000000, 0x3e800000, 0x40000000, 0xc0000000, 0x40800000),
(0xff800000, 0xbf000000, 0xbe800000, 0xbe800000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: E12 (2,2), TRI2, fan, d=(0.5,-0.5,0.25)', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x40c00000, 0x3f800000, 0x3f000000, 0xbf000000, 0x3e800000, 0x40000000, 0xc0000000, 0x40800000),
(0xc0000000, 0xbe800000, 0xbe000000, 0x00000000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: E03 (0,1), TRI0, mirrored fan, d=(-0.5,0.5,0.25)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0x40800000, 0xc0400000, 0x3f800000, 0xbf000000, 0x3f000000, 0x3e800000, 0xc0000000, 0x40000000, 0x40800000),
(0x7f800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: E03 (0,1), TRI3, mirrored fan, d=(-0.5,0.5,0.25)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x40800000, 0xc0400000, 0x3f800000, 0xbf000000, 0x3f000000, 0x3e800000, 0xc0000000, 0x40000000, 0x40800000),
(0x40000000, 0x3e800000, 0x00000000, 0x3e000000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: fan vertex s2 (0,2), TRI0, fan, d=(-0.5,-0.5,0.25)', 'fan', 0x09090909, 0,
(0x42c80000, 0x40800000, 0x40c00000, 0x3f800000, 0xbf000000, 0xbf000000, 0x3e800000, 0xc0000000, 0xc0000000, 0x40800000),
(0xff800000, 0xbf000000, 0x00000000, 0xbf000000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: fan vertex s2 (0,2), TRI1, fan, d=(-0.5,-0.5,0.25)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40800000, 0x40c00000, 0x3f800000, 0xbf000000, 0xbf000000, 0x3e800000, 0xc0000000, 0xc0000000, 0x40800000),
(0xff800000, 0xbf000000, 0x00000000, 0xbf000000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: fan vertex s2 (0,2), TRI2, fan, d=(-0.5,-0.5,0.25)', 'fan', 0x09090909, 2,
(0x42c80000, 0x40800000, 0x40c00000, 0x3f800000, 0xbf000000, 0xbf000000, 0x3e800000, 0xc0000000, 0xc0000000, 0x40800000),
(0xc0000000, 0xbe800000, 0x00000000, 0x00000000)),
('tri_t6', 'T4 |dx|=|dy|>|dz|: fan vertex s2 (0,2), TRI3, fan, d=(-0.5,-0.5,0.25)', 'fan', 0x09090909, 3,
(0x42c80000, 0x40800000, 0x40c00000, 0x3f800000, 0xbf000000, 0xbf000000, 0x3e800000, 0xc0000000, 0xc0000000, 0x40800000),
(0xff800000, 0xbe800000, 0x00000000, 0x00000000)),
('tri_t6', 'T4 |dx|=|dz|>|dy|: E12 (2,2), TRI1, fan, d=(0.5,0.125,0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0x3f800000, 0xbf800000, 0x3f000000, 0x3e000000, 0x3f000000, 0x40000000, 0x41000000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t6', 'T4 |dx|=|dz|>|dy|: E12 (2,2), TRI2, fan, d=(0.5,0.125,0.5)', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x3f800000, 0xbf800000, 0x3f000000, 0x3e000000, 0x3f000000, 0x40000000, 0x41000000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t6', 'T4 |dx|=|dz|>|dy|: E01 (2,1), TRI0, fan, d=(0.5,0.125,-0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0000000, 0x00000000, 0x40e00000, 0x3f000000, 0x3e000000, 0xbf000000, 0x40000000, 0x41000000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t6', 'T4 |dx|=|dz|>|dy|: E01 (2,1), TRI1, fan, d=(0.5,0.125,-0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0x00000000, 0x40e00000, 0x3f000000, 0x3e000000, 0xbf000000, 0x40000000, 0x41000000, 0xc0000000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t6', 'T4 |dx|=|dz|>|dy|: E12 (2,2), TRI1, mirrored fan, d=(-0.5,0.125,0.5)', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x3f800000, 0xbf800000, 0xbf000000, 0x3e000000, 0x3f000000, 0xc0000000, 0x41000000, 0x40000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t6', 'T4 |dx|=|dz|>|dy|: E12 (2,2), TRI2, mirrored fan, d=(-0.5,0.125,0.5)', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0x40000000, 0x3f800000, 0xbf800000, 0xbf000000, 0x3e000000, 0x3f000000, 0xc0000000, 0x41000000, 0x40000000),
(0x40800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t6', 'T4 |dx|=|dz|>|dy|: E03 (0,1), TRI0, fan, d=(-0.5,0.125,-0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0x40800000, 0x00000000, 0x40e00000, 0xbf000000, 0x3e000000, 0xbf000000, 0xc0000000, 0x41000000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t6', 'T4 |dx|=|dz|>|dy|: E03 (0,1), TRI3, fan, d=(-0.5,0.125,-0.5)', 'fan', 0x09090909, 3,
(0x42c80000, 0x40800000, 0x00000000, 0x40e00000, 0xbf000000, 0x3e000000, 0xbf000000, 0xc0000000, 0x41000000, 0xc0000000),
(0x40800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t6', 'T4 |dy|=|dz|>|dx|: E01 (2,1), TRI0, fan, d=(0.125,0.5,0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0xc0400000, 0xbf800000, 0x3e000000, 0x3f000000, 0x3f000000, 0x41000000, 0x40000000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t6', 'T4 |dy|=|dz|>|dx|: E01 (2,1), TRI1, fan, d=(0.125,0.5,0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0xc0400000, 0xbf800000, 0x3e000000, 0x3f000000, 0x3f000000, 0x41000000, 0x40000000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t6', 'T4 |dy|=|dz|>|dx|: E03 (0,1), TRI0, mirrored fan, d=(0.125,0.5,-0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0xc0400000, 0x40e00000, 0x3e000000, 0x3f000000, 0xbf000000, 0x41000000, 0x40000000, 0xc0000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t6', 'T4 |dy|=|dz|>|dx|: E03 (0,1), TRI3, mirrored fan, d=(0.125,0.5,-0.5)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0xbf800000, 0xc0400000, 0x40e00000, 0x3e000000, 0x3f000000, 0xbf000000, 0x41000000, 0x40000000, 0xc0000000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t7', 'control tri_g4b: shared edge E23 (-1,2.5), TRI3, oblique +z', 'fan', 0x09090909, 3,
(0x42c80000, 0xc0000000, 0x40000000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xff800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t7', 'T4 |dy|=|dz|>|dx|: E01 (2,1), TRI0, fan, d=(0.125,-0.5,0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x40a00000, 0xbf800000, 0x3e000000, 0xbf000000, 0x3f000000, 0x41000000, 0xc0000000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t7', 'T4 |dy|=|dz|>|dx|: E01 (2,1), TRI1, fan, d=(0.125,-0.5,0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x40a00000, 0xbf800000, 0x3e000000, 0xbf000000, 0x3f000000, 0x41000000, 0xc0000000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t7', 'T4 |dy|=|dz|>|dx|: E12 (2,2), TRI1, fan, d=(0.125,-0.5,-0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x40c00000, 0x40e00000, 0x3e000000, 0xbf000000, 0xbf000000, 0x41000000, 0xc0000000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t7', 'T4 |dy|=|dz|>|dx|: E12 (2,2), TRI2, fan, d=(0.125,-0.5,-0.5)', 'fan', 0x09090909, 2,
(0x42c80000, 0x3f800000, 0x40c00000, 0x40e00000, 0x3e000000, 0xbf000000, 0xbf000000, 0x41000000, 0xc0000000, 0xc0000000),
(0x7f800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: fan vertex s2 (0,2), TRI0, fan, d=(0.5,0.5,0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0800000, 0xc0000000, 0xbf800000, 0x3f000000, 0x3f000000, 0x3f000000, 0x40000000, 0x40000000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: fan vertex s2 (0,2), TRI1, fan, d=(0.5,0.5,0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0xc0800000, 0xc0000000, 0xbf800000, 0x3f000000, 0x3f000000, 0x3f000000, 0x40000000, 0x40000000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: fan vertex s2 (0,2), TRI2, fan, d=(0.5,0.5,0.5)', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0800000, 0xc0000000, 0xbf800000, 0x3f000000, 0x3f000000, 0x3f000000, 0x40000000, 0x40000000, 0x40000000),
(0xc0800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: fan vertex s2 (0,2), TRI3, fan, d=(0.5,0.5,0.5)', 'fan', 0x09090909, 3,
(0x42c80000, 0xc0800000, 0xc0000000, 0xbf800000, 0x3f000000, 0x3f000000, 0x3f000000, 0x40000000, 0x40000000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: E03 (0,1), TRI0, mirrored fan, d=(0.5,0.5,-0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xc0800000, 0xc0400000, 0x40e00000, 0x3f000000, 0x3f000000, 0xbf000000, 0x40000000, 0x40000000, 0xc0000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: E03 (0,1), TRI3, mirrored fan, d=(0.5,0.5,-0.5)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0xc0800000, 0xc0400000, 0x40e00000, 0x3f000000, 0x3f000000, 0xbf000000, 0x40000000, 0x40000000, 0xc0000000),
(0xff800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: E01 (2,1), TRI0, fan, d=(0.5,0.5,-0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0000000, 0xc0400000, 0x40e00000, 0x3f000000, 0x3f000000, 0xbf000000, 0x40000000, 0x40000000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: E01 (2,1), TRI1, fan, d=(0.5,0.5,-0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0xc0400000, 0x40e00000, 0x3f000000, 0x3f000000, 0xbf000000, 0x40000000, 0x40000000, 0xc0000000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: fan vertex s2 (0,2), TRI0, fan, d=(0.5,-0.5,0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0800000, 0x40c00000, 0xbf800000, 0x3f000000, 0xbf000000, 0x3f000000, 0x40000000, 0xc0000000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: fan vertex s2 (0,2), TRI1, fan, d=(0.5,-0.5,0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0xc0800000, 0x40c00000, 0xbf800000, 0x3f000000, 0xbf000000, 0x3f000000, 0x40000000, 0xc0000000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: fan vertex s2 (0,2), TRI2, fan, d=(0.5,-0.5,0.5)', 'fan', 0x09090909, 2,
(0x42c80000, 0xc0800000, 0x40c00000, 0xbf800000, 0x3f000000, 0xbf000000, 0x3f000000, 0x40000000, 0xc0000000, 0x40000000),
(0xc0800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: fan vertex s2 (0,2), TRI3, fan, d=(0.5,-0.5,0.5)', 'fan', 0x09090909, 3,
(0x42c80000, 0xc0800000, 0x40c00000, 0xbf800000, 0x3f000000, 0xbf000000, 0x3f000000, 0x40000000, 0xc0000000, 0x40000000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: E01 (2,1), TRI0, fan, d=(-0.5,0.5,0.5)', 'fan', 0x09090909, 0,
(0x42c80000, 0x40c00000, 0xc0400000, 0xbf800000, 0xbf000000, 0x3f000000, 0x3f000000, 0xc0000000, 0x40000000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: E01 (2,1), TRI1, fan, d=(-0.5,0.5,0.5)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40c00000, 0xc0400000, 0xbf800000, 0xbf000000, 0x3f000000, 0x3f000000, 0xc0000000, 0x40000000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: E03 (0,1), TRI0, mirrored fan, d=(-0.5,0.5,0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0x40800000, 0xc0400000, 0xbf800000, 0xbf000000, 0x3f000000, 0x3f000000, 0xc0000000, 0x40000000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t7', 'T4 |dx|=|dy|=|dz|: E03 (0,1), TRI3, mirrored fan, d=(-0.5,0.5,0.5)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x40800000, 0xc0400000, 0xbf800000, 0xbf000000, 0x3f000000, 0x3f000000, 0xc0000000, 0x40000000, 0x40000000),
(0x40800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t7', 'control tri_g1b: TRI2 dominant -y', 'fan_y_dominant', 0x09090909, 2,
(0x42c80000, 0x40080000, 0x40e00000, 0x3fe00000, 0x00000000, 0xbf000000, 0x00000000, 0x7f800000, 0xc0000000, 0x7f800000),
(0x40800000, 0x3f000000, 0x3e800000, 0x3d800000)),
('tri_t7', 'control tri_g4a: fan vertex s2 (0,2), TRI1, oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t7', 'control tri_g1c: TRI1 miss beyond edge opposite v2 -z (det>0)', 'fan', 0x09090909, 1,
(0x42c80000, 0x40a00000, 0x3f000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0xbe800000)),
('tri_t7', 'control tri_g4b: outer vertex s0 (0,0), TRI0, +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x00000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0x00000000)),
('tri_t7', 'control tri_g1b: TRI0 kz tie |dx|=|dy|=|dz|', 'fan', 0x09090909, 0,
(0x42c80000, 0xc0400000, 0xc0700000, 0xbf800000, 0x3f000000, 0x3f000000, 0x3f000000, 0x40000000, 0x40000000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_t7', 'control tri_g4b: shared edge E03 (0,1), TRI0, -z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t7', 'control tri_g1a: TRI1 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_t7', 'control tri_g4b: shared edge E12 (2,2), TRI1, oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t7', 'control tri_g1b: TRI2 dominant +x', 'fan_x_dominant', 0x09090909, 2,
(0x42c80000, 0xbf800000, 0x3fe00000, 0x40080000, 0x3f000000, 0x00000000, 0x00000000, 0x40000000, 0x7f800000, 0x7f800000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_t7', 'control tri_g1a: TRI0 hit +z', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_t7', 'control tri_g4b: shared edge E01 (2,1), TRI1, +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x40000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t8', 'control tri_g1a: TRI1 mirrored leaf hit +z', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3e000000)),
('tri_t8', 'T5 +z: E01 (2,1), TRI0, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xc0000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t8', 'T5 +z: E01 (2,1), TRI1, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t8', 'T5 +z: E03 (0,1), TRI0, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t8', 'T5 +z: E03 (0,1), TRI3, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x3f800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x40800000, 0x3f000000, 0x00000000, 0x3e800000)),
('tri_t8', 'T5 +z: E12 (2,2), TRI1, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t8', 'T5 +z: E12 (2,2), TRI2, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f000000, 0x3e800000, 0x00000000)),
('tri_t8', 'T5 +z: fan vertex s2 (0,2), TRI0, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t8', 'T5 +z: fan vertex s2 (0,2), TRI1, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0x00000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f800000)),
('tri_t8', 'T5 +z: fan vertex s2 (0,2), TRI2, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0x00000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t8', 'T5 +z: fan vertex s2 (0,2), TRI3, mirrored fan, d=(0,0,0.5)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t8', 'T5 +z: E01 (2,1), TRI0, rotated mirrored fan, d=(0,0,0.5)', 'rotated_mirrored_fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x7f800000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t8', 'T5 +z: E01 (2,1), TRI1, rotated mirrored fan, d=(0,0,0.5)', 'rotated_mirrored_fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t8', 'T5 +z: E01 (2,1), TRI0, rotated fan, d=(0,0,0.5)', 'rotated_fan', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t8', 'T5 +z: E01 (2,1), TRI1, rotated fan, d=(0,0,0.5)', 'rotated_fan', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t8', 'T5 -z: E01 (2,1), TRI0, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0xc0000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t8', 'T5 -z: E01 (2,1), TRI1, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t8', 'T5 -z: E03 (0,1), TRI0, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t8', 'T5 -z: E03 (0,1), TRI3, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc0800000, 0xbf000000, 0x00000000, 0xbe800000)),
('tri_t8', 'T5 -z: E12 (2,2), TRI1, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0xc0000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t8', 'T5 -z: E12 (2,2), TRI2, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0xc0000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0x00000000)),
('tri_t8', 'T5 -z: fan vertex s2 (0,2), TRI0, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t8', 'T5 -z: fan vertex s2 (0,2), TRI1, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 1,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xff800000, 0xbf800000, 0x00000000, 0xbf800000)),
('tri_t8', 'T5 -z: fan vertex s2 (0,2), TRI2, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 2,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xff800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t8', 'T5 -z: fan vertex s2 (0,2), TRI3, mirrored fan, d=(0,0,-0.5)', 'fan_mirrored', 0x09090909, 3,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc0800000, 0xbf000000, 0x00000000, 0x00000000)),
('tri_t8', 'T5 -z: E01 (2,1), TRI0, rotated mirrored fan, d=(0,0,-0.5)', 'rotated_mirrored_fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xff800000, 0xbf800000, 0xbf000000, 0xbf000000)),
('tri_t8', 'T5 -z: E01 (2,1), TRI1, rotated mirrored fan, d=(0,0,-0.5)', 'rotated_mirrored_fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0xc1000000, 0xbf800000, 0x00000000, 0xbf000000)),
('tri_t8', 'T5 -z: E01 (2,1), TRI0, rotated fan, d=(0,0,-0.5)', 'rotated_fan', 0x09090909, 0,
(0x42c80000, 0xbf800000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3f000000, 0x3f000000)),
('tri_t8', 'T5 -z: E01 (2,1), TRI1, rotated fan, d=(0,0,-0.5)', 'rotated_fan', 0x09090909, 1,
(0x42c80000, 0xbf800000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x7f800000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t8', 'control tri_g4b: shared edge E03 (0,1), TRI0, -z', 'fan', 0x09090909, 0,
(0x42c80000, 0x00000000, 0x3f800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x00000000, 0x3f000000)),
('tri_t8', 'control tri_g4a: fan vertex s2 (0,2), TRI2, -z', 'fan', 0x09090909, 2,
(0x42c80000, 0x00000000, 0x40000000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x40800000, 0x3f000000, 0x00000000, 0x00000000)),
('tri_t8', 'control tri_g4b: shared edge E12 (2,2), TRI1, oblique +z', 'fan', 0x09090909, 1,
(0x42c80000, 0x3f800000, 0x3fc00000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbf000000)),
]
LANE_ROWS = [
('tri_lanes_w32', 'TRI0 hit +z, origin + lane offset, lane 0', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_lanes_w32', 'TRI0 hit +z, origin + lane offset, lane 15', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe9e0000, 0xbe000000)),
('tri_lanes_w32', 'TRI0 hit +z, origin + lane offset, lane 16', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e880000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe080000)),
('tri_lanes_w32', 'TRI0 hit +z, origin + lane offset, lane 31', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e880000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe9e0000, 0xbe080000)),
('tri_lanes_w32', 'TRI0 hit +z, origin + lane offset, lane 32', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e900000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe100000)),
('tri_lanes_w32', 'TRI0 hit +z, origin + lane offset, lane 63', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e980000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe9e0000, 0xbe180000)),
('tri_lanes_w32', 'TRI1 hit +z, origin + lane offset, lane 0', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_lanes_w32', 'TRI1 hit +z, origin + lane offset, lane 15', 'fan', 0x09090909, 1,
(0x42c80000, 0x406f0000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf0f0000, 0xbd880000)),
('tri_lanes_w32', 'TRI1 hit +z, origin + lane offset, lane 16', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa20000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf020000, 0xbe000000)),
('tri_lanes_w32', 'TRI1 hit +z, origin + lane offset, lane 31', 'fan', 0x09090909, 1,
(0x42c80000, 0x406f0000, 0x3fa20000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf110000, 0xbd880000)),
('tri_lanes_w32', 'TRI1 hit +z, origin + lane offset, lane 32', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa40000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf040000, 0xbe000000)),
('tri_lanes_w32', 'TRI1 hit +z, origin + lane offset, lane 63', 'fan', 0x09090909, 1,
(0x42c80000, 0x406f0000, 0x3fa60000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf150000, 0xbd880000)),
('tri_lanes_w32', 'TRI2 hit +z, origin + lane offset, lane 0', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_lanes_w32', 'TRI2 hit +z, origin + lane offset, lane 15', 'fan', 0x09090909, 2,
(0x42c80000, 0x3ffe0000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe8f0000, 0xbd800000)),
('tri_lanes_w32', 'TRI2 hit +z, origin + lane offset, lane 16', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40090000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe820000, 0xbd900000)),
('tri_lanes_w32', 'TRI2 hit +z, origin + lane offset, lane 31', 'fan', 0x09090909, 2,
(0x42c80000, 0x3ffe0000, 0x40090000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe910000, 0xbd900000)),
('tri_lanes_w32', 'TRI2 hit +z, origin + lane offset, lane 32', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x400a0000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe840000, 0xbda00000)),
('tri_lanes_w32', 'TRI2 hit +z, origin + lane offset, lane 63', 'fan', 0x09090909, 2,
(0x42c80000, 0x3ffe0000, 0x400b0000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe950000, 0xbdb00000)),
('tri_lanes_w32', 'TRI3 hit +z, origin + lane offset, lane 0', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_lanes_w32', 'TRI3 hit +z, origin + lane offset, lane 15', 'fan', 0x09090909, 3,
(0x42c80000, 0xbe880000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd880000, 0xbd080000)),
('tri_lanes_w32', 'TRI3 hit +z, origin + lane offset, lane 16', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40010000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd700000)),
('tri_lanes_w32', 'TRI3 hit +z, origin + lane offset, lane 31', 'fan', 0x09090909, 3,
(0x42c80000, 0xbe880000, 0x40010000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd880000, 0xbcf00000)),
('tri_lanes_w32', 'TRI3 hit +z, origin + lane offset, lane 32', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40020000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd600000)),
('tri_lanes_w32', 'TRI3 hit +z, origin + lane offset, lane 63', 'fan', 0x09090909, 3,
(0x42c80000, 0xbe880000, 0x40030000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd880000, 0xbcb00000)),
('tri_lanes_w32', 'TRI0 hit -z, origin + lane offset, lane 0', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_lanes_w32', 'TRI0 hit -z, origin + lane offset, lane 15', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e9e0000, 0x3e000000)),
('tri_lanes_w32', 'TRI0 hit -z, origin + lane offset, lane 16', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e880000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e080000)),
('tri_lanes_w32', 'TRI0 hit -z, origin + lane offset, lane 31', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e880000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e9e0000, 0x3e080000)),
('tri_lanes_w32', 'TRI0 hit -z, origin + lane offset, lane 32', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e900000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e100000)),
('tri_lanes_w32', 'TRI0 hit -z, origin + lane offset, lane 63', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e980000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e9e0000, 0x3e180000)),
('tri_lanes_w32', 'TRI0 miss, origin + lane offset, lane 0', 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf200000)),
('tri_lanes_w32', 'TRI0 miss, origin + lane offset, lane 15', 'fan', 0x09090909, 0,
(0x42c80000, 0x406f0000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf6f0000, 0xbf200000)),
('tri_lanes_w32', 'TRI0 miss, origin + lane offset, lane 16', 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa20000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf220000)),
('tri_lanes_w32', 'TRI0 miss, origin + lane offset, lane 31', 'fan', 0x09090909, 0,
(0x42c80000, 0x406f0000, 0x3fa20000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf6f0000, 0xbf220000)),
('tri_lanes_w32', 'TRI0 miss, origin + lane offset, lane 32', 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa40000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf240000)),
('tri_lanes_w32', 'TRI0 miss, origin + lane offset, lane 63', 'fan', 0x09090909, 0,
(0x42c80000, 0x406f0000, 0x3fa60000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf6f0000, 0xbf260000)),
('tri_lanes_w32', 'TRI1 hit oblique +z, origin + lane offset, lane 0', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f400000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_lanes_w32', 'TRI1 hit oblique +z, origin + lane offset, lane 15', 'fan', 0x09090909, 1,
(0x42c80000, 0x402f0000, 0x3f400000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf0f0000, 0xbd880000)),
('tri_lanes_w32', 'TRI1 hit oblique +z, origin + lane offset, lane 16', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f440000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf020000, 0xbe000000)),
('tri_lanes_w32', 'TRI1 hit oblique +z, origin + lane offset, lane 31', 'fan', 0x09090909, 1,
(0x42c80000, 0x402f0000, 0x3f440000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf110000, 0xbd880000)),
('tri_lanes_w32', 'TRI1 hit oblique +z, origin + lane offset, lane 32', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f480000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf040000, 0xbe000000)),
('tri_lanes_w32', 'TRI1 hit oblique +z, origin + lane offset, lane 63', 'fan', 0x09090909, 1,
(0x42c80000, 0x402f0000, 0x3f4c0000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf150000, 0xbd880000)),
('tri_lanes_w64', 'TRI0 hit +z, origin + lane offset, lane 0', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe000000)),
('tri_lanes_w64', 'TRI0 hit +z, origin + lane offset, lane 15', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e800000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe9e0000, 0xbe000000)),
('tri_lanes_w64', 'TRI0 hit +z, origin + lane offset, lane 16', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e880000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe080000)),
('tri_lanes_w64', 'TRI0 hit +z, origin + lane offset, lane 31', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e880000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe9e0000, 0xbe080000)),
('tri_lanes_w64', 'TRI0 hit +z, origin + lane offset, lane 32', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e900000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe800000, 0xbe100000)),
('tri_lanes_w64', 'TRI0 hit +z, origin + lane offset, lane 63', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e980000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbe9e0000, 0xbe180000)),
('tri_lanes_w64', 'TRI1 hit +z, origin + lane offset, lane 0', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_lanes_w64', 'TRI1 hit +z, origin + lane offset, lane 15', 'fan', 0x09090909, 1,
(0x42c80000, 0x406f0000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf0f0000, 0xbd880000)),
('tri_lanes_w64', 'TRI1 hit +z, origin + lane offset, lane 16', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa20000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf020000, 0xbe000000)),
('tri_lanes_w64', 'TRI1 hit +z, origin + lane offset, lane 31', 'fan', 0x09090909, 1,
(0x42c80000, 0x406f0000, 0x3fa20000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf110000, 0xbd880000)),
('tri_lanes_w64', 'TRI1 hit +z, origin + lane offset, lane 32', 'fan', 0x09090909, 1,
(0x42c80000, 0x40600000, 0x3fa40000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf040000, 0xbe000000)),
('tri_lanes_w64', 'TRI1 hit +z, origin + lane offset, lane 63', 'fan', 0x09090909, 1,
(0x42c80000, 0x406f0000, 0x3fa60000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf150000, 0xbd880000)),
('tri_lanes_w64', 'TRI2 hit +z, origin + lane offset, lane 0', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe800000, 0xbd800000)),
('tri_lanes_w64', 'TRI2 hit +z, origin + lane offset, lane 15', 'fan', 0x09090909, 2,
(0x42c80000, 0x3ffe0000, 0x40080000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe8f0000, 0xbd800000)),
('tri_lanes_w64', 'TRI2 hit +z, origin + lane offset, lane 16', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x40090000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe820000, 0xbd900000)),
('tri_lanes_w64', 'TRI2 hit +z, origin + lane offset, lane 31', 'fan', 0x09090909, 2,
(0x42c80000, 0x3ffe0000, 0x40090000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe910000, 0xbd900000)),
('tri_lanes_w64', 'TRI2 hit +z, origin + lane offset, lane 32', 'fan', 0x09090909, 2,
(0x42c80000, 0x3fe00000, 0x400a0000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe840000, 0xbda00000)),
('tri_lanes_w64', 'TRI2 hit +z, origin + lane offset, lane 63', 'fan', 0x09090909, 2,
(0x42c80000, 0x3ffe0000, 0x400b0000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe950000, 0xbdb00000)),
('tri_lanes_w64', 'TRI3 hit +z, origin + lane offset, lane 0', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd800000)),
('tri_lanes_w64', 'TRI3 hit +z, origin + lane offset, lane 15', 'fan', 0x09090909, 3,
(0x42c80000, 0xbe880000, 0x40000000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd880000, 0xbd080000)),
('tri_lanes_w64', 'TRI3 hit +z, origin + lane offset, lane 16', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40010000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd700000)),
('tri_lanes_w64', 'TRI3 hit +z, origin + lane offset, lane 31', 'fan', 0x09090909, 3,
(0x42c80000, 0xbe880000, 0x40010000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd880000, 0xbcf00000)),
('tri_lanes_w64', 'TRI3 hit +z, origin + lane offset, lane 32', 'fan', 0x09090909, 3,
(0x42c80000, 0xbf000000, 0x40020000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbe000000, 0xbd600000)),
('tri_lanes_w64', 'TRI3 hit +z, origin + lane offset, lane 63', 'fan', 0x09090909, 3,
(0x42c80000, 0xbe880000, 0x40030000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xc0800000, 0xbf000000, 0xbd880000, 0xbcb00000)),
('tri_lanes_w64', 'TRI0 hit -z, origin + lane offset, lane 0', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e000000)),
('tri_lanes_w64', 'TRI0 hit -z, origin + lane offset, lane 15', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e800000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e9e0000, 0x3e000000)),
('tri_lanes_w64', 'TRI0 hit -z, origin + lane offset, lane 16', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e880000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e080000)),
('tri_lanes_w64', 'TRI0 hit -z, origin + lane offset, lane 31', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e880000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e9e0000, 0x3e080000)),
('tri_lanes_w64', 'TRI0 hit -z, origin + lane offset, lane 32', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f800000, 0x3e900000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e800000, 0x3e100000)),
('tri_lanes_w64', 'TRI0 hit -z, origin + lane offset, lane 63', 'fan', 0x09090909, 0,
(0x42c80000, 0x3f9e0000, 0x3e980000, 0x40e00000, 0x00000000, 0x00000000, 0xbf000000, 0x7f800000, 0x7f800000, 0xc0000000),
(0x41000000, 0x3f800000, 0x3e9e0000, 0x3e180000)),
('tri_lanes_w64', 'TRI0 miss, origin + lane offset, lane 0', 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf200000)),
('tri_lanes_w64', 'TRI0 miss, origin + lane offset, lane 15', 'fan', 0x09090909, 0,
(0x42c80000, 0x406f0000, 0x3fa00000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf6f0000, 0xbf200000)),
('tri_lanes_w64', 'TRI0 miss, origin + lane offset, lane 16', 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa20000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf220000)),
('tri_lanes_w64', 'TRI0 miss, origin + lane offset, lane 31', 'fan', 0x09090909, 0,
(0x42c80000, 0x406f0000, 0x3fa20000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf6f0000, 0xbf220000)),
('tri_lanes_w64', 'TRI0 miss, origin + lane offset, lane 32', 'fan', 0x09090909, 0,
(0x42c80000, 0x40600000, 0x3fa40000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf600000, 0xbf240000)),
('tri_lanes_w64', 'TRI0 miss, origin + lane offset, lane 63', 'fan', 0x09090909, 0,
(0x42c80000, 0x406f0000, 0x3fa60000, 0xbf800000, 0x00000000, 0x00000000, 0x3f000000, 0x7f800000, 0x7f800000, 0x40000000),
(0xff800000, 0xbf800000, 0xbf6f0000, 0xbf260000)),
('tri_lanes_w64', 'TRI1 hit oblique +z, origin + lane offset, lane 0', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f400000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf000000, 0xbe000000)),
('tri_lanes_w64', 'TRI1 hit oblique +z, origin + lane offset, lane 15', 'fan', 0x09090909, 1,
(0x42c80000, 0x402f0000, 0x3f400000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf0f0000, 0xbd880000)),
('tri_lanes_w64', 'TRI1 hit oblique +z, origin + lane offset, lane 16', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f440000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf020000, 0xbe000000)),
('tri_lanes_w64', 'TRI1 hit oblique +z, origin + lane offset, lane 31', 'fan', 0x09090909, 1,
(0x42c80000, 0x402f0000, 0x3f440000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf110000, 0xbd880000)),
('tri_lanes_w64', 'TRI1 hit oblique +z, origin + lane offset, lane 32', 'fan', 0x09090909, 1,
(0x42c80000, 0x40200000, 0x3f480000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf040000, 0xbe000000)),
('tri_lanes_w64', 'TRI1 hit oblique +z, origin + lane offset, lane 63', 'fan', 0x09090909, 1,
(0x42c80000, 0x402f0000, 0x3f4c0000, 0xbf800000, 0x3e000000, 0x3d800000, 0x3f000000, 0x41000000, 0x41800000, 0x40000000),
(0xc1000000, 0xbf800000, 0xbf150000, 0xbd880000)),
]
# END MEASURED DATA
def program(form, nsa):
"""A pixel shader that loads the node id and the ray from memory and exports the instruction's four words."""
lines = ["s_buffer_load_dwordx16 s[8:23], s[0:3], 0", "s_waitcnt lgkmcnt(0)"]
if form == "64":
lines += [f"v_mov_b32_e32 v{1 + i}, s{8 + i}" for i in range(12)] # v1:v2 node id, v3..v12 ray
lines += ["s_mov_b32 s4, 0", "s_mov_b32 s5, 0x80000000"] # base 0: the id is the address
regs = [f"v{1 + i}" for i in range(12)]
op = "image_bvh64_intersect_ray"
else:
lines += ["v_mov_b32_e32 v1, s8"] + [f"v_mov_b32_e32 v{2 + i}, s{10 + i}" for i in range(10)]
lines += [f"s_mov_b32 s4, 0x{NODE >> 8:x}", "s_mov_b32 s5, 0x80000000"] # base = NODE in 256-byte units
regs = [f"v{1 + i}" for i in range(11)]
op = "image_bvh_intersect_ray"
addr = "[" + ", ".join(regs) + "]" if nsa else f"v[1:{len(regs)}]"
lines += ["s_mov_b32 s6, -1", "s_mov_b32 s7, 0x81000000",
f"{op} v[20:23], {addr}, s[4:7]", "exp mrt0 v20, v21, v22, v23 done vm", "s_endpgm"]
return translate_lines(f"ps_bvh_tri_hw_{form}{'_nsa' if nsa else ''}", lines)
_SPV = {}
def run(form, nsa, node, w15, ntype, ray):
key = (form, nsa)
if key not in _SPV:
_SPV[key] = program(form, nsa)
nid = (NODE >> 3 | ntype) if form == "64" else ntype
mem = {RAY + 4 * i: w for i, w in enumerate([nid, 0, *ray, 0, 0, 0, 0])}
mem.update({NODE + 4 * i: w for i, w in enumerate(NODES[node] + [w15])})
return list(mrt0_words(_SPV[key], push_constants=PUSH, memory=mem))
def words(ws):
return " ".join(f"{w:08x}" for w in ws)
class MeasuredTriangleNodes(unittest.TestCase):
def check(self, rows):
for kernel, label, node, w15, ntype, ray, hw in rows:
for form in ("32", "64"):
with self.subTest(kernel=kernel, case=label, form=form):
got = run(form, kernel.endswith("_nsa"), node, w15, ntype, ray)
self.assertEqual(words(got), words(hw))
def test_single_lane_rows(self):
self.check(ROWS)
def test_lane_rows(self):
self.check(LANE_ROWS)
def test_table(self):
# a row dropped from the table (or one kernel's rows lost) fails here, not silently
per = {}
for kernel, *_ in ROWS:
per[kernel] = per.get(kernel, 0) + 1
self.assertEqual(per, {"tri_g1a": 25, "tri_g1a_nsa": 25, "tri_g1a_w64": 25, "tri_g1b": 16, "tri_g1c": 30,
"tri_g2a": 32, "tri_g2b": 32, "tri_g2c": 32, "tri_g3a": 24, "tri_g3b": 19,
"tri_g4a": 16, "tri_g4b": 32, **{f"tri_t{i}": 32 for i in range(1, 9)}})
self.assertEqual(len(LANE_ROWS), 2 * 7 * 6)
self.assertEqual(len({(k, lb) for k, lb, *_ in ROWS}), len(ROWS))
if __name__ == "__main__":
unittest.main()