Search
lxdream.org :: lxdream/test/testta5.data
lxdream 0.9.1
released Jun 29
Download Now
filename test/testta5.data
changeset 195:1c43bdb83748
prev193:31151fcc3cb7
next202:dab35eb2a6a4
author nkeynes
date Sat Aug 05 00:18:21 2006 +0000 (13 years ago)
permissions -rw-r--r--
last change Add error lines to tests with incomplete polys
Split clip tests to separate data file
Add tests for cmd bit 23 ("use list size field")
view annotate diff log raw
     1 #
     2 # Corner/error cases
     3 #
     4 [5.1 Out of range vertexes?]
     5 input =
     6 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
     7 E0000000 -16.0      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
     8 E0000000 -31.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
     9 F0000000 0.5      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
    10 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    11 output =
    12 E0200000 2083242D 00000000
    13 -16.0    0.1      0.2      F0ABCDEF
    14 -31.2    0.3      0.4      E0989898
    15 0.5      31.6     0.7      F8878787
    16 tile 1 =
    17 80204000
    18 [5.2 NaN vertex]
    19 input =
    20 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
    21 E0000000 7FFFFFFF 0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
    22 E0000000 -31.2    0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
    23 F0000000 0.5      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
    24 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    25 output =
    26 E0000000 2083242D 00000000
    27 7FFFFFFF 0.1      0.2      F0ABCDEF
    28 -31.2    0.3      0.4      E0989898
    29 0.5      31.6     0.7      F8878787
    30 tile 1 = 80204000
    31 tile 1 1x0 = 80204000
    32 tile 1 19x0 = 80204000
    33 tile 1 0x1 =
    34 [5.3.1 Inf vertex]
    35 input =
    36 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
    37 E0000000 7F800000 0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
    38 E0000000 -31.2    0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
    39 F0000000 0.5      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
    40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    41 output =
    42 E0000000 2083242D 00000000
    43 7F800000 0.1      0.2      F0ABCDEF
    44 -31.2    0.3      0.4      E0989898
    45 0.5      31.6     0.7      F8878787
    46 tile 1 = 80204000
    47 tile 1 1x0 = 80204000
    48 tile 1 19x0 = 80204000
    49 tile 1 0x1 =
    50 [5.3.2 Inf colour]
    51 input =
    52 80800010 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
    53 E0000000 0.7      0.1      0.2      7F800000 FF800000 123412.0 -123412.0
    54 E0000000 -31.2    0.3      0.4      0.6001   0.6002   0.6003   0.6004
    55 F0000000 0.5      31.6     0.7      1.0      0.0      -1.0     0.0
    56 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    57 output =
    58 E0200000 2083242D 00000000
    59 0.7      0.1      0.2      FF00FF00
    60 -31.2    0.3      0.4      98989898
    61 0.5      31.6     0.7      FF000000
    62 tile 1 = 80204000
    63 [5.4 -Inf vertex]
    64 input =
    65 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
    66 E0000000 FF800000 0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
    67 E0000000 -31.2    0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
    68 F0000000 0.5      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
    69 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    70 output =
    71 E0200000 2083242D 00000000
    72 FF800000 0.1      0.2      F0ABCDEF
    73 -31.2    0.3      0.4      E0989898
    74 0.5      31.6     0.7      F8878787
    75 tile 1 = 80204000
    76 tile 1 1x0 =
    77 tile 1 0x1 =
    78 [5.5 Out of frustrum]
    79 input =
    80 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
    81 E0000000 -1.1     -5.2     0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
    82 E0000000 -31.2    -10.0    0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
    83 F0000000 -60.2    -5.2     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
    84 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    85 output =
    86 tile 1 =
    87 [5.6 Double list-end]
    88 input =
    89 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
    90 E0000000 0.4      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
    91 E0000000 31.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
    92 F0000000 0.5      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
    93 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    94 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
    95 E0000000 0.6      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
    96 E0000000 31.4     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
    97 F0000000 0.6      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
    98 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    99 output =
   100 E0200000 2083242D 00000000
   101 0.4      0.1      0.2      F0ABCDEF
   102 31.2     0.3      0.4      E0989898
   103 0.5      31.6     0.7      F8878787
   104 E0200000 2083242D 00000000
   105 0.6      0.1      0.2      F0ABCDEF
   106 31.4     0.3      0.4      E0989898
   107 0.6      31.6     0.7      F8878787
   108 tile 1 =
   109 8020400F
   110 [5.7 Mixed list]
   111 input =
   112 80000000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   113 E0000000 0.4      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   114 E0000000 31.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   115 F0000000 0.5      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   116 81000000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   117 E0000000 0.6      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   118 E0000000 31.4     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   119 F0000000 0.6      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   120 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   121 output =
   122 E0200000 2083242D 00000000
   123 0.4      0.1      0.2      F0ABCDEF
   124 31.2     0.3      0.4      E0989898
   125 0.5      31.6     0.7      F8878787
   126 E0200000 2083242D 00000000
   127 0.6      0.1      0.2      F0ABCDEF
   128 31.4     0.3      0.4      E0989898
   129 0.6      31.6     0.7      F8878787
   130 tile 1 =
   131 82204000
   132 [5.8 Mixed list 2]
   133 input =
   134 80000000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   135 81000000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   136 E0000000 0.6      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   137 E0000000 31.4     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   138 F0000000 0.6      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   139 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   140 output =
   141 E0200000 2083242D 00000000
   142 0.6      0.1      0.2      F0ABCDEF
   143 31.4     0.3      0.4      E0989898
   144 0.6      31.6     0.7      F8878787
   145 tile 1 =
   146 80204000
   147 [5.9 List end bits?]
   148 input =
   149 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   150 E0000000 0.4      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   151 E0000000 31.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   152 F0000000 0.5      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   153 1FFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
   154 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   155 E0000000 0.6      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   156 E0000000 31.4     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   157 F0000000 0.6      31.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   158 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   159 output =
   160 E0200000 2083242D 00000000
   161 0.4      0.1      0.2      F0ABCDEF
   162 31.2     0.3      0.4      E0989898
   163 0.5      31.6     0.7      F8878787
   164 E0200000 2083242D 00000000
   165 0.6      0.1      0.2      F0ABCDEF
   166 31.4     0.3      0.4      E0989898
   167 0.6      31.6     0.7      F8878787
   168 tile 1 =
   169 8020400F
   170 [5.10 Mid-list changeup]
   171 error = 1F 44
   172 input =
   173 80880000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   174 E0000000 0.4      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   175 E0000000 15.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   176 E0000000 0.5      15.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   177 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   178 E0000000 15.3     15.7     0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   179 E0000000 0.17     23.5     0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   180 F0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   181 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   182 output =
   183 E0200000 2083242D 00000000
   184 0.4      0.1      0.2      F0ABCDEF
   185 15.2     0.3      0.4      E0989898
   186 0.5      15.6     0.7      F8878787
   187 0.5      15.6     0.7      F8878787
   188 0.5      15.6     0.7      F8878787
   189 0.5      15.6     0.7      F8878787
   190 tile 1 =
   191 78204000
   192 [5.11 Mid-list changeup 2]
   193 input =
   194 80880000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   195 E0000000 0.4      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   196 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   197 E0000000 15.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   198 E0000000 0.5      15.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   199 E0000000 15.3     15.7     0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   200 E0000000 0.17     23.5     0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   201 F0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   202 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   203 output =
   204 tile 1 =
   205 error = 1F 44
   206 [5.11.2 Mid-list changeup 2]
   207 input =
   208 80880000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   209 E0000000 0.4      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   210 E0000000 15.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   211 E0000000 0.5      15.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   212 E0000000 15.3     15.7     0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   213 E0000000 0.17     23.5     0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   214 E0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   215 80800000 D2000000 2083242D 00000000 00000000 00000000 00000000 00000000
   216 E0000000 15.3     15.7     0.2      DEADBEEF DEADBEEF C0ABCDEF DEADBEEF
   217 E0000000 0.17     23.5     0.4      DEADBEEF DEADBEEF C0989898 DEADBEEF
   218 F0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF C8878787 DEADBEEF
   219 80800000 F3000000 2083242D 00000000 00000000 00000000 00000000 00000000
   220 E0000000 15.3     15.7     0.2      DEADBEEF DEADBEEF B0ABCDEF DEADBEEF
   221 E0000000 0.17     23.5     0.4      DEADBEEF DEADBEEF B0989898 DEADBEEF
   222 F0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF B8878787 DEADBEEF
   223 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   224 output =
   225 E0200000 2083242D 00000000
   226 0.4      0.1      0.2      F0ABCDEF
   227 15.2     0.3      0.4      E0989898
   228 0.5      15.6     0.7      F8878787
   229 15.3     15.7     0.2      F0ABCDEF
   230 0.17     23.5     0.4      E0989898
   231 23.4     23.6     0.7      F8878787
   232 E0200000 2083242D 00000000
   233 0.17     23.5     0.4      E0989898
   234 23.4     23.6     0.7      F8878787
   235 23.4     23.6     0.7      F8878787
   236 23.4     23.6     0.7      F8878787
   237 23.4     23.6     0.7      F8878787
   238 23.4     23.6     0.7      F8878787
   239 tile 1 = 78204000 7820401B
   240 error = 1F 44
   241 [5.11.3 Mid-list changeup 2]
   242 input =
   243 80880000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   244 E0000000 0.4      0.1      0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   245 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   246 E0000000 15.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   247 E0000000 0.5      15.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   248 E0000000 15.3     15.7     0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   249 E0000000 0.17     23.5     0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   250 F0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   251 80800000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   252 E0000000 15.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   253 E0000000 0.5      15.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   254 E0000000 15.3     15.7     0.2      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   255 E0000000 0.17     23.5     0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   256 E0000000 0.17     23.5     0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   257 F0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   258 80840000 E0000000 2083252D 00000000 00000000 00000000 00000000 00000000
   259 E0000000 15.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   260 E0000000 0.5      15.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   261 F0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   262 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   263 82840000 E0000000 2083252D 00000000 00000000 00000000 00000000 00000000
   264 E0000000 15.2     0.3      0.4      DEADBEEF DEADBEEF E0989898 DEADBEEF
   265 E0000000 0.5      15.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   266 F0000000 23.4     23.6     0.7      DEADBEEF DEADBEEF F8878787 DEADBEEF
   267 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   268 output =
   269 tile 1 = 78204000 7820401B 
   270 tile 2 = 40004036 
   271 error = 1F 44
   272 [5.12 No final vertex]
   273 input =
   274 80880000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   275 E0000000 0.2      0.1      0.4      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   276 E0000000 0.2      0.1      0.4      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   277 E0000000 0.2      0.1      0.4      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   278 E0000000 0.2      0.1      0.4      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   279 E0000000 0.2      0.1      0.4      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   280 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   281 output =
   282 tile 1 =
   283 error = 1F 44
   284 [5.13 2-vertex only]
   285 input =
   286 80880000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   287 E0000000 0.2      0.1      0.4      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   288 F0000000 0.2      0.1      0.4      DEADBEEF DEADBEEF F0ABCDEF DEADBEEF
   289 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   290 output =
   291 tile 1 =
   292 error = 1F 44
   293 [5.14 Empty list]
   294 input =
   295 80880000 E0000000 2083242D 00000000 00000000 00000000 00000000 00000000
   296 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   297 output =
   298 tile 1 =
   299 [5.15.1 Dodgy data]
   300 input =
   301 50800000 E0000000 2083242D 80FFEACD DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   302 E0000000 0.2      0.3      0.4      15.5     0.6      0.7      15.6
   303 16.7     0.5      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   304 output =
   305 error = 1F 44
   306 [5.17.1 Type 17 - Modifier volume - bad params]
   307 input =
   308 810FFFFF 00000000 DEADBEE1 DEADBEE2 DEADBEE3 DEADBEE4 DEADBEE5 DEADBEE6
   309 E0000000 0.2      0.3      0.4      15.5     0.6      0.7      15.6
   310 16.7     0.5      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   311 E0000000 0.2      0.3      0.4      15.5     0.6      0.7      9.1
   312 9.2      1.3      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   313 E0000000 15.5     0.6      0.7      15.6     16.7     0.5      9.1
   314 9.2      1.3      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   315 F0000000 0.2      0.3      0.4      15.6    16.7     0.5      9.1
   316 9.2      1.3      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   317 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   318 81000000 ABACADAB DEADBEE1 DEADBEE2 DEADBEE3 DEADBEE4 DEADBEE5 DEADBEE6
   319 E0000000 0.2      0.3      0.4      15.5     0.6      0.7      15.6
   320 16.7     0.5      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   321 E0000000 0.2      0.3      0.4      15.5     0.6      0.7      9.1
   322 9.2      1.3      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   323 E0000000 15.5     0.6      0.7      15.6     16.7     0.5      9.1
   324 9.2      1.3      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   325 F0000000 0.2      0.3      0.4      15.6    16.7     0.5      9.1
   326 9.2      1.3      DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF
   327 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   328 output =
   329 A82CADAB 00000000 00000000
   330 0.2      0.3      0.4      15.5     0.6      0.7      15.6     16.7     0.5
   331 A82CADAB 00000000 00000000
   332 0.2      0.3      0.4      15.5     0.6      0.7      9.1      9.2      1.3
   333 A82CADAB 00000000 00000000
   334 15.5     0.6      0.7      15.6     16.7     0.5      9.1      9.2      1.3
   335 A82CADAB 00000000 00000000
   336 0.2      0.3      0.4      15.6    16.7     0.5      9.1      9.2      1.3
   337 tile 2 =
   338 86004000
.