aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/gen8.xml
blob: a89283ded6ba6d5ebe1ad5d45742a3a64854be46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
<?xml version="1.0" ?>
<genxml name="BDW" gen="8">
  <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
    <value name="POINTLIST" value="1"/>
    <value name="LINELIST" value="2"/>
    <value name="LINESTRIP" value="3"/>
    <value name="TRILIST" value="4"/>
    <value name="TRISTRIP" value="5"/>
    <value name="TRIFAN" value="6"/>
    <value name="QUADLIST" value="7"/>
    <value name="QUADSTRIP" value="8"/>
    <value name="LINELIST_ADJ" value="9"/>
    <value name="LINESTRIP_ADJ" value="10"/>
    <value name="TRILIST_ADJ" value="11"/>
    <value name="TRISTRIP_ADJ" value="12"/>
    <value name="TRISTRIP_REVERSE" value="13"/>
    <value name="POLYGON" value="14"/>
    <value name="RECTLIST" value="15"/>
    <value name="LINELOOP" value="16"/>
    <value name="POINTLIST _BF" value="17"/>
    <value name="LINESTRIP_CONT" value="18"/>
    <value name="LINESTRIP_BF" value="19"/>
    <value name="LINESTRIP_CONT_BF" value="20"/>
    <value name="TRIFAN_NOSTIPPLE" value="22"/>
    <value name="PATCHLIST_1" value="32"/>
    <value name="PATCHLIST_2" value="33"/>
    <value name="PATCHLIST_3" value="34"/>
    <value name="PATCHLIST_4" value="35"/>
    <value name="PATCHLIST_5" value="36"/>
    <value name="PATCHLIST_6" value="37"/>
    <value name="PATCHLIST_7" value="38"/>
    <value name="PATCHLIST_8" value="39"/>
    <value name="PATCHLIST_9" value="40"/>
    <value name="PATCHLIST_10" value="41"/>
    <value name="PATCHLIST_11" value="42"/>
    <value name="PATCHLIST_12" value="43"/>
    <value name="PATCHLIST_13" value="44"/>
    <value name="PATCHLIST_14" value="45"/>
    <value name="PATCHLIST_15" value="46"/>
    <value name="PATCHLIST_16" value="47"/>
    <value name="PATCHLIST_17" value="48"/>
    <value name="PATCHLIST_18" value="49"/>
    <value name="PATCHLIST_19" value="50"/>
    <value name="PATCHLIST_20" value="51"/>
    <value name="PATCHLIST_21" value="52"/>
    <value name="PATCHLIST_22" value="53"/>
    <value name="PATCHLIST_23" value="54"/>
    <value name="PATCHLIST_24" value="55"/>
    <value name="PATCHLIST_25" value="56"/>
    <value name="PATCHLIST_26" value="57"/>
    <value name="PATCHLIST_27" value="58"/>
    <value name="PATCHLIST_28" value="59"/>
    <value name="PATCHLIST_29" value="60"/>
    <value name="PATCHLIST_30" value="61"/>
    <value name="PATCHLIST_31" value="62"/>
    <value name="PATCHLIST_32" value="63"/>
  </enum>

  <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
    <value name="NOSTORE" value="0"/>
    <value name="STORE_SRC" value="1"/>
    <value name="STORE_0" value="2"/>
    <value name="STORE_1_FP" value="3"/>
    <value name="STORE_1_INT" value="4"/>
    <value name="STORE_PID" value="7"/>
  </enum>

  <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
    <value name="X" value="1"/>
    <value name="Y" value="2"/>
    <value name="XY" value="3"/>
    <value name="Z" value="4"/>
    <value name="XZ" value="5"/>
    <value name="YZ" value="6"/>
    <value name="XYZ" value="7"/>
    <value name="W" value="8"/>
    <value name="XW" value="9"/>
    <value name="YW" value="10"/>
    <value name="XYW" value="11"/>
    <value name="ZW" value="12"/>
    <value name="XZW" value="13"/>
    <value name="YZW" value="14"/>
    <value name="XYZW" value="15"/>
  </enum>

  <enum name="3D_Stencil_Operation" prefix="STENCILOP">
    <value name="KEEP" value="0"/>
    <value name="ZERO" value="1"/>
    <value name="REPLACE" value="2"/>
    <value name="INCRSAT" value="3"/>
    <value name="DECRSAT" value="4"/>
    <value name="INCR" value="5"/>
    <value name="DECR" value="6"/>
    <value name="INVERT" value="7"/>
  </enum>

  <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
    <value name="ONE" value="1"/>
    <value name="SRC_COLOR" value="2"/>
    <value name="SRC_ALPHA" value="3"/>
    <value name="DST_ALPHA" value="4"/>
    <value name="DST_COLOR" value="5"/>
    <value name="SRC_ALPHA_SATURATE" value="6"/>
    <value name="CONST_COLOR" value="7"/>
    <value name="CONST_ALPHA" value="8"/>
    <value name="SRC1_COLOR" value="9"/>
    <value name="SRC1_ALPHA" value="10"/>
    <value name="ZERO" value="17"/>
    <value name="INV_SRC_COLOR" value="18"/>
    <value name="INV_SRC_ALPHA" value="19"/>
    <value name="INV_DST_ALPHA" value="20"/>
    <value name="INV_DST_COLOR" value="21"/>
    <value name="INV_CONST_COLOR" value="23"/>
    <value name="INV_CONST_ALPHA" value="24"/>
    <value name="INV_SRC1_COLOR" value="25"/>
    <value name="INV_SRC1_ALPHA" value="26"/>
  </enum>

  <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION">
    <value name="ADD" value="0"/>
    <value name="SUBTRACT" value="1"/>
    <value name="REVERSE_SUBTRACT" value="2"/>
    <value name="MIN" value="3"/>
    <value name="MAX" value="4"/>
  </enum>

  <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION">
    <value name="ALWAYS" value="0"/>
    <value name="NEVER" value="1"/>
    <value name="LESS" value="2"/>
    <value name="EQUAL" value="3"/>
    <value name="LEQUAL" value="4"/>
    <value name="GREATER" value="5"/>
    <value name="NOTEQUAL" value="6"/>
    <value name="GEQUAL" value="7"/>
  </enum>

  <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
    <value name="CLEAR" value="0"/>
    <value name="NOR" value="1"/>
    <value name="AND_INVERTED" value="2"/>
    <value name="COPY_INVERTED" value="3"/>
    <value name="AND_REVERSE" value="4"/>
    <value name="INVERT" value="5"/>
    <value name="XOR" value="6"/>
    <value name="NAND" value="7"/>
    <value name="AND" value="8"/>
    <value name="EQUIV" value="9"/>
    <value name="NOOP" value="10"/>
    <value name="OR_INVERTED" value="11"/>
    <value name="COPY" value="12"/>
    <value name="OR_REVERSE" value="13"/>
    <value name="OR" value="14"/>
    <value name="SET" value="15"/>
  </enum>

  <enum name="SURFACE_FORMAT" prefix="SF">
    <value name="R32G32B32A32_FLOAT" value="0"/>
    <value name="R32G32B32A32_SINT" value="1"/>
    <value name="R32G32B32A32_UINT" value="2"/>
    <value name="R32G32B32A32_UNORM" value="3"/>
    <value name="R32G32B32A32_SNORM" value="4"/>
    <value name="R64G64_FLOAT" value="5"/>
    <value name="R32G32B32X32_FLOAT" value="6"/>
    <value name="R32G32B32A32_SSCALED" value="7"/>
    <value name="R32G32B32A32_USCALED" value="8"/>
    <value name="R32G32B32A32_SFIXED" value="32"/>
    <value name="R64G64_PASSTHRU" value="33"/>
    <value name="R32G32B32_FLOAT" value="64"/>
    <value name="R32G32B32_SINT" value="65"/>
    <value name="R32G32B32_UINT" value="66"/>
    <value name="R32G32B32_UNORM" value="67"/>
    <value name="R32G32B32_SNORM" value="68"/>
    <value name="R32G32B32_SSCALED" value="69"/>
    <value name="R32G32B32_USCALED" value="70"/>
    <value name="R32G32B32_SFIXED" value="80"/>
    <value name="R16G16B16A16_UNORM" value="128"/>
    <value name="R16G16B16A16_SNORM" value="129"/>
    <value name="R16G16B16A16_SINT" value="130"/>
    <value name="R16G16B16A16_UINT" value="131"/>
    <value name="R16G16B16A16_FLOAT" value="132"/>
    <value name="R32G32_FLOAT" value="133"/>
    <value name="R32G32_SINT" value="134"/>
    <value name="R32G32_UINT" value="135"/>
    <value name="R32_FLOAT_X8X24_TYPELESS" value="136"/>
    <value name="X32_TYPELESS_G8X24_UINT" value="137"/>
    <value name="L32A32_FLOAT" value="138"/>
    <value name="R32G32_UNORM" value="139"/>
    <value name="R32G32_SNORM" value="140"/>
    <value name="R64_FLOAT" value="141"/>
    <value name="R16G16B16X16_UNORM" value="142"/>
    <value name="R16G16B16X16_FLOAT" value="143"/>
    <value name="A32X32_FLOAT" value="144"/>
    <value name="L32X32_FLOAT" value="145"/>
    <value name="I32X32_FLOAT" value="146"/>
    <value name="R16G16B16A16_SSCALED" value="147"/>
    <value name="R16G16B16A16_USCALED" value="148"/>
    <value name="R32G32_SSCALED" value="149"/>
    <value name="R32G32_USCALED" value="150"/>
    <value name="R32G32_SFIXED" value="160"/>
    <value name="R64_PASSTHRU" value="161"/>
    <value name="B8G8R8A8_UNORM" value="192"/>
    <value name="B8G8R8A8_UNORM_SRGB" value="193"/>
    <value name="R10G10B10A2_UNORM" value="194"/>
    <value name="R10G10B10A2_UNORM_SRGB" value="195"/>
    <value name="R10G10B10A2_UINT" value="196"/>
    <value name="R10G10B10_SNORM_A2_UNORM" value="197"/>
    <value name="R8G8B8A8_UNORM" value="199"/>
    <value name="R8G8B8A8_UNORM_SRGB" value="200"/>
    <value name="R8G8B8A8_SNORM" value="201"/>
    <value name="R8G8B8A8_SINT" value="202"/>
    <value name="R8G8B8A8_UINT" value="203"/>
    <value name="R16G16_UNORM" value="204"/>
    <value name="R16G16_SNORM" value="205"/>
    <value name="R16G16_SINT" value="206"/>
    <value name="R16G16_UINT" value="207"/>
    <value name="R16G16_FLOAT" value="208"/>
    <value name="B10G10R10A2_UNORM" value="209"/>
    <value name="B10G10R10A2_UNORM_SRGB" value="210"/>
    <value name="R11G11B10_FLOAT" value="211"/>
    <value name="R32_SINT" value="214"/>
    <value name="R32_UINT" value="215"/>
    <value name="R32_FLOAT" value="216"/>
    <value name="R24_UNORM_X8_TYPELESS" value="217"/>
    <value name="X24_TYPELESS_G8_UINT" value="218"/>
    <value name="L32_UNORM" value="221"/>
    <value name="A32_UNORM" value="222"/>
    <value name="L16A16_UNORM" value="223"/>
    <value name="I24X8_UNORM" value="224"/>
    <value name="L24X8_UNORM" value="225"/>
    <value name="A24X8_UNORM" value="226"/>
    <value name="I32_FLOAT" value="227"/>
    <value name="L32_FLOAT" value="228"/>
    <value name="A32_FLOAT" value="229"/>
    <value name="X8B8_UNORM_G8R8_SNORM" value="230"/>
    <value name="A8X8_UNORM_G8R8_SNORM" value="231"/>
    <value name="B8X8_UNORM_G8R8_SNORM" value="232"/>
    <value name="B8G8R8X8_UNORM" value="233"/>
    <value name="B8G8R8X8_UNORM_SRGB" value="234"/>
    <value name="R8G8B8X8_UNORM" value="235"/>
    <value name="R8G8B8X8_UNORM_SRGB" value="236"/>
    <value name="R9G9B9E5_SHAREDEXP" value="237"/>
    <value name="B10G10R10X2_UNORM" value="238"/>
    <value name="L16A16_FLOAT" value="240"/>
    <value name="R32_UNORM" value="241"/>
    <value name="R32_SNORM" value="242"/>
    <value name="R10G10B10X2_USCALED" value="243"/>
    <value name="R8G8B8A8_SSCALED" value="244"/>
    <value name="R8G8B8A8_USCALED" value="245"/>
    <value name="R16G16_SSCALED" value="246"/>
    <value name="R16G16_USCALED" value="247"/>
    <value name="R32_SSCALED" value="248"/>
    <value name="R32_USCALED" value="249"/>
    <value name="B5G6R5_UNORM" value="256"/>
    <value name="B5G6R5_UNORM_SRGB" value="257"/>
    <value name="B5G5R5A1_UNORM" value="258"/>
    <value name="B5G5R5A1_UNORM_SRGB" value="259"/>
    <value name="B4G4R4A4_UNORM" value="260"/>
    <value name="B4G4R4A4_UNORM_SRGB" value="261"/>
    <value name="R8G8_UNORM" value="262"/>
    <value name="R8G8_SNORM" value="263"/>
    <value name="R8G8_SINT" value="264"/>
    <value name="R8G8_UINT" value="265"/>
    <value name="R16_UNORM" value="266"/>
    <value name="R16_SNORM" value="267"/>
    <value name="R16_SINT" value="268"/>
    <value name="R16_UINT" value="269"/>
    <value name="R16_FLOAT" value="270"/>
    <value name="A8P8_UNORM_PALETTE0" value="271"/>
    <value name="A8P8_UNORM_PALETTE1" value="272"/>
    <value name="I16_UNORM" value="273"/>
    <value name="L16_UNORM" value="274"/>
    <value name="A16_UNORM" value="275"/>
    <value name="L8A8_UNORM" value="276"/>
    <value name="I16_FLOAT" value="277"/>
    <value name="L16_FLOAT" value="278"/>
    <value name="A16_FLOAT" value="279"/>
    <value name="L8A8_UNORM_SRGB" value="280"/>
    <value name="R5G5_SNORM_B6_UNORM" value="281"/>
    <value name="B5G5R5X1_UNORM" value="282"/>
    <value name="B5G5R5X1_UNORM_SRGB" value="283"/>
    <value name="R8G8_SSCALED" value="284"/>
    <value name="R8G8_USCALED" value="285"/>
    <value name="R16_SSCALED" value="286"/>
    <value name="R16_USCALED" value="287"/>
    <value name="P8A8_UNORM_PALETTE0" value="290"/>
    <value name="P8A8_UNORM_PALETTE1" value="291"/>
    <value name="A1B5G5R5_UNORM" value="292"/>
    <value name="A4B4G4R4_UNORM" value="293"/>
    <value name="L8A8_UINT" value="294"/>
    <value name="L8A8_SINT" value="295"/>
    <value name="R8_UNORM" value="320"/>
    <value name="R8_SNORM" value="321"/>
    <value name="R8_SINT" value="322"/>
    <value name="R8_UINT" value="323"/>
    <value name="A8_UNORM" value="324"/>
    <value name="I8_UNORM" value="325"/>
    <value name="L8_UNORM" value="326"/>
    <value name="P4A4_UNORM_PALETTE0" value="327"/>
    <value name="A4P4_UNORM_PALETTE0" value="328"/>
    <value name="R8_SSCALED" value="329"/>
    <value name="R8_USCALED" value="330"/>
    <value name="P8_UNORM_PALETTE0" value="331"/>
    <value name="L8_UNORM_SRGB" value="332"/>
    <value name="P8_UNORM_PALETTE1" value="333"/>
    <value name="P4A4_UNORM_PALETTE1" value="334"/>
    <value name="A4P4_UNORM_PALETTE1" value="335"/>
    <value name="Y8_UNORM" value="336"/>
    <value name="L8_UINT" value="338"/>
    <value name="L8_SINT" value="339"/>
    <value name="I8_UINT" value="340"/>
    <value name="I8_SINT" value="341"/>
    <value name="DXT1_RGB_SRGB" value="384"/>
    <value name="R1_UNORM" value="385"/>
    <value name="YCRCB_NORMAL" value="386"/>
    <value name="YCRCB_SWAPUVY" value="387"/>
    <value name="P2_UNORM_PALETTE0" value="388"/>
    <value name="P2_UNORM_PALETTE1" value="389"/>
    <value name="BC1_UNORM" value="390"/>
    <value name="BC2_UNORM" value="391"/>
    <value name="BC3_UNORM" value="392"/>
    <value name="BC4_UNORM" value="393"/>
    <value name="BC5_UNORM" value="394"/>
    <value name="BC1_UNORM_SRGB" value="395"/>
    <value name="BC2_UNORM_SRGB" value="396"/>
    <value name="BC3_UNORM_SRGB" value="397"/>
    <value name="MONO8" value="398"/>
    <value name="YCRCB_SWAPUV" value="399"/>
    <value name="YCRCB_SWAPY" value="400"/>
    <value name="DXT1_RGB" value="401"/>
    <value name="FXT1" value="402"/>
    <value name="R8G8B8_UNORM" value="403"/>
    <value name="R8G8B8_SNORM" value="404"/>
    <value name="R8G8B8_SSCALED" value="405"/>
    <value name="R8G8B8_USCALED" value="406"/>
    <value name="R64G64B64A64_FLOAT" value="407"/>
    <value name="R64G64B64_FLOAT" value="408"/>
    <value name="BC4_SNORM" value="409"/>
    <value name="BC5_SNORM" value="410"/>
    <value name="R16G16B16_FLOAT" value="411"/>
    <value name="R16G16B16_UNORM" value="412"/>
    <value name="R16G16B16_SNORM" value="413"/>
    <value name="R16G16B16_SSCALED" value="414"/>
    <value name="R16G16B16_USCALED" value="415"/>
    <value name="BC6H_SF16" value="417"/>
    <value name="BC7_UNORM" value="418"/>
    <value name="BC7_UNORM_SRGB" value="419"/>
    <value name="BC6H_UF16" value="420"/>
    <value name="PLANAR_420_8" value="421"/>
    <value name="R8G8B8_UNORM_SRGB" value="424"/>
    <value name="ETC1_RGB8" value="425"/>
    <value name="ETC2_RGB8" value="426"/>
    <value name="EAC_R11" value="427"/>
    <value name="EAC_RG11" value="428"/>
    <value name="EAC_SIGNED_R11" value="429"/>
    <value name="EAC_SIGNED_RG11" value="430"/>
    <value name="ETC2_SRGB8" value="431"/>
    <value name="R16G16B16_UINT" value="432"/>
    <value name="R16G16B16_SINT" value="433"/>
    <value name="R32_SFIXED" value="434"/>
    <value name="R10G10B10A2_SNORM" value="435"/>
    <value name="R10G10B10A2_USCALED" value="436"/>
    <value name="R10G10B10A2_SSCALED" value="437"/>
    <value name="R10G10B10A2_SINT" value="438"/>
    <value name="B10G10R10A2_SNORM" value="439"/>
    <value name="B10G10R10A2_USCALED" value="440"/>
    <value name="B10G10R10A2_SSCALED" value="441"/>
    <value name="B10G10R10A2_UINT" value="442"/>
    <value name="B10G10R10A2_SINT" value="443"/>
    <value name="R64G64B64A64_PASSTHRU" value="444"/>
    <value name="R64G64B64_PASSTHRU" value="445"/>
    <value name="ETC2_RGB8_PTA" value="448"/>
    <value name="ETC2_SRGB8_PTA" value="449"/>
    <value name="ETC2_EAC_RGBA8" value="450"/>
    <value name="ETC2_EAC_SRGB8_A8" value="451"/>
    <value name="R8G8B8_UINT" value="456"/>
    <value name="R8G8B8_SINT" value="457"/>
    <value name="RAW" value="511"/>
  </enum>

  <enum name="Shader Channel Select" prefix="SCS">
    <value name="ZERO" value="0"/>
    <value name="ONE" value="1"/>
    <value name="RED" value="4"/>
    <value name="GREEN" value="5"/>
    <value name="BLUE" value="6"/>
    <value name="ALPHA" value="7"/>
  </enum>

  <enum name="Clear Color">
    <value name="CC_ZERO" value="0"/>
    <value name="CC_ONE" value="1"/>
  </enum>

  <enum name="Texture Coordinate Mode" prefix="TCM">
    <value name="WRAP" value="0"/>
    <value name="MIRROR" value="1"/>
    <value name="CLAMP" value="2"/>
    <value name="CUBE" value="3"/>
    <value name="CLAMP_BORDER" value="4"/>
    <value name="MIRROR_ONCE" value="5"/>
    <value name="HALF_BORDER" value="6"/>
  </enum>

  <struct name="3DSTATE_CONSTANT_BODY" length="10">
    <group count="4" start="0" size="16">
      <field name="Read Length" start="0" end="15" type="uint"/>
    </group>
    <group count="4" start="64" size="64">
      <field name="Buffer" start="5" end="63" type="address"/>
    </group>
  </struct>

  <struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
    <field name="Binding Table Index" start="16" end="23" type="uint"/>
    <field name="Surface State Pointer" start="0" end="15" type="offset"/>
  </struct>

  <struct name="GATHER_CONSTANT_ENTRY" length="1">
    <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
    <field name="Channel Mask" start="4" end="7" type="uint"/>
    <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
  </struct>

  <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
    <field name="Memory Type:LLC/eLLC Cacheability Control" start="5" end="6" type="uint">
      <value name=" UC with Fence (if coherent cycle)" value="0"/>
      <value name="UC (Uncacheable)" value="1"/>
      <value name="WT" value="2"/>
      <value name="WB" value="3"/>
    </field>
    <field name="Target Cache" start="3" end="4" type="uint">
      <value name="eLLC Only (when eDRAM is present, else gets allocated in LLC)" value="0"/>
      <value name="LLC Only" value="1"/>
      <value name="LLC/eLLC Allowed" value="2"/>
      <value name="L3 + Defer to PAT for LLC/eLLC selection" value="3"/>
    </field>
    <field name="Age for QUADLRU" start="0" end="1" type="uint"/>
  </struct>

  <struct name="VERTEX_BUFFER_STATE" length="4">
    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
    <field name="Memory Object Control State" start="16" end="22" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Vertex Buffer MOCS" start="16" end="22" type="uint"/>
    <field name="Address Modify Enable" start="14" end="14" type="bool"/>
    <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
    <field name="Buffer Pitch" start="0" end="11" type="uint"/>
    <field name="Buffer Starting Address" start="32" end="95" type="address"/>
    <field name="Buffer Size" start="96" end="127" type="uint"/>
  </struct>

  <struct name="VERTEX_ELEMENT_STATE" length="2">
    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
    <field name="Valid" start="25" end="25" type="bool"/>
    <field name="Source Element Format" start="16" end="24" type="SURFACE_FORMAT"/>
    <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
    <field name="Source Element Offset" start="0" end="11" type="uint"/>
    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
  </struct>

  <struct name="SO_DECL" length="1">
    <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
    <field name="Hole Flag" start="11" end="11" type="uint"/>
    <field name="Register Index" start="4" end="9" type="uint"/>
    <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
  </struct>

  <struct name="SO_DECL_ENTRY" length="2">
    <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
    <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
    <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
    <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
  </struct>

  <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
    <field name="Component Override W" start="15" end="15" type="bool"/>
    <field name="Component Override Z" start="14" end="14" type="bool"/>
    <field name="Component Override Y" start="13" end="13" type="bool"/>
    <field name="Component Override X" start="12" end="12" type="bool"/>
    <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
    <field name="Constant Source" start="9" end="10" type="uint">
      <value name="CONST_0000" value="0"/>
      <value name="CONST_0001_FLOAT" value="1"/>
      <value name="CONST_1111_FLOAT" value="2"/>
      <value name="PRIM_ID" value="3"/>
    </field>
    <field name="Swizzle Select" start="6" end="7" type="uint">
      <value name="INPUTATTR" value="0"/>
      <value name="INPUTATTR_FACING" value="1"/>
      <value name="INPUTATTR_W" value="2"/>
      <value name="INPUTATTR_FACING_W" value="3"/>
    </field>
    <field name="Source Attribute" start="0" end="4" type="uint"/>
  </struct>

  <struct name="SCISSOR_RECT" length="2">
    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
  </struct>

  <struct name="SF_CLIP_VIEWPORT" length="16">
    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
    <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
    <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
    <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
    <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
    <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
    <field name="X Min ViewPort" start="384" end="415" type="float"/>
    <field name="X Max ViewPort" start="416" end="447" type="float"/>
    <field name="Y Min ViewPort" start="448" end="479" type="float"/>
    <field name="Y Max ViewPort" start="480" end="511" type="float"/>
  </struct>

  <struct name="BLEND_STATE_ENTRY" length="2">
    <field name="Logic Op Enable" start="63" end="63" type="bool"/>
    <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
    <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
    <field name="Color Clamp Range" start="34" end="35" type="uint">
      <value name="COLORCLAMP_UNORM" value="0"/>
      <value name="COLORCLAMP_SNORM" value="1"/>
      <value name="COLORCLAMP_RTFORMAT" value="2"/>
    </field>
    <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
    <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
    <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
    <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
    <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
    <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
    <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
    <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
    <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
    <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
    <field name="Write Disable Red" start="2" end="2" type="bool"/>
    <field name="Write Disable Green" start="1" end="1" type="bool"/>
    <field name="Write Disable Blue" start="0" end="0" type="bool"/>
  </struct>

  <struct name="BLEND_STATE" length="1">
    <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
    <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
    <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
    <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
    <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
    <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
    <field name="Color Dither Enable" start="23" end="23" type="bool"/>
    <field name="X Dither Offset" start="21" end="22" type="uint"/>
    <field name="Y Dither Offset" start="19" end="20" type="uint"/>
    <group count="0" start="32" size="64">
      <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
    </group>
  </struct>

  <struct name="CC_VIEWPORT" length="2">
    <field name="Minimum Depth" start="0" end="31" type="float"/>
    <field name="Maximum Depth" start="32" end="63" type="float"/>
  </struct>

  <struct name="COLOR_CALC_STATE" length="6">
    <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
    <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
    <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
    <field name="Alpha Test Format" start="0" end="0" type="uint">
      <value name="ALPHATEST_UNORM8" value="0"/>
      <value name="ALPHATEST_FLOAT32" value="1"/>
    </field>
    <field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
    <field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
    <field name="Blend Constant Color Red" start="64" end="95" type="float"/>
    <field name="Blend Constant Color Green" start="96" end="127" type="float"/>
    <field name="Blend Constant Color Blue" start="128" end="159" type="float"/>
    <field name="Blend Constant Color Alpha" start="160" end="191" type="float"/>
  </struct>

  <struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
    <field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
    <field name="Denorm Mode" start="83" end="83" type="uint">
      <value name="Ftz" value="0"/>
      <value name="SetByKernel" value="1"/>
    </field>
    <field name="Single Program Flow" start="82" end="82" type="bool"/>
    <field name="Thread Priority" start="81" end="81" type="uint">
      <value name="Normal Priority" value="0"/>
      <value name="High Priority" value="1"/>
    </field>
    <field name="Floating Point Mode" start="80" end="80" type="uint">
      <value name="IEEE-754" value="0"/>
      <value name="Alternate" value="1"/>
    </field>
    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
    <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
    <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
    <field name="Sampler Count" start="98" end="100" type="uint">
      <value name="No samplers used" value="0"/>
      <value name="Between 1 and 4 samplers used" value="1"/>
      <value name="Between 5 and 8 samplers used" value="2"/>
      <value name="Between 9 and 12 samplers used" value="3"/>
      <value name="Between 13 and 16 samplers used" value="4"/>
    </field>
    <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
    <field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
    <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
    <field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
    <field name="Rounding Mode" start="214" end="215" type="uint">
      <value name="RTNE" value="0"/>
      <value name="RU" value="1"/>
      <value name="RD" value="2"/>
      <value name="RTZ" value="3"/>
    </field>
    <field name="Barrier Enable" start="213" end="213" type="bool"/>
    <field name="Shared Local Memory Size" start="208" end="212" type="uint">
      <value name="Encodes 0k" value="0"/>
      <value name="Encodes 4k" value="1"/>
      <value name="Encodes 8k" value="2"/>
      <value name="Encodes 16k" value="4"/>
      <value name="Encodes 32k" value="8"/>
      <value name="Encodes 64k" value="16"/>
    </field>
    <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
    <field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
  </struct>

  <struct name="PALETTE_ENTRY" length="1">
    <field name="Alpha" start="24" end="31" type="uint"/>
    <field name="Red" start="16" end="23" type="uint"/>
    <field name="Green" start="8" end="15" type="uint"/>
    <field name="Blue" start="0" end="7" type="uint"/>
  </struct>

  <struct name="BINDING_TABLE_STATE" length="1">
    <field name="Surface State Pointer" start="6" end="31" type="offset"/>
  </struct>

  <struct name="RENDER_SURFACE_STATE" length="16">
    <field name="Surface Type" start="29" end="31" type="uint">
      <value name="SURFTYPE_1D" value="0"/>
      <value name="SURFTYPE_2D" value="1"/>
      <value name="SURFTYPE_3D" value="2"/>
      <value name="SURFTYPE_CUBE" value="3"/>
      <value name="SURFTYPE_BUFFER" value="4"/>
      <value name="SURFTYPE_STRBUF" value="5"/>
      <value name="SURFTYPE_NULL" value="7"/>
    </field>
    <field name="Surface Array" start="28" end="28" type="bool"/>
    <field name="Surface Format" start="18" end="26" type="SURFACE_FORMAT"/>
    <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
      <value name="VALIGN 4" value="1"/>
      <value name="VALIGN 8" value="2"/>
      <value name="VALIGN 16" value="3"/>
    </field>
    <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
      <value name="HALIGN 4" value="1"/>
      <value name="HALIGN 8" value="2"/>
      <value name="HALIGN 16" value="3"/>
    </field>
    <field name="Tile Mode" start="12" end="13" type="uint">
      <value name="LINEAR" value="0"/>
      <value name="WMAJOR" value="1"/>
      <value name="XMAJOR" value="2"/>
      <value name="YMAJOR" value="3"/>
    </field>
    <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
    <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
    <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
      <value name="Write-Only Cache" value="0"/>
      <value name="Read-Write Cache" value="1"/>
    </field>
    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
      <value name="NORMAL_MODE" value="0"/>
      <value name="PROGRESSIVE_FRAME" value="2"/>
      <value name="INTERLACED_FRAME" value="3"/>
    </field>
    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
    <field name="Memory Object Control State" start="56" end="62" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="MOCS" start="56" end="62" type="uint"/>
    <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
    <field name="Surface QPitch" start="32" end="46" type="uint"/>
    <field name="Height" start="80" end="93" type="uint"/>
    <field name="Width" start="64" end="77" type="uint"/>
    <field name="Depth" start="117" end="127" type="uint"/>
    <field name="Surface Pitch" start="96" end="113" type="uint"/>
    <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
      <value name="0DEG" value="0"/>
      <value name="90DEG" value="1"/>
      <value name="270DEG" value="3"/>
    </field>
    <field name="Minimum Array Element" start="146" end="156" type="uint"/>
    <field name="Render Target View Extent" start="135" end="145" type="uint"/>
    <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
      <value name="MSFMT_MSS" value="0"/>
      <value name="MSFMT_DEPTH_STENCIL" value="1"/>
    </field>
    <field name="Number of Multisamples" start="131" end="133" type="uint">
      <value name="MULTISAMPLECOUNT_1" value="0"/>
      <value name="MULTISAMPLECOUNT_2" value="1"/>
      <value name="MULTISAMPLECOUNT_4" value="2"/>
      <value name="MULTISAMPLECOUNT_8" value="3"/>
    </field>
    <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
    <field name="X Offset" start="185" end="191" type="uint"/>
    <field name="Y Offset" start="181" end="183" type="uint"/>
    <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
    <field name="Coherency Type" start="174" end="174" type="uint">
      <value name="GPU coherent" value="0"/>
      <value name="IA coherent" value="1"/>
    </field>
    <field name="Surface Min LOD" start="164" end="167" type="uint"/>
    <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
    <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
    <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
    <field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
      <value name="AUX_NONE" value="0"/>
      <value name="AUX_MCS" value="1"/>
      <value name="AUX_APPEND" value="2"/>
      <value name="AUX_HIZ" value="3"/>
    </field>
    <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
    <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
    <field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
    <field name="Red Clear Color" start="255" end="255" type="Clear Color"/>
    <field name="Green Clear Color" start="254" end="254" type="Clear Color"/>
    <field name="Blue Clear Color" start="253" end="253" type="Clear Color"/>
    <field name="Alpha Clear Color" start="252" end="252" type="Clear Color"/>
    <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
    <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
    <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
    <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
    <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
    <field name="Surface Base Address" start="256" end="319" type="address"/>
    <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
    <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
    <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
    <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
  </struct>

  <struct name="FILTER_COEFFICIENT" length="1">
    <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
  </struct>

  <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
    <field name="Border Color Float Red" start="0" end="31" type="float"/>
    <field name="Border Color Float Green" start="32" end="63" type="float"/>
    <field name="Border Color Float Blue" start="64" end="95" type="float"/>
    <field name="Border Color Float Alpha" start="96" end="127" type="float"/>

    <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
    <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
    <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
    <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
  </struct>

  <struct name="SAMPLER_STATE" length="4">
    <field name="Sampler Disable" start="31" end="31" type="bool"/>
    <field name="Texture Border Color Mode" start="29" end="29" type="uint">
      <value name="DX10/OGL" value="0"/>
      <value name="DX9" value="1"/>
    </field>
    <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
      <value name="NONE" value="0"/>
      <value name="OGL" value="2"/>
    </field>
    <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
      <value name="NONE" value="0"/>
      <value name="NEAREST" value="1"/>
      <value name="LINEAR" value="3"/>
    </field>
    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
      <value name="NEAREST" value="0"/>
      <value name="LINEAR" value="1"/>
      <value name="ANISOTROPIC" value="2"/>
      <value name="MONO" value="6"/>
    </field>
    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
      <value name="NEAREST" value="0"/>
      <value name="LINEAR" value="1"/>
      <value name="ANISOTROPIC" value="2"/>
      <value name="MONO" value="6"/>
    </field>
    <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
    <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
      <value name="LEGACY" value="0"/>
      <value name="EWA Approximation" value="1"/>
    </field>
    <field name="Min LOD" start="52" end="63" type="u4.8"/>
    <field name="Max LOD" start="40" end="51" type="u4.8"/>
    <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
    <field name="ChromaKey Index" start="37" end="38" type="uint"/>
    <field name="ChromaKey Mode" start="36" end="36" type="uint">
      <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
      <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
    </field>
    <field name="Shadow Function" start="33" end="35" type="uint">
      <value name="PREFILTEROP ALWAYS" value="0"/>
      <value name="PREFILTEROP NEVER" value="1"/>
      <value name="PREFILTEROP LESS" value="2"/>
      <value name="PREFILTEROP EQUAL" value="3"/>
      <value name="PREFILTEROP LEQUAL" value="4"/>
      <value name="PREFILTEROP GREATER" value="5"/>
      <value name="PREFILTEROP NOTEQUAL" value="6"/>
      <value name="PREFILTEROP GEQUAL" value="7"/>
    </field>
    <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
      <value name="PROGRAMMED" value="0"/>
      <value name="OVERRIDE" value="1"/>
    </field>
    <field name="Border Color Pointer" start="70" end="87" type="offset"/>
    <field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
      <value name="MIPNONE" value="0"/>
      <value name="MIPFILTER" value="1"/>
    </field>
    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
      <value name="RATIO 2:1" value="0"/>
      <value name="RATIO 4:1" value="1"/>
      <value name="RATIO 6:1" value="2"/>
      <value name="RATIO 8:1" value="3"/>
      <value name="RATIO 10:1" value="4"/>
      <value name="RATIO 12:1" value="5"/>
      <value name="RATIO 14:1" value="6"/>
      <value name="RATIO 16:1" value="7"/>
    </field>
    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
    <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
      <value name="FULL" value="0"/>
      <value name="HIGH" value="1"/>
      <value name="MED" value="2"/>
      <value name="LOW" value="3"/>
    </field>
    <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
    <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
    <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
    <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
  </struct>

  <struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
    <field name="Table 0Y Filter Coefficient[n,1]" start="24" end="31" type="s1.6"/>
    <field name="Table 0X Filter Coefficient[n,1]" start="16" end="23" type="s1.6"/>
    <field name="Table 0Y Filter Coefficient[n,0]" start="8" end="15" type="s1.6"/>
    <field name="Table 0X Filter Coefficient[n,0]" start="0" end="7" type="s1.6"/>
    <field name="Table 0Y Filter Coefficient[n,3]" start="56" end="63" type="s1.6"/>
    <field name="Table 0X Filter Coefficient[n,3]" start="48" end="55" type="s1.6"/>
    <field name="Table 0Y Filter Coefficient[n,2]" start="40" end="47" type="s1.6"/>
    <field name="Table 0X Filter Coefficient[n,2]" start="32" end="39" type="s1.6"/>
    <field name="Table 0Y Filter Coefficient[n,5]" start="88" end="95" type="s1.6"/>
    <field name="Table 0X Filter Coefficient[n,5]" start="80" end="87" type="s1.6"/>
    <field name="Table 0Y Filter Coefficient[n,4]" start="72" end="79" type="s1.6"/>
    <field name="Table 0X Filter Coefficient[n,4]" start="64" end="71" type="s1.6"/>
    <field name="Table 0Y Filter Coefficient[n,7]" start="120" end="127" type="s1.6"/>
    <field name="Table 0X Filter Coefficient[n,7]" start="112" end="119" type="s1.6"/>
    <field name="Table 0Y Filter Coefficient[n,6]" start="104" end="111" type="s1.6"/>
    <field name="Table 0X Filter Coefficient[n,6]" start="96" end="103" type="s1.6"/>
    <field name="Table 1X Filter Coefficient[n,3]" start="152" end="159" type="s1.6"/>
    <field name="Table 1X Filter Coefficient[n,2]" start="144" end="151" type="s1.6"/>
    <field name="Table 1X Filter Coefficient[n,5]" start="168" end="175" type="s1.6"/>
    <field name="Table 1X Filter Coefficient[n,4]" start="160" end="167" type="s1.6"/>
    <field name="Table 1Y Filter Coefficient[n,3]" start="216" end="223" type="s1.6"/>
    <field name="Table 1Y Filter Coefficient[n,2]" start="208" end="215" type="s1.6"/>
    <field name="Table 1Y Filter Coefficient[n,5]" start="232" end="239" type="s1.6"/>
    <field name="Table 1Y Filter Coefficient[n,4]" start="224" end="231" type="s1.6"/>
  </struct>

  <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
    <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
      <value name="NOOP" value="0x000"/>
      <value name="LOAD" value="0x080"/>
      <value name="LOADINV" value="0x480"/>
      <value name="LOAD0" value="0x081"/>
      <value name="LOAD1" value="0x481"/>
      <value name="ADD" value="0x100"/>
      <value name="SUB" value="0x101"/>
      <value name="AND" value="0x102"/>
      <value name="OR" value="0x103"/>
      <value name="XOR" value="0x104"/>
      <value name="STORE" value="0x180"/>
      <value name="STOREINV" value="0x580"/>
    </field>
    <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
      <value name="REG0" value="0x00"/>
      <value name="REG1" value="0x01"/>
      <value name="REG2" value="0x02"/>
      <value name="REG3" value="0x03"/>
      <value name="REG4" value="0x04"/>
      <value name="REG5" value="0x05"/>
      <value name="REG6" value="0x06"/>
      <value name="REG7" value="0x07"/>
      <value name="REG8" value="0x08"/>
      <value name="REG9" value="0x09"/>
      <value name="REG10" value="0x0a"/>
      <value name="REG11" value="0x0b"/>
      <value name="REG12" value="0x0c"/>
      <value name="REG13" value="0x0d"/>
      <value name="REG14" value="0x0e"/>
      <value name="REG15" value="0x0f"/>
      <value name="SRCA" value="0x20"/>
      <value name="SRCB" value="0x21"/>
      <value name="ACCU" value="0x31"/>
      <value name="ZF" value="0x32"/>
      <value name="CF" value="0x33"/>
    </field>
    <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
      <value name="REG0" value="0x00"/>
      <value name="REG1" value="0x01"/>
      <value name="REG2" value="0x02"/>
      <value name="REG3" value="0x03"/>
      <value name="REG4" value="0x04"/>
      <value name="REG5" value="0x05"/>
      <value name="REG6" value="0x06"/>
      <value name="REG7" value="0x07"/>
      <value name="REG8" value="0x08"/>
      <value name="REG9" value="0x09"/>
      <value name="REG10" value="0x0a"/>
      <value name="REG11" value="0x0b"/>
      <value name="REG12" value="0x0c"/>
      <value name="REG13" value="0x0d"/>
      <value name="REG14" value="0x0e"/>
      <value name="REG15" value="0x0f"/>
      <value name="SRCA" value="0x20"/>
      <value name="SRCB" value="0x21"/>
      <value name="ACCU" value="0x31"/>
      <value name="ZF" value="0x32"/>
      <value name="CF" value="0x33"/>
    </field>
  </struct>

  <instruction name="3DPRIMITIVE" bias="2" length="7">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
    <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
    <field name="Predicate Enable" start="8" end="8" type="bool"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
    <field name="End Offset Enable" start="41" end="41" type="bool"/>
    <field name="Vertex Access Type" start="40" end="40" type="uint">
      <value name="SEQUENTIAL" value="0"/>
      <value name="RANDOM" value="1"/>
    </field>
    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
    <field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
    <field name="Start Vertex Location" start="96" end="127" type="uint"/>
    <field name="Instance Count" start="128" end="159" type="uint"/>
    <field name="Start Instance Location" start="160" end="191" type="uint"/>
    <field name="Base Vertex Location" start="192" end="223" type="int"/>
  </instruction>

  <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
    <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
    <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
    <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
    <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
    <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
    <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
    <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
      <value name="All Cores" value="3"/>
      <value name="Core 1" value="2"/>
      <value name="Core 0" value="1"/>
    </field>
    <group count="0" start="64" size="32">
      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
      <value name="All Cores" value="3"/>
      <value name="Core 1" value="2"/>
      <value name="Core 0" value="1"/>
    </field>
    <group count="0" start="64" size="32">
      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
      <value name="All Cores" value="3"/>
      <value name="Core 1" value="2"/>
      <value name="Core 0" value="1"/>
    </field>
    <group count="0" start="64" size="32">
      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
      <value name="All Cores" value="3"/>
      <value name="Core 1" value="2"/>
      <value name="Core 0" value="1"/>
    </field>
    <group count="0" start="64" size="32">
      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
      <value name="All Cores" value="3"/>
      <value name="Core 1" value="2"/>
      <value name="Core 0" value="1"/>
    </field>
    <group count="0" start="64" size="32">
      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
    <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
    <field name="Surface Object Control State" start="32" end="38" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
      <value name="No Valid Data" value="0"/>
    </field>
  </instruction>

  <instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Blend State Pointer" start="38" end="63" type="offset"/>
    <field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
  </instruction>

  <instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
    <field name="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
  </instruction>

  <instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
    <field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
    <field name="ChromaKey High Value" start="96" end="127" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Depth Clear Value" start="32" end="63" type="float"/>
    <field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
  </instruction>

  <instruction name="3DSTATE_CLIP" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
    <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
      <value name="8 Bit" value="0"/>
      <value name="4 Bit" value="1"/>
    </field>
    <field name="Early Cull Enable" start="50" end="50" type="bool"/>
    <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
    <field name="Force Clip Mode" start="48" end="48" type="bool"/>
    <field name="Statistics Enable" start="42" end="42" type="bool"/>
    <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
    <field name="Clip Enable" start="95" end="95" type="bool"/>
    <field name="API Mode" start="94" end="94" type="uint">
      <value name="APIMODE_OGL" value="0"/>
      <value name="APIMODE_D3D" value="1"/>
    </field>
    <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
    <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
    <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
    <field name="Clip Mode" start="77" end="79" type="uint">
      <value name="CLIPMODE_NORMAL" value="0"/>
      <value name="CLIPMODE_REJECT_ALL" value="3"/>
      <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
    </field>
    <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
    <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
    <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
    <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
    <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
    <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
    <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
    <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
    <field name="Maximum VP Index" start="96" end="99" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
  </instruction>

  <instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
  </instruction>

  <instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
  </instruction>

  <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
  </instruction>

  <instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
  </instruction>

  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
    <field name="Surface Type" start="61" end="63" type="uint">
      <value name="SURFTYPE_1D" value="0"/>
      <value name="SURFTYPE_2D" value="1"/>
      <value name="SURFTYPE_3D" value="2"/>
      <value name="SURFTYPE_CUBE" value="3"/>
      <value name="SURFTYPE_NULL" value="7"/>
    </field>
    <field name="Depth Write Enable" start="60" end="60" type="bool"/>
    <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
    <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
    <field name="Surface Format" start="50" end="52" type="uint">
      <value name="D32_FLOAT" value="1"/>
      <value name="D24_UNORM_X8_UINT" value="3"/>
      <value name="D16_UNORM" value="5"/>
    </field>
    <field name="Surface Pitch" start="32" end="49" type="uint"/>
    <field name="Surface Base Address" start="64" end="127" type="address"/>
    <field name="Height" start="146" end="159" type="uint"/>
    <field name="Width" start="132" end="145" type="uint"/>
    <field name="LOD" start="128" end="131" type="uint"/>
    <field name="Depth" start="181" end="191" type="uint"/>
    <field name="Minimum Array Element" start="170" end="180" type="uint"/>
    <field name="Depth Buffer Object Control State" start="160" end="166" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Depth Buffer MOCS" start="160" end="166" type="uint"/>
    <field name="Render Target View Extent" start="245" end="255" type="uint"/>
    <field name="Surface QPitch" start="224" end="238" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
    <field name="Core Mode Select" start="14" end="15" type="uint">
      <value name="Legacy" value="0"/>
      <value name="Core 0 Enabled" value="1"/>
      <value name="Core 1 Enabled" value="2"/>
    </field>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
  </instruction>

  <instruction name="3DSTATE_DS" bias="2" length="9">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
    <field name="Single Domain Point Dispatch" start="127" end="127" type="uint"/>
    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
    <field name="Sampler Count" start="123" end="125" type="uint">
      <value name="No Samplers" value="0"/>
      <value name="1-4 Samplers" value="1"/>
      <value name="5-8 Samplers" value="2"/>
      <value name="9-12 Samplers" value="3"/>
      <value name="13-16 Samplers" value="4"/>
    </field>
    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
      <value name="High" value="1"/>
    </field>
    <field name="Floating Point Mode" start="112" end="112" type="uint">
      <value name="IEEE-754" value="0"/>
      <value name="Alternate" value="1"/>
    </field>
    <field name="Accesses UAV" start="110" end="110" type="bool"/>
    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
    <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
    <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
    <field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
    <field name="Maximum Number of Threads" start="245" end="253" type="uint"/>
    <field name="Statistics Enable" start="234" end="234" type="bool"/>
    <field name="Dispatch Mode" start="227" end="227" type="uint" prefix="DISPATCH_MODE">
      <value name="SIMD4X2" value="0"/>
      <value name="SIMD8_SINGLE_PATCH" value="1"/>
    </field>
    <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
    <field name="Cache Disable" start="225" end="225" type="bool"/>
    <field name="Enable" start="224" end="224" type="bool"/>
    <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
    <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
    <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
    <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
    <group count="0" start="96" size="32">
      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
    <group count="0" start="96" size="32">
      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
    <group count="0" start="96" size="32">
      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
    <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
    <group count="0" start="96" size="32">
      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
    <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
    <group count="0" start="96" size="32">
      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
    <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
    <field name="Memory Object Control State" start="32" end="38" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_GS" bias="2" length="10">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="8"/>
    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
    <field name="Single Program Flow" start="127" end="127" type="bool"/>
    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
    <field name="Sampler Count" start="123" end="125" type="uint">
      <value name="No Samplers" value="0"/>
      <value name="1-4 Samplers" value="1"/>
      <value name="5-8 Samplers" value="2"/>
      <value name="9-12 Samplers" value="3"/>
      <value name="13-16 Samplers" value="4"/>
    </field>
    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
      <value name="High" value="1"/>
    </field>
    <field name="Floating Point Mode" start="112" end="112" type="uint">
      <value name="IEEE-754" value="0"/>
      <value name="Alternate" value="1"/>
    </field>
    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
    <field name="Accesses UAV" start="108" end="108" type="bool"/>
    <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
    <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
    <field name="Output Vertex Size" start="215" end="220" type="uint"/>
    <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
    <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
    <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
    <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
    <field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
    <field name="Maximum Number of Threads" start="248" end="255" type="uint"/>
    <field name="Control Data Header Size" start="244" end="247" type="uint"/>
    <field name="Instance Control" start="239" end="243" type="uint"/>
    <field name="Default Stream Id" start="237" end="238" type="uint"/>
    <field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
      <value name="Dual Instance" value="1"/>
      <value name="Dual Object" value="2"/>
      <value name="SIMD8" value="3"/>
    </field>
    <field name="Statistics Enable" start="234" end="234" type="bool"/>
    <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
    <field name="Include Primitive ID" start="228" end="228" type="bool"/>
    <field name="Hint" start="227" end="227" type="uint"/>
    <field name="Reorder Mode" start="226" end="226" type="uint">
      <value name="LEADING" value="0"/>
      <value name="TRAILING" value="1"/>
    </field>
    <field name="Discard Adjacency" start="225" end="225" type="bool"/>
    <field name="Enable" start="224" end="224" type="bool"/>
    <field name="Control Data Format" start="287" end="287" type="uint">
      <value name="CUT" value="0"/>
      <value name="SID" value="1"/>
    </field>
    <field name="Static Output" start="286" end="286" type="bool"/>
    <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
    <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
    <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
    <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
    <field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
    <field name="Hierarchical Depth Buffer Object Control State" start="57" end="63" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Hierarchical Depth Buffer MOCS" start="57" end="63" type="uint"/>
    <field name="Surface Pitch" start="32" end="48" type="uint"/>
    <field name="Surface Base Address" start="64" end="127" type="address"/>
    <field name="Surface QPitch" start="128" end="142" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_HS" bias="2" length="9">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
    <field name="Sampler Count" start="59" end="61" type="uint">
      <value name="No Samplers" value="0"/>
      <value name="1-4 Samplers" value="1"/>
      <value name="5-8 Samplers" value="2"/>
      <value name="9-12 Samplers" value="3"/>
      <value name="13-16 Samplers" value="4"/>
    </field>
    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
    <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
      <value name="High" value="1"/>
    </field>
    <field name="Floating Point Mode" start="48" end="48" type="uint">
      <value name="IEEE-754" value="0"/>
      <value name="alternate" value="1"/>
    </field>
    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
    <field name="Software Exception Enable" start="44" end="44" type="bool"/>
    <field name="Enable" start="95" end="95" type="bool"/>
    <field name="Statistics Enable" start="93" end="93" type="bool"/>
    <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
    <field name="Instance Count" start="64" end="67" type="uint"/>
    <field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
    <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
    <field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
    <field name="Single Program Flow" start="251" end="251" type="bool"/>
    <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
    <field name="Accesses UAV" start="249" end="249" type="bool"/>
    <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
    <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
    <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
    <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
    <field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
      <value name="BYTE" value="0"/>
      <value name="WORD" value="1"/>
      <value name="DWORD" value="2"/>
    </field>
    <field name="Memory Object Control State" start="32" end="38" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="IndexBufferMOCS" start="32" end="38" type="uint"/>
    <field name="Buffer Starting Address" start="64" end="127" type="address"/>
    <field name="Buffer Size" start="128" end="159" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
    <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
    <field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
    <field name="Pixel Location" start="36" end="36" type="uint">
      <value name="CENTER" value="0"/>
      <value name="UL_CORNER" value="1"/>
    </field>
    <field name="Number of Multisamples" start="33" end="35" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
    <group count="32" start="32" size="32">
      <field name="Pattern Row" start="0" end="31" type="uint"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_PS" bias="2" length="12">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="10"/>
    <field name="Kernel Start Pointer 0" start="38" end="95" type="offset"/>
    <field name="Single Program Flow" start="127" end="127" type="bool"/>
    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
    <field name="Sampler Count" start="123" end="125" type="uint">
      <value name="No Samplers" value="0"/>
      <value name="1-4 Samplers" value="1"/>
      <value name="5-8 Samplers" value="2"/>
      <value name="9-12 Samplers" value="3"/>
      <value name="13-16 Samplers" value="4"/>
    </field>
    <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
      <value name="Flushed to Zero" value="0"/>
      <value name="Retained" value="1"/>
    </field>
    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
      <value name="High" value="1"/>
    </field>
    <field name="Floating Point Mode" start="112" end="112" type="uint">
      <value name="IEEE-754" value="0"/>
      <value name="Alternate" value="1"/>
    </field>
    <field name="Rounding Mode" start="110" end="111" type="uint">
      <value name="RTNE" value="0"/>
      <value name="RU" value="1"/>
      <value name="RD" value="2"/>
      <value name="RTZ" value="3"/>
    </field>
    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
    <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
    <field name="Per Thread Scratch Space" start="128" end="131" type="uint"/>
    <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
    <field name="Push Constant Enable" start="203" end="203" type="bool"/>
    <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
    <field name="Render Target Resolve Enable" start="198" end="198" type="bool"/>
    <field name="Position XY Offset Select" start="195" end="196" type="uint">
      <value name="POSOFFSET_NONE" value="0"/>
      <value name="POSOFFSET_CENTROID" value="2"/>
      <value name="POSOFFSET_SAMPLE" value="3"/>
    </field>
    <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
    <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
    <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
    <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
    <field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="224" end="230" type="uint"/>
    <field name="Kernel Start Pointer 1" start="262" end="319" type="offset"/>
    <field name="Kernel Start Pointer 2" start="326" end="383" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_PS_BLEND" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
    <field name="Has Writeable RT" start="62" end="62" type="bool"/>
    <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
    <field name="Source Alpha Blend Factor" start="56" end="60" type="uint"/>
    <field name="Destination Alpha Blend Factor" start="51" end="55" type="uint"/>
    <field name="Source Blend Factor" start="46" end="50" type="uint"/>
    <field name="Destination Blend Factor" start="41" end="45" type="uint"/>
    <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
    <field name="Independent Alpha Blend Enable" start="39" end="39" type="bool"/>
  </instruction>

  <instruction name="3DSTATE_PS_EXTRA" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
    <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
    <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
    <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
    <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
      <value name="PSCDEPTH_OFF" value="0"/>
      <value name="PSCDEPTH_ON" value="1"/>
      <value name="PSCDEPTH_ON_GE" value="2"/>
      <value name="PSCDEPTH_ON_LE" value="3"/>
    </field>
    <field name="Force Computed Depth" start="57" end="57" type="bool"/>
    <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
    <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
    <field name="Attribute Enable" start="40" end="40" type="bool"/>
    <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
    <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
    <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
    <field name="Pixel Shader Uses Input Coverage Mask" start="33" end="33" type="bool"/>
  </instruction>

  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_RASTER" bias="2" length="5">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
    <field name="API Mode" start="54" end="55" type="uint">
      <value name="DX9/OGL" value="0"/>
      <value name="DX10.0" value="1"/>
      <value name="DX10.1+" value="2"/>
    </field>
    <field name="Front Winding" start="53" end="53" type="uint">
      <value name="Clockwise" value="0"/>
      <value name="Counter Clockwise" value="1"/>
    </field>
    <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
      <value name="NUMRASTSAMPLES_0" value="0"/>
      <value name="NUMRASTSAMPLES_1" value="1"/>
      <value name="NUMRASTSAMPLES_2" value="2"/>
      <value name="NUMRASTSAMPLES_4" value="3"/>
      <value name="NUMRASTSAMPLES_8" value="4"/>
      <value name="NUMRASTSAMPLES_16" value="5"/>
    </field>
    <field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
      <value name="BOTH" value="0"/>
      <value name="NONE" value="1"/>
      <value name="FRONT" value="2"/>
      <value name="BACK" value="3"/>
    </field>
    <field name="Force Multisampling" start="46" end="46" type="uint"/>
    <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
    <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
    <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
      <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
      <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
      <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
      <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
    </field>
    <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
    <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
    <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
    <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
      <value name="SOLID" value="0"/>
      <value name="WIREFRAME" value="1"/>
      <value name="POINT" value="2"/>
    </field>
    <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
      <value name="SOLID" value="0"/>
      <value name="WIREFRAME" value="1"/>
      <value name="POINT" value="2"/>
    </field>
    <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
    <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
    <field name="Viewport Z Clip Test Enable" start="32" end="32" type="bool"/>
    <field name="Global Depth Offset Constant" start="64" end="95" type="float"/>
    <field name="Global Depth Offset Scale" start="96" end="127" type="float"/>
    <field name="Global Depth Offset Clamp" start="128" end="159" type="float"/>
  </instruction>

  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
    <field name="DWord Length" start="0" end="7" type="uint"/>
    <group count="0" start="32" size="32">
      <field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <group count="0" start="32" size="32">
      <field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
      <field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
      <field name="Palette Green[0:N-1]" start="8" end="15" type="uint"/>
      <field name="Palette Blue[0:N-1]" start="0" end="7" type="uint"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Sample Mask" start="32" end="47" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_SAMPLE_PATTERN" bias="2" length="9">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
    <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
    <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
    <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
    <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
    <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
    <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
    <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
    <field name="8x Sample4 Y Offset" start="160" end="163" type="u0.4"/>
    <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
    <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
    <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
    <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
    <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
    <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
    <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
    <field name="8x Sample0 Y Offset" start="192" end="195" type="u0.4"/>
    <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
    <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
    <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
    <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
    <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
    <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
    <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
    <field name="4x Sample0 Y Offset" start="224" end="227" type="u0.4"/>
    <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
    <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
    <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
    <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
    <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
    <field name="2x Sample0 Y Offset" start="256" end="259" type="u0.4"/>
  </instruction>

  <instruction name="3DSTATE_SBE" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
    <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
    <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
    <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
    <field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
      <value name="UPPERLEFT" value="0"/>
      <value name="LOWERLEFT" value="1"/>
    </field>
    <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
    <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
    <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
    <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
    <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
    <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
    <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
    <field name="Point Sprite Texture Coordinate Enable" start="64" end="95" type="uint"/>
    <field name="Constant Interpolation Enable" start="96" end="127" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_SBE_SWIZ" bias="2" length="11">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
    <group count="16" start="32" size="16">
      <field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
    </group>
    <group count="16" start="288" size="4">
      <field name="Attribute Wrap Shortest Enables" start="0" end="3" type="uint"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_SF" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
    <field name="Statistics Enable" start="42" end="42" type="bool"/>
    <field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
    <field name="CHV Line Width" start="44" end="61" type="u11.7"/>
    <field name="Line Width" start="82" end="91" type="u3.7"/>
    <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint">
      <value name="0.5 pixels" value="0"/>
      <value name="1.0 pixels" value="1"/>
      <value name="2.0 pixels" value="2"/>
      <value name="4.0 pixels" value="3"/>
    </field>
    <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
    <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
    <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
    <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
    <field name="AA Line Distance Mode" start="110" end="110" type="uint">
      <value name="AALINEDISTANCE_TRUE" value="1"/>
    </field>
    <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
    <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint"/>
    <field name="Point Width Source" start="107" end="107" type="uint">
      <value name="Vertex" value="0"/>
      <value name="State" value="1"/>
    </field>
    <field name="Point Width" start="96" end="106" type="u8.3"/>
  </instruction>

  <instruction name="3DSTATE_SO_BUFFER" bias="2" length="8">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
    <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
    <field name="SO Buffer Index" start="61" end="62" type="uint"/>
    <field name="SO Buffer Object Control State" start="54" end="60" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="SO Buffer MOCS" start="54" end="60" type="uint"/>
    <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
    <field name="Stream Output Buffer Offset Address Enable" start="52" end="52" type="bool"/>
    <field name="Surface Base Address" start="66" end="111" type="address"/>
    <field name="Surface Size" start="128" end="157" type="uint"/>
    <field name="Stream Output Buffer Offset Address" start="162" end="207" type="address"/>
    <field name="Stream Offset" start="224" end="255" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_SO_DECL_LIST" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
    <field name="DWord Length" start="0" end="8" type="uint"/>
    <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
    <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
    <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
    <field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
    <field name="Num Entries [3]" start="88" end="95" type="uint"/>
    <field name="Num Entries [2]" start="80" end="87" type="uint"/>
    <field name="Num Entries [1]" start="72" end="79" type="uint"/>
    <field name="Num Entries [0]" start="64" end="71" type="uint"/>
    <group count="0" start="96" size="64">
      <field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="5">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
    <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
    <field name="Stencil Buffer Object Control State" start="54" end="60" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Stencil Buffer MOCS" start="54" end="60" type="uint"/>
    <field name="Surface Pitch" start="32" end="48" type="uint"/>
    <field name="Surface Base Address" start="64" end="127" type="address"/>
    <field name="Surface QPitch" start="128" end="142" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_STREAMOUT" bias="2" length="5">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
    <field name="SO Function Enable" start="63" end="63" type="bool"/>
    <field name="Rendering Disable" start="62" end="62" type="bool"/>
    <field name="Render Stream Select" start="59" end="60" type="uint"/>
    <field name="Reorder Mode" start="58" end="58" type="uint">
      <value name="LEADING" value="0"/>
      <value name="TRAILING" value="1"/>
    </field>
    <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
    <field name="Force Rendering" start="55" end="56" type="uint">
      <value name="Resreved" value="1"/>
      <value name="Force_Off" value="2"/>
      <value name="Force_on" value="3"/>
    </field>
    <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
    <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
    <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
    <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
    <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
    <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
    <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
    <field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
    <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
    <field name="Buffer 0 Surface Pitch" start="96" end="107" type="uint"/>
    <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
    <field name="Buffer 2 Surface Pitch" start="128" end="139" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_TE" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Partitioning" start="44" end="45" type="uint">
      <value name="INTEGER" value="0"/>
      <value name="ODD_FRACTIONAL" value="1"/>
      <value name="EVEN_FRACTIONAL" value="2"/>
    </field>
    <field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
      <value name="POINT" value="0"/>
      <value name="LINE" value="1"/>
      <value name="TRI_CW" value="2"/>
      <value name="TRI_CCW" value="3"/>
    </field>
    <field name="TE Domain" start="36" end="37" type="uint">
      <value name="QUAD" value="0"/>
      <value name="TRI" value="1"/>
      <value name="ISOLINE" value="2"/>
    </field>
    <field name="TE Mode" start="33" end="34" type="uint">
      <value name="HW_TESS" value="0"/>
      <value name="SW_TESS" value="1"/>
    </field>
    <field name="TE Enable" start="32" end="32" type="bool"/>
    <field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
    <field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
  </instruction>

  <instruction name="3DSTATE_URB_DS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
    <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
    <field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_URB_GS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
    <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
    <field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_URB_HS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
    <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
    <field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_URB_VS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
    <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
    <field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
    <group count="0" start="32" size="128">
      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <group count="0" start="32" size="64">
      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
    </group>
  </instruction>

  <instruction name="3DSTATE_VF" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
    <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Cut Index" start="32" end="63" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_VF_INSTANCING" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Instancing Enable" start="40" end="40" type="bool"/>
    <field name="Vertex Element Index" start="32" end="37" type="uint"/>
    <field name="Instance Data Step Rate" start="64" end="95" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_VF_SGVS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="InstanceID Enable" start="63" end="63" type="bool"/>
    <field name="InstanceID Component Number" start="61" end="62" type="uint">
      <value name="COMP_0" value="0"/>
      <value name="COMP_1" value="1"/>
      <value name="COMP_2" value="2"/>
      <value name="COMP_3" value="3"/>
    </field>
    <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
    <field name="VertexID Enable" start="47" end="47" type="bool"/>
    <field name="VertexID Component Number" start="45" end="46" type="uint">
      <value name="COMP_0" value="0"/>
      <value name="COMP_1" value="1"/>
      <value name="COMP_2" value="2"/>
      <value name="COMP_3" value="3"/>
    </field>
    <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
    <field name="Statistics Enable" start="0" end="0" type="bool"/>
  </instruction>

  <instruction name="3DSTATE_VF_TOPOLOGY" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
  </instruction>

  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
  </instruction>

  <instruction name="3DSTATE_VS" bias="2" length="9">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
    <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
    <field name="Sampler Count" start="123" end="125" type="uint">
      <value name="No Samplers" value="0"/>
      <value name="1-4 Samplers" value="1"/>
      <value name="5-8 Samplers" value="2"/>
      <value name="9-12 Samplers" value="3"/>
      <value name="13-16 Samplers" value="4"/>
    </field>
    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
      <value name="High" value="1"/>
    </field>
    <field name="Floating Point Mode" start="112" end="112" type="uint">
      <value name="IEEE-754" value="0"/>
      <value name="Alternate" value="1"/>
    </field>
    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
    <field name="Accesses UAV" start="108" end="108" type="bool"/>
    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
    <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
    <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
    <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
    <field name="Maximum Number of Threads" start="247" end="255" type="uint"/>
    <field name="Statistics Enable" start="234" end="234" type="bool"/>
    <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
    <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
    <field name="Enable" start="224" end="224" type="bool"/>
    <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
    <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
    <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
    <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_WM" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Statistics Enable" start="63" end="63" type="bool"/>
    <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
    <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
    <field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
    <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
    <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
      <value name="EDSC_NORMAL" value="0"/>
      <value name="EDSC_PSEXEC" value="1"/>
      <value name="EDSC_PREPS" value="2"/>
    </field>
    <field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
      <value name="ForceOff" value="1"/>
      <value name="ForceON" value="2"/>
    </field>
    <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
      <value name="INTERP_PIXEL" value="0"/>
      <value name="INTERP_CENTROID" value="2"/>
      <value name="INTERP_SAMPLE" value="3"/>
    </field>
    <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
      <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
      <value name="BIM_PERSPECTIVE_CENTROID" value ="2"/>
      <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
      <value name="BIM_LINEAR_PIXEL" value="8"/>
      <value name="BIM_LINEAR_CENTROID" value="16"/>
      <value name="BIM_LINEAR_SAMPLE" value="32"/>
    </field>
    <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
      <value name="0.5 pixels" value="0"/>
      <value name="1.0 pixels" value="1"/>
      <value name="2.0 pixels" value="2"/>
      <value name="4.0 pixels" value="3"/>
    </field>
    <field name="Line Antialiasing Region Width" start="38" end="39" type="uint">
      <value name="0.5 pixels" value="0"/>
      <value name="1.0 pixels" value="1"/>
      <value name="2.0 pixels" value="2"/>
      <value name="4.0 pixels" value="3"/>
    </field>
    <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
    <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
    <field name="Point Rasterization Rule" start="34" end="34" type="uint">
      <value name="RASTRULE_UPPER_LEFT" value="0"/>
      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
    </field>
    <field name="Force Kill Pixel Enable" start="32" end="33" type="uint">
      <value name="ForceOff" value="1"/>
      <value name="ForceON" value="2"/>
    </field>
  </instruction>

  <instruction name="3DSTATE_WM_CHROMAKEY" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="ChromaKey Kill Enable" start="63" end="63" type="bool"/>
  </instruction>

  <instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
    <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
    <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
    <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
    <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
    <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
    <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
    <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
    <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
    <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
    <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
    <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
    <field name="Depth Test Enable" start="33" end="33" type="bool"/>
    <field name="Depth Buffer Write Enable" start="32" end="32" type="bool"/>
    <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
    <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
    <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
    <field name="Backface Stencil Write Mask" start="64" end="71" type="uint"/>
  </instruction>

  <instruction name="3DSTATE_WM_HZ_OP" bias="2" length="5">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
    <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
    <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
    <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
    <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
    <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
    <field name="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
    <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
    <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
    <field name="Number of Multisamples" start="45" end="47" type="uint"/>
    <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
    <field name="Clear Rectangle X Min" start="64" end="79" type="uint"/>
    <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
    <field name="Clear Rectangle X Max" start="96" end="111" type="uint"/>
    <field name="Sample Mask" start="128" end="143" type="uint"/>
  </instruction>

  <instruction name="GPGPU_CSR_BASE_ADDRESS" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="GPGPU CSR Base Address" start="44" end="95" type="address"/>
  </instruction>

  <instruction name="GPGPU_WALKER" bias="2" length="15">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
    <field name="Predicate Enable" start="8" end="8" type="bool"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="13"/>
    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
    <field name="Indirect Data Start Address" start="102" end="127" type="offset"/>
    <field name="SIMD Size" start="158" end="159" type="uint">
      <value name="SIMD8" value="0"/>
      <value name="SIMD16" value="1"/>
      <value name="SIMD32" value="2"/>
    </field>
    <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
    <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
    <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
    <field name="Thread Group ID Starting X" start="160" end="191" type="uint"/>
    <field name="Thread Group ID X Dimension" start="224" end="255" type="uint"/>
    <field name="Thread Group ID Starting Y" start="256" end="287" type="uint"/>
    <field name="Thread Group ID Y Dimension" start="320" end="351" type="uint"/>
    <field name="Thread Group ID Starting/Resume Z" start="352" end="383" type="uint"/>
    <field name="Thread Group ID Z Dimension" start="384" end="415" type="uint"/>
    <field name="Right Execution Mask" start="416" end="447" type="uint"/>
    <field name="Bottom Execution Mask" start="448" end="479" type="uint"/>
  </instruction>

  <instruction name="MEDIA_CURBE_LOAD" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
    <field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
    <field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
  </instruction>

  <instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
    <field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
    <field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
  </instruction>

  <instruction name="MEDIA_OBJECT" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
    <field name="DWord Length" start="0" end="15" type="uint" default="4"/>
    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
    <field name="Children Present" start="95" end="95" type="bool"/>
    <field name="Thread Synchronization" start="88" end="88" type="uint">
      <value name="No thread synchronization" value="0"/>
      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
    </field>
    <field name="Force Destination" start="86" end="86" type="uint"/>
    <field name="Use Scoreboard" start="85" end="85" type="uint">
      <value name="Not using scoreboard" value="0"/>
      <value name="Using scoreboard" value="1"/>
    </field>
    <field name="Slice Destination Select" start="83" end="84" type="uint">
      <value name="Slice 0" value="0"/>
      <value name="Slice 1" value="1"/>
      <value name="Slice 2" value="2"/>
    </field>
    <field name="SubSlice Destination Select" start="81" end="82" type="uint">
      <value name="SubSlice 2" value="2"/>
      <value name="SubSlice 1" value="1"/>
      <value name="SubSlice 0" value="0"/>
    </field>
    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
    <field name="Scoredboard Y" start="144" end="152" type="uint"/>
    <field name="Scoreboard X" start="128" end="136" type="uint"/>
    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
    <group count="0" start="192" size="32">
      <field name="Inline Data" start="0" end="31" type="uint"/>
    </group>
  </instruction>

  <instruction name="MEDIA_OBJECT_GRPID" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
    <field name="DWord Length" start="0" end="15" type="uint" default="5"/>
    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
    <field name="End of Thread Group" start="87" end="87" type="uint"/>
    <field name="Force Destination" start="86" end="86" type="uint"/>
    <field name="Use Scoreboard" start="85" end="85" type="uint">
      <value name="Not using scoreboard" value="0"/>
      <value name="Using scoreboard" value="1"/>
    </field>
    <field name="Slice Destination Select" start="83" end="84" type="uint">
      <value name="Slice 0" value="0"/>
      <value name="Slice 1" value="1"/>
      <value name="Slice 2" value="2"/>
    </field>
    <field name="SubSlice Destination Select" start="81" end="82" type="uint">
      <value name="SubSlice 2" value="2"/>
      <value name="SubSlice 1" value="1"/>
      <value name="SubSlice 0" value="0"/>
    </field>
    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
    <field name="Scoreboard Y" start="144" end="152" type="uint"/>
    <field name="Scoreboard X" start="128" end="136" type="uint"/>
    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
    <field name="GroupID" start="192" end="223" type="uint"/>
    <group count="0" start="224" size="32">
      <field name="Inline Data" start="0" end="31" type="uint"/>
    </group>
  </instruction>

  <instruction name="MEDIA_OBJECT_PRT" bias="2" length="16">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
    <field name="DWord Length" start="0" end="15" type="uint" default="14"/>
    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
    <field name="Children Present" start="95" end="95" type="bool"/>
    <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
    <field name="PRT_FenceType" start="86" end="86" type="uint">
      <value name="Root thread queue" value="0"/>
      <value name="VFE state flush" value="1"/>
    </field>
    <group count="12" start="128" size="32">
      <field name="Inline Data" start="0" end="31" type="uint"/>
    </group>
  </instruction>

  <instruction name="MEDIA_OBJECT_WALKER" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
    <field name="DWord Length" start="0" end="15" type="uint" default="15"/>
    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
    <field name="Children Present" start="95" end="95" type="uint"/>
    <field name="Thread Synchronization" start="88" end="88" type="uint">
      <value name="No thread synchronization" value="0"/>
      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
    </field>
    <field name="Use Scoreboard" start="85" end="85" type="uint">
      <value name="Not using scoreboard" value="0"/>
      <value name="Using scoreboard" value="1"/>
    </field>
    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
    <field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
    <field name="Group ID Loop Select" start="168" end="191" type="uint"/>
    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
    <field name="Color Count Minus One" start="216" end="219" type="uint"/>
    <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
    <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
    <field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
    <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
    <field name="Local Loop Exec Count" start="224" end="233" type="uint"/>
    <field name="Block Resolution Y" start="272" end="280" type="uint"/>
    <field name="Block Resolution X" start="256" end="264" type="uint"/>
    <field name="Local Start Y" start="304" end="312" type="uint"/>
    <field name="Local Start X" start="288" end="296" type="uint"/>
    <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
    <field name="Local Outer Loop Stride X" start="352" end="361" type="int"/>
    <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
    <field name="Local Inner Loop Unit X" start="384" end="393" type="int"/>
    <field name="Global Resolution Y" start="432" end="440" type="uint"/>
    <field name="Global Resolution X" start="416" end="424" type="uint"/>
    <field name="Global Start Y" start="464" end="473" type="int"/>
    <field name="Global Start X" start="448" end="457" type="int"/>
    <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
    <field name="Global Outer Loop Stride X" start="480" end="489" type="int"/>
    <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
    <field name="Global Inner Loop Unit X" start="512" end="521" type="int"/>
    <group count="0" start="544" size="32">
      <field name="Inline Data" start="0" end="31" type="uint"/>
    </group>
  </instruction>

  <instruction name="MEDIA_STATE_FLUSH" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
    <field name="DWord Length" start="0" end="15" type="uint" default="0"/>
    <field name="Flush to GO" start="39" end="39" type="bool"/>
    <field name="Watermark Required" start="38" end="38" type="uint"/>
    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
  </instruction>

  <instruction name="MEDIA_VFE_STATE" bias="2" length="9">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
    <field name="DWord Length" start="0" end="15" type="uint" default="7"/>
    <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
    <field name="Stack Size" start="36" end="39" type="uint"/>
    <field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
    <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
    <field name="Number of URB Entries" start="104" end="111" type="uint"/>
    <field name="Reset Gateway Timer" start="103" end="103" type="uint">
      <value name="Maintaining the existing timestamp state" value="0"/>
      <value name="Resetting relative timer and latching the global timestamp" value="1"/>
    </field>
    <field name="Bypass Gateway Control" start="102" end="102" type="uint">
      <value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
      <value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
    </field>
    <field name="Slice Disable" start="128" end="129" type="uint">
      <value name="All Subslices Enabled" value="0"/>
      <value name="Only Slice 0 Enabled" value="1"/>
      <value name="Only Slice 0 Subslice 0 Enabled" value="3"/>
    </field>
    <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
    <field name="CURBE Allocation Size" start="160" end="175" type="uint"/>
    <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
    <field name="Scoreboard Type" start="222" end="222" type="uint">
      <value name="Stalling Scoreboard" value="0"/>
      <value name="Non-Stalling Scoreboard" value="1"/>
    </field>
    <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
    <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
    <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
    <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
    <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
    <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
    <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
    <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
    <field name="Scoreboard 0 Delta X" start="224" end="227" type="int"/>
    <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
    <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
    <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
    <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
    <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
    <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
    <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
    <field name="Scoreboard 4 Delta X" start="256" end="259" type="int"/>
  </instruction>

  <instruction name="MI_ARB_CHECK" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
  </instruction>

  <instruction name="MI_ATOMIC" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
    <field name="Memory Type" start="22" end="22" type="uint">
      <value name="Per Process Graphics Address" value="0"/>
      <value name="Global Graphics Address" value="1"/>
    </field>
    <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
    <field name="Data Size" start="19" end="20" type="uint">
      <value name="DWORD" value="0"/>
      <value name="QWORD" value="1"/>
      <value name="OCTWORD" value="2"/>
      <value name="RESERVED" value="3"/>
    </field>
    <field name="Inline Data" start="18" end="18" type="uint"/>
    <field name="CS STALL" start="17" end="17" type="uint"/>
    <field name="Return Data Control" start="16" end="16" type="uint"/>
    <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Memory Address" start="34" end="79" type="address"/>
    <field name="Operand1 Data Dword 0" start="96" end="127" type="uint"/>
    <field name="Operand2 Data Dword 0" start="128" end="159" type="uint"/>
    <field name="Operand1 Data Dword 1" start="160" end="191" type="uint"/>
    <field name="Operand2 Data Dword 1" start="192" end="223" type="uint"/>
    <field name="Operand1 Data Dword 2" start="224" end="255" type="uint"/>
    <field name="Operand2 Data Dword 2" start="256" end="287" type="uint"/>
    <field name="Operand1 Data Dword 3" start="288" end="319" type="uint"/>
    <field name="Operand2 Data Dword 3" start="320" end="351" type="uint"/>
  </instruction>

  <instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
  </instruction>

  <instruction name="MI_BATCH_BUFFER_START" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
    <field name="2nd Level Batch Buffer" start="22" end="22" type="uint">
      <value name="1st level batch" value="0"/>
      <value name="2nd level batch" value="1"/>
    </field>
    <field name="Add Offset Enable" start="16" end="16" type="bool"/>
    <field name="Predication Enable" start="15" end="15" type="bool"/>
    <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
    <field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
      <value name="GGTT" value="0"/>
      <value name="PPGTT" value="1"/>
    </field>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Batch Buffer Start Address" start="34" end="79" type="address"/>
  </instruction>

  <instruction name="MI_CLFLUSH" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
    <field name="Use Global GTT" start="22" end="22" type="bool"/>
    <field name="DWord Length" start="0" end="9" type="uint" default="1"/>
    <field name="Page Base Address" start="44" end="79" type="address"/>
    <field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
    <group count="0" start="96" size="32">
      <field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
    </group>
  </instruction>

  <instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
    <field name="Use Global GTT" start="22" end="22" type="bool"/>
    <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Compare Data Dword" start="32" end="63" type="uint"/>
    <field name="Compare Address" start="67" end="111" type="address"/>
  </instruction>

  <instruction name="MI_COPY_MEM_MEM" bias="2" length="5">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
    <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
    <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
    <field name="Destination Memory Address" start="34" end="95" type="address"/>
    <field name="Source Memory Address" start="98" end="159" type="address"/>
  </instruction>

  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Register Offset" start="34" end="54" type="offset"/>
    <field name="Data DWord" start="64" end="95" type="uint"/>
  </instruction>

  <instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
    <field name="Use Global GTT" start="22" end="22" type="bool"/>
    <field name="Async Mode Enable" start="21" end="21" type="bool"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Register Address" start="34" end="54" type="offset"/>
    <field name="Memory Address" start="66" end="127" type="address"/>
  </instruction>

  <instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Source Register Address" start="34" end="54" type="offset"/>
    <field name="Destination Register Address" start="66" end="86" type="offset"/>
  </instruction>

  <instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
    <field name="Display (Plane) Select" start="19" end="21" type="uint">
      <value name="Display Plane A" value="0"/>
      <value name="Display Plane B" value="1"/>
      <value name="Display Plane C" value="4"/>
    </field>
    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
  </instruction>

  <instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
    <field name="Display (Plane) Select" start="19" end="21" type="uint">
      <value name="Display Plane A" value="0"/>
      <value name="Display Plane B" value="1"/>
      <value name="Display Plane C" value="4"/>
    </field>
    <field name="Scan Line Event Done Forward" start="17" end="18" type="bool"/>
    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
  </instruction>

  <instruction name="MI_LOAD_URB_MEM" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="URB Address" start="34" end="46" type="uint"/>
    <field name="Memory Address" start="70" end="127" type="address"/>
  </instruction>

  <instruction name="MI_MATH" bias="2">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
    <group count="0" start="32" size="32">
      <field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
    </group>
  </instruction>

  <instruction name="MI_NOOP" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
    <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
    <field name="Identification Number" start="0" end="21" type="uint"/>
  </instruction>

  <instruction name="MI_PREDICATE" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
    <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
      <value name="KEEP" value="0"/>
      <value name="LOAD" value="2"/>
      <value name="LOADINV" value="3"/>
    </field>
    <field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
      <value name="SET" value="0"/>
      <value name="AND" value="1"/>
      <value name="OR" value="2"/>
      <value name="XOR" value="3"/>
    </field>
    <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
      <value name="SRCS_EQUAL" value="2"/>
      <value name="DELTAS_EQUAL" value="3"/>
    </field>
  </instruction>

  <instruction name="MI_REPORT_HEAD" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
  </instruction>

  <instruction name="MI_REPORT_PERF_COUNT" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
    <field name="Memory Address" start="38" end="95" type="address"/>
    <field name="Core Mode Enable" start="36" end="36" type="uint"/>
    <field name="Use Global GTT" start="32" end="32" type="bool"/>
    <field name="Report ID" start="96" end="127" type="uint"/>
  </instruction>

  <instruction name="MI_RS_CONTEXT" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
    <field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
      <value name="Restore" value="0"/>
      <value name="Save" value="1"/>
    </field>
  </instruction>

  <instruction name="MI_RS_CONTROL" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
    <field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
      <value name="Stop" value="0"/>
      <value name="Start" value="1"/>
    </field>
  </instruction>

  <instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Destination Address" start="34" end="95" type="address"/>
    <field name="Core Mode Enable" start="32" end="32" type="uint"/>
    <field name="Data DWord 0" start="96" end="127" type="uint"/>
  </instruction>

  <instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
    <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
    <field name="Target Engine Select" start="15" end="17" type="uint">
      <value name="RCS" value="0"/>
      <value name="VCS0" value="1"/>
      <value name="BCS" value="2"/>
      <value name="VECS" value="3"/>
      <value name="VCS1" value="4"/>
    </field>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Target Context ID" start="32" end="63" type="uint"/>
  </instruction>

  <instruction name="MI_SEMAPHORE_WAIT" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
    <field name="Memory Type" start="22" end="22" type="uint">
      <value name="Per Process Graphics Address" value="0"/>
      <value name="Global Graphics Address" value="1"/>
    </field>
    <field name="Wait Mode" start="15" end="15" type="uint">
      <value name="Polling Mode" value="1"/>
      <value name="Signal Mode" value="0"/>
    </field>
    <field name="Compare Operation" start="12" end="14" type="uint" prefix="COMPARE">
      <value name="SAD_GREATER_THAN_SDD" value="0"/>
      <value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1"/>
      <value name="SAD_LESS_THAN_SDD" value="2"/>
      <value name="SAD_LESS_THAN_OR_EQUAL_SDD" value="3"/>
      <value name="SAD_EQUAL_SDD" value="4"/>
      <value name="SAD_NOT_EQUAL_SDD" value="5"/>
    </field>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
    <field name="Semaphore Address" start="66" end="95" type="address"/>
    <field name="Semaphore Address High" start="96" end="111" type="address"/>
  </instruction>

  <instruction name="MI_SET_CONTEXT" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Logical Context Address" start="44" end="63" type="address"/>
    <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
    <field name="Core Mode Enable" start="36" end="36" type="bool"/>
    <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
    <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
    <field name="Force Restore" start="33" end="33" type="uint"/>
    <field name="Restore Inhibit" start="32" end="32" type="uint"/>
  </instruction>

  <instruction name="MI_SET_PREDICATE" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
    <field name="PREDICATE ENABLE" start="0" end="3" type="uint">
      <value name="NOOP Never" value="0"/>
      <value name="NOOP on Result2 clear" value="1"/>
      <value name="NOOP on Result2 set" value="2"/>
      <value name="NOOP on Result clear" value="3"/>
      <value name="NOOP on Result set" value="4"/>
      <value name="Execute when one slice enabled." value="5"/>
      <value name="Execute when two slices are enabled." value="6"/>
      <value name="Execute when three slices are enabled." value="7"/>
      <value name="NOOP Always" value="15"/>
    </field>
  </instruction>

  <instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
    <field name="Use Global GTT" start="22" end="22" type="bool"/>
    <field name="Store Qword" start="21" end="21" type="uint"/>
    <field name="DWord Length" start="0" end="9" type="uint" default="2"/>
    <field name="Address" start="34" end="79" type="address"/>
    <field name="Core Mode Enable" start="32" end="32" type="uint"/>
    <field name="Immediate Data" start="96" end="159" type="uint"/>
  </instruction>

  <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
    <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="Offset" start="34" end="43" type="uint"/>
    <field name="Data DWord 0" start="64" end="95" type="uint"/>
    <field name="Data DWord 1" start="96" end="127" type="uint"/>
  </instruction>

  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
    <field name="Use Global GTT" start="22" end="22" type="bool"/>
    <field name="Predicate Enable" start="21" end="21" type="bool"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="Register Address" start="34" end="54" type="offset"/>
    <field name="Memory Address" start="66" end="127" type="address"/>
  </instruction>

  <instruction name="MI_STORE_URB_MEM" bias="2" length="4">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
    <field name="URB Address" start="34" end="46" type="uint"/>
    <field name="Memory Address" start="70" end="127" type="address"/>
  </instruction>

  <instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
    <field name="Suspend Flush" start="0" end="0" type="bool"/>
  </instruction>

  <instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
    <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
  </instruction>

  <instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
    <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
    <field name="URB Atomic Storage Size" start="0" end="8" type="uint"/>
  </instruction>

  <instruction name="MI_URB_CLEAR" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="URB Clear Length" start="48" end="61" type="uint"/>
    <field name="URB Address" start="32" end="46" type="offset"/>
  </instruction>

  <instruction name="MI_USER_INTERRUPT" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
  </instruction>

  <instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
    <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
    <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
    <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
    <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
    <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
    <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
    <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
    <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
    <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
    <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
    <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
    <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
    <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
  </instruction>

  <instruction name="PIPELINE_SELECT" bias="1" length="1">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
    <field name="Pipeline Selection" start="0" end="1" type="uint">
      <value name="3D" value="0"/>
      <value name="Media" value="1"/>
      <value name="GPGPU" value="2"/>
    </field>
  </instruction>

  <instruction name="PIPE_CONTROL" bias="2" length="6">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
    <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
      <value name="PPGTT" value="0"/>
      <value name="GGTT" value="1"/>
    </field>
    <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
      <value name="No LRI Operation" value="0"/>
      <value name="MMIO Write Immediate Data" value="1"/>
    </field>
    <field name="Store Data Index" start="53" end="53" type="uint"/>
    <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
    <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
    <field name="Post Sync Operation" start="46" end="47" type="uint">
      <value name="No Write" value="0"/>
      <value name="Write Immediate Data" value="1"/>
      <value name="Write PS Depth Count" value="2"/>
      <value name="Write Timestamp" value="3"/>
    </field>
    <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
    <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
    <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
    <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
    <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
    <field name="Notify Enable" start="40" end="40" type="bool"/>
    <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
    <field name="DC Flush Enable" start="37" end="37" type="bool"/>
    <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
    <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
    <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
    <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
    <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
    <field name="Address" start="66" end="111" type="address"/>
    <field name="Immediate Data" start="128" end="191" type="uint"/>
  </instruction>

  <instruction name="STATE_BASE_ADDRESS" bias="2" length="16">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="14"/>
    <field name="General State Base Address" start="44" end="95" type="address"/>
    <field name="General State Memory Object Control State" start="36" end="42" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
    <field name="Stateless Data Port Access Memory Object Control State" start="112" end="118" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Surface State Base Address" start="140" end="191" type="address"/>
    <field name="Surface State Memory Object Control State" start="132" end="138" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Surface State Base Address Modify Enable" start="128" end="128" type="bool"/>
    <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
    <field name="Dynamic State Memory Object Control State" start="196" end="202" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Dynamic State Base Address Modify Enable" start="192" end="192" type="bool"/>
    <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
    <field name="Indirect Object Memory Object Control State" start="260" end="266" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Indirect Object Base Address Modify Enable" start="256" end="256" type="bool"/>
    <field name="Instruction Base Address" start="332" end="383" type="address"/>
    <field name="Instruction Memory Object Control State" start="324" end="330" type="MEMORY_OBJECT_CONTROL_STATE"/>
    <field name="Instruction Base Address Modify Enable" start="320" end="320" type="bool"/>
    <field name="General State Buffer Size" start="396" end="415" type="uint"/>
    <field name="General State Buffer Size Modify Enable" start="384" end="384" type="bool"/>
    <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
    <field name="Dynamic State Buffer Size Modify Enable" start="416" end="416" type="bool"/>
    <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
    <field name="Indirect Object Buffer Size Modify Enable" start="448" end="448" type="bool"/>
    <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
    <field name="Instruction Buffer size Modify Enable" start="480" end="480" type="bool"/>
  </instruction>

  <instruction name="STATE_PREFETCH" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="Prefetch Pointer" start="38" end="63" type="address"/>
    <field name="Prefetch Count" start="32" end="34" type="uint"/>
  </instruction>

  <instruction name="STATE_SIP" bias="2" length="3">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
    <field name="System Instruction Pointer" start="36" end="95" type="offset"/>
  </instruction>

  <instruction name="SWTESS_BASE_ADDRESS" bias="2" length="2">
    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
    <field name="SW Tessellation Base Address" start="44" end="79" type="address"/>
    <field name="SW Tessellation Memory Object Control State" start="40" end="43" type="MEMORY_OBJECT_CONTROL_STATE"/>
  </instruction>

  <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
    <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
    <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
    <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
    <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
    <field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
    <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
    <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
    <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
    <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
    <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
    <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
  </register>

  <register name="BCS_INSTDONE" length="1" num="0x2206c">
    <field name="Ring Enable" start="0" end="0" type="bool"/>
    <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
    <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
    <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
  </register>

  <register name="INSTDONE_1" length="1" num="0x206c">
    <field name="PRB0 Ring Enable" start="0" end="0" type="bool"/>
    <field name="VFG Done" start="1" end="1" type="bool"/>
    <field name="VS Done" start="2" end="2" type="bool"/>
    <field name="HS Done" start="3" end="3" type="bool"/>
    <field name="TE Done" start="4" end="4" type="bool"/>
    <field name="DS Done" start="5" end="5" type="bool"/>
    <field name="GS Done" start="6" end="6" type="bool"/>
    <field name="SOL Done" start="7" end="7" type="bool"/>
    <field name="CL Done" start="8" end="8" type="bool"/>
    <field name="SF Done" start="9" end="9" type="bool"/>
    <field name="TDG Done" start="12" end="12" type="bool"/>
    <field name="URBM Done" start="13" end="13" type="bool"/>
    <field name="SVG Done" start="14" end="14" type="bool"/>
    <field name="GAFS Done" start="15" end="15" type="bool"/>
    <field name="VFE Done" start="16" end="16" type="bool"/>
    <field name="TSG Done" start="17" end="17" type="bool"/>
    <field name="GAFM Done" start="18" end="18" type="bool"/>
    <field name="GAM Done" start="19" end="19" type="bool"/>
    <field name="SDE Done" start="22" end="22" type="bool"/>
    <field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
  </register>

  <register name="VCS_INSTDONE" length="1" num="0x1206c">
    <field name="Ring Enable" start="0" end="0" type="bool"/>
    <field name="USB Done" start="1" end="1" type="bool"/>
    <field name="QRC Done" start="2" end="2" type="bool"/>
    <field name="SEC Done" start="3" end="3" type="bool"/>
    <field name="MPC Done" start="4" end="4" type="bool"/>
    <field name="VFT Done" start="5" end="5" type="bool"/>
    <field name="BSP Done" start="6" end="6" type="bool"/>
    <field name="VLF Done" start="7" end="7" type="bool"/>
    <field name="VOP Done" start="8" end="8" type="bool"/>
    <field name="VMC Done" start="9" end="9" type="bool"/>
    <field name="VIP Done" start="10" end="10" type="bool"/>
    <field name="VIT Done" start="11" end="11" type="bool"/>
    <field name="VDS Done" start="12" end="12" type="bool"/>
    <field name="VMX Done" start="13" end="13" type="bool"/>
    <field name="VCP Done" start="14" end="14" type="bool"/>
    <field name="VCD Done" start="15" end="15" type="bool"/>
    <field name="VAD Done" start="16" end="16" type="bool"/>
    <field name="VMD Done" start="17" end="17" type="bool"/>
    <field name="VIS Done" start="18" end="18" type="bool"/>
    <field name="VAC Done" start="19" end="19" type="bool"/>
    <field name="VAM Done" start="20" end="20" type="bool"/>
    <field name="JPG Done" start="21" end="21" type="bool"/>
    <field name="VBP Done" start="22" end="22" type="bool"/>
    <field name="VHR Done" start="23" end="23" type="bool"/>
    <field name="VCI Done" start="24" end="24" type="bool"/>
    <field name="VCR Done" start="25" end="25" type="bool"/>
    <field name="VIN Done" start="26" end="26" type="bool"/>
    <field name="VPR Done" start="27" end="27" type="bool"/>
    <field name="VTQ Done" start="28" end="28" type="bool"/>
    <field name="Reserved" start="29" end="29" type="bool"/>
    <field name="VCS Done" start="30" end="30" type="bool"/>
    <field name="GAC Done" start="31" end="31" type="bool"/>
  </register>

  <register name="VECS_INSTDONE" length="1" num="0x1a06c">
    <field name="Ring Enable" start="0" end="0" type="bool"/>
    <field name="VECS Done" start="30" end="30" type="bool"/>
    <field name="GAM Done" start="31" end="31" type="bool"/>
  </register>

  <register name="L3CNTLREG" length="1" num="0x7034">
    <field name="SLM Enable" start="0" end="0" type="uint"/>
    <field name="URB Allocation" start="1" end="7" type="uint"/>
    <field name="RO Allocation" start="11" end="17" type="uint"/>
    <field name="DC Allocation" start="18" end="24" type="uint"/>
    <field name="All Allocation" start="25" end="31" type="uint"/>
  </register>

  <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
    <field name="Write Offset" start="2" end="31" type="offset"/>
  </register>

  <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
    <field name="Write Offset" start="2" end="31" type="offset"/>
  </register>

  <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
    <field name="Write Offset" start="2" end="31" type="offset"/>
  </register>

  <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
    <field name="Write Offset" start="2" end="31" type="offset"/>
  </register>

  <register name="CACHE_MODE_1" length="1" num="0x7004">
    <field name="RCZ Read after expansion control fix 2" start="2" end="2" type="bool"/>
    <field name="Depth Read Hit Write-Only Optimization Disable" start="3" end="3" type="bool"/>
    <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
    <field name="4X4 RCPFE-STC Optimization Disable" start="6" end="6" type="bool"/>
    <field name="Sampler Cache Set XOR selection" start="7" end="8" type="uint"/>
    <field name="NP PMA Fix Enable" start="11" end="11" type="uint"/>
    <field name="HIZ Eviction Policy" start="12" end="12" type="uint"/>
    <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
    <field name="MSC Resolve Optimization Disable" start="14" end="14" type="uint"/>
    <field name="RCZ Read after expansion control fix 2 Mask" start="18" end="18" type="bool"/>
    <field name="Depth Read Hit Write-Only Optimization Disable Mask" start="19" end="19" type="bool"/>
    <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
    <field name="4X4 RCPFE-STC Optimization Disable Mask" start="22" end="22" type="bool"/>
    <field name="Sampler Cache Set XOR selection Mask" start="23" end="24" type="uint"/>
    <field name="NP PMA Fix Enable Mask" start="27" end="27" type="uint"/>
    <field name="HIZ Eviction Policy Mask" start="28" end="28" type="uint"/>
    <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="uint"/>
    <field name="MSC Resolve Optimization Disable Mask" start="30" end="30" type="uint"/>
  </register>

  <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
    <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
    <field name="RSTRM PAVP Read Invalid" start="1" end="1" type="bool"/>
    <field name="Invalid Page Directory Entry Error" start="2" end="2" type="bool"/>
    <field name="ROSTRM PAVP Invalid Physical Address" start="3" end="3" type="bool"/>
    <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
    <field name="WRDP PAVP Invalid" start="5" end="5" type="bool"/>
    <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
    <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
    <field name="GuC VTd translation Page Fault 2nd level (Undefined doorbell)" start="9" end="9" type="bool"/>
    <field name="Non WB memory type for Advanced Context" start="10" end="10" type="bool"/>
    <field name="PASID Not Enabled" start="11" end="11" type="bool"/>
    <field name="PASID Boundary Violation" start="12" end="12" type="bool"/>
    <field name="PASID Not Valid" start="13" end="13" type="bool"/>
    <field name="PASID Was Zero For Untranslated Request" start="14" end="14" type="bool"/>
    <field name="Context Was Not Marked As Present When Doing DMA" start="15" end="15" type="bool"/>
  </register>

  <register name="ACTHD_UDW" length="1" num="0x205c">
    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
  </register>

  <register name="BCS_ACTHD_UDW" length="1" num="0x2205c">
    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
  </register>

  <register name="VCS_ACTHD_UDW" length="1" num="0x1205c">
    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
  </register>

  <register name="VECS_ACTHD_UDW" length="1" num="0x1a05c">
    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
  </register>

  <register name="FAULT_REG" length="1" num="0x4094">
    <field name="Valid Bit" start="0" end="0" type="bool"/>
    <field name="Fault Type" start="1" end="2" type="uint">
      <value name="Invalid PTE Fault" value="0"/>
      <value name="Invalid PDE Fault" value="1"/>
      <value name="Invalid PDPE Fault" value="2"/>
      <value name="Invalid PML4E Fault" value="3"/>
    </field>
    <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
    <field name="GTTSEL" start="11" end="11" type="uint">
      <value name="PPGTT" value="0"/>
      <value name="GGTT" value="1"/>
    </field>
    <field name="Engine ID" start="12" end="14" type="uint">
      <value name="GFX" value="0"/>
      <value name="MFX0" value="1"/>
      <value name="MFX1" value="2"/>
      <value name="VEBX" value="3"/>
      <value name="BLT" value="4"/>
      <value name="GUC" value="5"/>
    </field>
  </register>

  <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
      <value name="MI_AUTOREPORT_OFF" value="0"/>
      <value name="MI_AUTOREPORT_64KB" value="1"/>
      <value name="MI_AUTOREPORT_4KB" value="2"/>
      <value name="MI_AUTOREPORT_128KB" value="3"/>
    </field>
    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
    <field name="RBWait" start="11" end="11" type="bool"/>
    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
  </register>

  <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
      <value name="MI_AUTOREPORT_OFF" value="0"/>
      <value name="MI_AUTOREPORT_64KB" value="1"/>
      <value name="MI_AUTOREPORT_4KB" value="2"/>
      <value name="MI_AUTOREPORT_128KB" value="3"/>
    </field>
    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
    <field name="RBWait" start="11" end="11" type="bool"/>
    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
  </register>

  <register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
      <value name="MI_AUTOREPORT_OFF" value="0"/>
      <value name="MI_AUTOREPORT_64KB" value="1"/>
      <value name="MI_AUTOREPORT_4KB" value="2"/>
      <value name="MI_AUTOREPORT_128KB" value="3"/>
    </field>
    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
    <field name="RBWait" start="11" end="11" type="bool"/>
    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
  </register>

  <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
      <value name="MI_AUTOREPORT_OFF" value="0"/>
      <value name="MI_AUTOREPORT_64KB" value="1"/>
      <value name="MI_AUTOREPORT_4KB" value="2"/>
      <value name="MI_AUTOREPORT_128KB" value="3"/>
    </field>
    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
    <field name="RBWait" start="11" end="11" type="bool"/>
    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
  </register>

  <register name="VCS2_RING_BUFFER_CTL" length="1" num="0x1203c">
    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
      <value name="MI_AUTOREPORT_OFF" value="0"/>
      <value name="MI_AUTOREPORT_64KB" value="1"/>
      <value name="MI_AUTOREPORT_4KB" value="2"/>
      <value name="MI_AUTOREPORT_128KB" value="3"/>
    </field>
    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
    <field name="RBWait" start="11" end="11" type="bool"/>
    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
  </register>

</genxml>