Nugget
Loading...
Searching...
No Matches
quad-flat.c
Go to the documentation of this file.
1/*
2
3MIT License
4
5Copyright (c) 2026 PCSX-Redux authors
6
7Permission is hereby granted, free of charge, to any person obtaining a copy
8of this software and associated documentation files (the "Software"), to deal
9in the Software without restriction, including without limitation the rights
10to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11copies of the Software, and to permit persons to whom the Software is
12furnished to do so, subject to the following conditions:
13
14The above copyright notice and this permission notice shall be included in all
15copies or substantial portions of the Software.
16
17THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23SOFTWARE.
24
25*/
26
27// Phase-8 4-vert flat textured quad tests. Each draw uses the texture
28// fixtures uploaded by uploadAllTextureFixtures(); fixture textures
29// are content-addressed (texel value = f(u, v)) so the test can read
30// back the VRAM pixel and assert it matches the expected texel-CLUT
31// lookup. Vertex/UV layouts target three concerns:
32//
33// - Baseline UV interpolation across non-trivial quad shapes.
34// - Terminal-odd-pixel sampler behavior (audit finding #8: 4-vert
35// paths use posY + difY at the terminal, hardware truth is among
36// what this captures).
37// - Semi-trans opcode (0x2E) path correctness.
38
40
41// ---- Axis-aligned quads, UV 1:1 with screen ------------------------------
42
43static void drawQFA4(void) {
44 rasterReset();
45 rasterClearTestRegion(0, 0, 32, 16);
46 setTexpage(TEX4_TX, TEX4_TY, 0);
47 setTextureWindow(0, 0, 0, 0);
48 /* 16-wide x 8-tall axis-aligned quad, UV matching screen. */
49 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
50 0, 0, 0, 0,
51 15, 0, 15, 0,
52 0, 7, 0, 7,
53 15, 7, 15, 7,
55 rasterFlushPrimitive();
56}
57
58static void drawQFA8(void) {
59 rasterReset();
60 rasterClearTestRegion(0, 0, 48, 16);
61 setTexpage(TEX8_TX, TEX8_TY, 1);
62 setTextureWindow(0, 0, 0, 0);
63 /* 32-wide x 8-tall - more 8-bit texels per row. */
64 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
65 0, 0, 0, 0,
66 31, 0, 31, 0,
67 0, 7, 0, 7,
68 31, 7, 31, 7,
70 rasterFlushPrimitive();
71}
72
73static void drawQFA15(void) {
74 rasterReset();
75 rasterClearTestRegion(0, 0, 32, 16);
76 setTexpage(TEX15_TX, TEX15_TY, 2);
77 setTextureWindow(0, 0, 0, 0);
78 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
79 0, 0, 0, 0,
80 15, 0, 15, 0,
81 0, 7, 0, 7,
82 15, 7, 15, 7,
84 rasterFlushPrimitive();
85}
86
87// ---- Skewed parallelogram quads (non-rectangular UV interpolation) -------
88
89static void drawQFD4(void) {
90 /* Parallelogram: bottom edge shifted +4 in X. Top vertices at
91 (0,0) and (15,0); bottom at (4,7) and (19,7). UV is still
92 0..15 across the width at each row, so the per-row UV
93 interpolation has to interpolate U from 0 to 15 across a
94 row whose pixel-extent shifts with Y. */
95 rasterReset();
96 rasterClearTestRegion(0, 0, 28, 16);
97 setTexpage(TEX4_TX, TEX4_TY, 0);
98 setTextureWindow(0, 0, 0, 0);
99 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
100 0, 0, 0, 0,
101 15, 0, 15, 0,
102 4, 7, 0, 7,
103 19, 7, 15, 7,
105 rasterFlushPrimitive();
106}
107
108static void drawQFD15(void) {
109 /* Same shape, 15-bit texture - UV reads back as direct pixel. */
110 rasterReset();
111 rasterClearTestRegion(0, 0, 28, 16);
112 setTexpage(TEX15_TX, TEX15_TY, 2);
113 setTextureWindow(0, 0, 0, 0);
114 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
115 0, 0, 0, 0,
116 15, 0, 15, 0,
117 4, 7, 0, 7,
118 19, 7, 15, 7,
120 rasterFlushPrimitive();
121}
122
123// ---- Odd-width row terminal probes (audit finding #8) --------------------
124//
125// 5x4 axis-aligned quad: each row covers 5 pixels (xmin=0..xmax=4),
126// odd width -> terminal sampler fires at j=4. UV matching screen so
127// terminal pixel "should" sample texel (4, row). Capture what
128// hardware actually returns at each terminal pixel.
129
130static void drawQFO4(void) {
131 rasterReset();
132 rasterClearTestRegion(0, 0, 16, 16);
133 setTexpage(TEX4_TX, TEX4_TY, 0);
134 setTextureWindow(0, 0, 0, 0);
135 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
136 0, 0, 0, 0,
137 4, 0, 4, 0,
138 0, 3, 0, 3,
139 4, 3, 4, 3,
141 rasterFlushPrimitive();
142}
143
144static void drawQFO8(void) {
145 /* Same 5x4 shape, 8-bit texture. Terminal pixel samples texel
146 (4, row) -> CLUT8[4] = expectedClut8Color(4). */
147 rasterReset();
148 rasterClearTestRegion(0, 0, 16, 16);
149 setTexpage(TEX8_TX, TEX8_TY, 1);
150 setTextureWindow(0, 0, 0, 0);
151 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
152 0, 0, 0, 0,
153 4, 0, 4, 0,
154 0, 3, 0, 3,
155 4, 3, 4, 3,
157 rasterFlushPrimitive();
158}
159
160static void drawQFO15(void) {
161 rasterReset();
162 rasterClearTestRegion(0, 0, 16, 16);
163 setTexpage(TEX15_TX, TEX15_TY, 2);
164 setTextureWindow(0, 0, 0, 0);
165 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
166 0, 0, 0, 0,
167 4, 0, 4, 0,
168 0, 3, 0, 3,
169 4, 3, 4, 3,
171 rasterFlushPrimitive();
172}
173
174// ---- Semi-trans (GP0(0x2E)) variants -------------------------------------
175//
176// drawPoly4TEx*_S paths. The terminal sampler at j==xmax is the same
177// asymmetry as opaque. Pre-fill the test region with a known opaque
178// color so the semi-trans blend produces a deterministic result we
179// can capture.
180
181static void drawQFS4(void) {
182 rasterReset();
183 /* Pre-fill with VRAM red so semi-trans has a non-sentinel
184 background to blend against. */
185 rasterFillRect(0, 0, 32, 16, RASTER_VRAM_RED);
186 setTexpage(TEX4_TX, TEX4_TY, 0);
187 setTextureWindow(0, 0, 0, 0);
188 rasterFlatTexQuadSemi(TEX_MOD_NEUTRAL,
189 0, 0, 0, 0,
190 15, 0, 15, 0,
191 0, 7, 0, 7,
192 15, 7, 15, 7,
194 rasterFlushPrimitive();
195}
196
197static void drawQFS8(void) {
198 rasterReset();
199 rasterFillRect(0, 0, 48, 16, RASTER_VRAM_RED);
200 setTexpage(TEX8_TX, TEX8_TY, 1);
201 setTextureWindow(0, 0, 0, 0);
202 rasterFlatTexQuadSemi(TEX_MOD_NEUTRAL,
203 0, 0, 0, 0,
204 31, 0, 31, 0,
205 0, 7, 0, 7,
206 31, 7, 31, 7,
208 rasterFlushPrimitive();
209}
210
211// ---- Degenerate quad: v3 coincident with v2 ------------------------------
212//
213// Effective triangle. The 4-vert path should produce identical pixels
214// to a 3-vert path drawn with the first three vertices.
215
216static void drawQFDeg(void) {
217 rasterReset();
218 rasterClearTestRegion(0, 0, 32, 16);
219 setTexpage(TEX4_TX, TEX4_TY, 0);
220 setTextureWindow(0, 0, 0, 0);
221 rasterFlatTexQuad(TEX_MOD_NEUTRAL,
222 0, 0, 0, 0,
223 15, 0, 15, 0,
224 0, 7, 0, 7,
225 0, 7, 0, 7, /* v3 == v2 */
227 rasterFlushPrimitive();
228}
229
230// Reference 3-vert path matching QFDeg's first three vertices.
231static void drawQFDegRef(void) {
232 rasterReset();
233 rasterClearTestRegion(0, 0, 32, 16);
234 setTexpage(TEX4_TX, TEX4_TY, 0);
235 setTextureWindow(0, 0, 0, 0);
236 rasterTexTri(TEX_MOD_NEUTRAL,
237 0, 0, 0, 0,
238 15, 0, 15, 0,
239 0, 7, 0, 7,
241 rasterFlushPrimitive();
242}
243
244) // CESTER_BODY
245
246// ============================================================================
247// QFA4: axis-aligned 16x8 4-bit quad
248// ============================================================================
249
250CESTER_TEST(qfa4_corner_0_0, gpu_raster_phase8,
251 drawQFA4();
252 /* (0,0) samples texel u=0 -> CLUT4[0]. */
254)
255CESTER_TEST(qfa4_corner_14_0, gpu_raster_phase8,
256 drawQFA4();
257 /* (14,0) samples texel u=14 -> CLUT4[14]. */
259)
260CESTER_TEST(qfa4_corner_0_6, gpu_raster_phase8,
261 drawQFA4();
263)
264CESTER_TEST(qfa4_corner_14_6, gpu_raster_phase8,
265 drawQFA4();
267)
268CESTER_TEST(qfa4_interior_7_3, gpu_raster_phase8,
269 drawQFA4();
271)
272CESTER_TEST(qfa4_interior_3_5, gpu_raster_phase8,
273 drawQFA4();
275)
276
277// ============================================================================
278// QFA8: axis-aligned 32x8 8-bit quad
279// ============================================================================
280
281CESTER_TEST(qfa8_corner_0_0, gpu_raster_phase8,
282 drawQFA8();
284)
285CESTER_TEST(qfa8_corner_30_0, gpu_raster_phase8,
286 drawQFA8();
288)
289CESTER_TEST(qfa8_corner_0_6, gpu_raster_phase8,
290 drawQFA8();
292)
293CESTER_TEST(qfa8_corner_30_6, gpu_raster_phase8,
294 drawQFA8();
296)
297CESTER_TEST(qfa8_interior_15_3, gpu_raster_phase8,
298 drawQFA8();
300)
301CESTER_TEST(qfa8_interior_22_5, gpu_raster_phase8,
302 drawQFA8();
304)
305
306// ============================================================================
307// QFA15: axis-aligned 16x8 15-bit quad
308// ============================================================================
309
310CESTER_TEST(qfa15_corner_0_0, gpu_raster_phase8,
311 drawQFA15();
313)
314CESTER_TEST(qfa15_corner_14_0, gpu_raster_phase8,
315 drawQFA15();
317)
318CESTER_TEST(qfa15_corner_0_6, gpu_raster_phase8,
319 drawQFA15();
321)
322CESTER_TEST(qfa15_corner_14_6, gpu_raster_phase8,
323 drawQFA15();
325)
326CESTER_TEST(qfa15_interior_7_3, gpu_raster_phase8,
327 drawQFA15();
329)
330CESTER_TEST(qfa15_interior_3_5, gpu_raster_phase8,
331 drawQFA15();
333)
334
335// ============================================================================
336// QFD4: parallelogram-skewed 4-bit quad. UV per pixel depends on the
337// per-row interpolation across the slanted edges - non-trivial.
338// ============================================================================
339
340CESTER_TEST(qfd4_top_0_0, gpu_raster_phase8,
341 drawQFD4();
343)
344CESTER_TEST(qfd4_top_8_0, gpu_raster_phase8,
345 drawQFD4();
347)
348CESTER_TEST(qfd4_mid_4_3, gpu_raster_phase8,
349 drawQFD4();
350 /* Mid-row interior. */
352)
353CESTER_TEST(qfd4_mid_10_3, gpu_raster_phase8,
354 drawQFD4();
356)
357CESTER_TEST(qfd4_bottom_4_6, gpu_raster_phase8,
358 drawQFD4();
360)
361CESTER_TEST(qfd4_bottom_14_6, gpu_raster_phase8,
362 drawQFD4();
364)
365
366/* Per-row UV drift probes for QFD4 parallelogram. The left edge slope
367 is 4/7 per row, so frac(leftX) cycles 0/0.57/0.14/0.71/0.29/0.86/0.43.
368 Predicted: rows where frac(leftX) lands in (0, 0.5] sample U one LSB
369 higher than rows where it lands in (0.5, 1) - the half-pixel-bias is
370 what the inner loop's posX init currently elides. */
371CESTER_TEST(qfd4_row1_4, gpu_raster_phase8,
372 drawQFD4();
374)
375CESTER_TEST(qfd4_row1_10, gpu_raster_phase8,
376 drawQFD4();
378)
379CESTER_TEST(qfd4_row2_4, gpu_raster_phase8,
380 drawQFD4();
382)
383CESTER_TEST(qfd4_row2_10, gpu_raster_phase8,
384 drawQFD4();
386)
387CESTER_TEST(qfd4_row4_4, gpu_raster_phase8,
388 drawQFD4();
390)
391CESTER_TEST(qfd4_row4_10, gpu_raster_phase8,
392 drawQFD4();
394)
395CESTER_TEST(qfd4_row5_4, gpu_raster_phase8,
396 drawQFD4();
398)
399CESTER_TEST(qfd4_row5_10, gpu_raster_phase8,
400 drawQFD4();
402)
403
404// ============================================================================
405// QFD15: parallelogram-skewed 15-bit quad
406// ============================================================================
407
408CESTER_TEST(qfd15_top_0_0, gpu_raster_phase8,
409 drawQFD15();
411)
412CESTER_TEST(qfd15_top_8_0, gpu_raster_phase8,
413 drawQFD15();
415)
416CESTER_TEST(qfd15_mid_4_3, gpu_raster_phase8,
417 drawQFD15();
419)
420CESTER_TEST(qfd15_mid_10_3, gpu_raster_phase8,
421 drawQFD15();
423)
424CESTER_TEST(qfd15_bottom_4_6, gpu_raster_phase8,
425 drawQFD15();
427)
428CESTER_TEST(qfd15_bottom_14_6, gpu_raster_phase8,
429 drawQFD15();
431)
432
433/* Direct-15 mirror of the QFD4 per-row UV drift probes. Same geometry,
434 same per-row leftX slope, but 15-bit direct texel lookup so the U and
435 V values are both observable in the returned color word. */
436CESTER_TEST(qfd15_row1_4, gpu_raster_phase8,
437 drawQFD15();
439)
440CESTER_TEST(qfd15_row1_10, gpu_raster_phase8,
441 drawQFD15();
443)
444CESTER_TEST(qfd15_row2_4, gpu_raster_phase8,
445 drawQFD15();
447)
448CESTER_TEST(qfd15_row2_10, gpu_raster_phase8,
449 drawQFD15();
451)
452CESTER_TEST(qfd15_row4_4, gpu_raster_phase8,
453 drawQFD15();
455)
456CESTER_TEST(qfd15_row4_10, gpu_raster_phase8,
457 drawQFD15();
459)
460CESTER_TEST(qfd15_row5_4, gpu_raster_phase8,
461 drawQFD15();
463)
464CESTER_TEST(qfd15_row5_10, gpu_raster_phase8,
465 drawQFD15();
467)
468
469// ============================================================================
470// QFO4: 5x4 odd-width-row quad. Terminal pixel of each row reveals
471// the audit-finding-#8 sampler behavior on real hardware.
472// ============================================================================
473
474CESTER_TEST(qfo4_terminal_4_0, gpu_raster_phase8,
475 drawQFO4();
476 /* Top-row terminal pixel. */
478)
479CESTER_TEST(qfo4_terminal_4_1, gpu_raster_phase8,
480 drawQFO4();
482)
483CESTER_TEST(qfo4_terminal_4_2, gpu_raster_phase8,
484 drawQFO4();
486)
487CESTER_TEST(qfo4_interior_2_1, gpu_raster_phase8,
488 drawQFO4();
489 /* Non-terminal interior - paired loop covers it. */
491)
492CESTER_TEST(qfo4_interior_3_2, gpu_raster_phase8,
493 drawQFO4();
495)
496
497// ============================================================================
498// QFO8: 5x4 8-bit odd-width
499// ============================================================================
500
501CESTER_TEST(qfo8_terminal_4_0, gpu_raster_phase8,
502 drawQFO8();
504)
505CESTER_TEST(qfo8_terminal_4_1, gpu_raster_phase8,
506 drawQFO8();
508)
509CESTER_TEST(qfo8_terminal_4_2, gpu_raster_phase8,
510 drawQFO8();
512)
513CESTER_TEST(qfo8_interior_2_1, gpu_raster_phase8,
514 drawQFO8();
516)
517
518// ============================================================================
519// QFO15: 5x4 15-bit odd-width
520// ============================================================================
521
522CESTER_TEST(qfo15_terminal_4_0, gpu_raster_phase8,
523 drawQFO15();
525)
526CESTER_TEST(qfo15_terminal_4_1, gpu_raster_phase8,
527 drawQFO15();
529)
530CESTER_TEST(qfo15_terminal_4_2, gpu_raster_phase8,
531 drawQFO15();
533)
534CESTER_TEST(qfo15_interior_2_1, gpu_raster_phase8,
535 drawQFO15();
537)
538
539// ============================================================================
540// QFS4: semi-trans 4-bit quad (drawPoly4TEx4_S path)
541// Pre-fill background is VRAM red (0x001f).
542// ============================================================================
543
544CESTER_TEST(qfs4_corner_0_0, gpu_raster_phase8,
545 drawQFS4();
547)
548CESTER_TEST(qfs4_interior_7_3, gpu_raster_phase8,
549 drawQFS4();
551)
552CESTER_TEST(qfs4_corner_14_6, gpu_raster_phase8,
553 drawQFS4();
555)
556
557// ============================================================================
558// QFS8: semi-trans 8-bit quad (drawPoly4TEx8_S path)
559// ============================================================================
560
561CESTER_TEST(qfs8_corner_0_0, gpu_raster_phase8,
562 drawQFS8();
564)
565CESTER_TEST(qfs8_interior_15_3, gpu_raster_phase8,
566 drawQFS8();
568)
569CESTER_TEST(qfs8_corner_30_6, gpu_raster_phase8,
570 drawQFS8();
572)
573
574// ============================================================================
575// QFDeg: degenerate quad collapses to triangle. Compare against the
576// 3-vert reference draw via ASSERT_PIXEL_EQ on captured oracle values.
577// ============================================================================
578
579CESTER_TEST(qfdeg_0_0, gpu_raster_phase8,
580 drawQFDeg();
582)
583CESTER_TEST(qfdeg_7_3, gpu_raster_phase8,
584 drawQFDeg();
586)
587CESTER_TEST(qfdeg_3_5, gpu_raster_phase8,
588 drawQFDeg();
590)
591
592CESTER_TEST(qfdeg_ref_0_0, gpu_raster_phase8,
593 drawQFDegRef();
594 /* Same oracle value - 3-vert reference should match the
595 degenerate-quad output at every interior pixel. */
597)
598CESTER_TEST(qfdeg_ref_7_3, gpu_raster_phase8,
599 drawQFDegRef();
601)
602CESTER_TEST(qfdeg_ref_3_5, gpu_raster_phase8,
603 drawQFDegRef();
605)
CESTER_BODY(static int s_got40;static int s_got80;static uint32_t s_cause;static uint32_t s_epc;static uint32_t s_from;static uint32_t *s_resume;static uint32_t *s_regs;static uint32_t(*s_customhandler)()=NULL;static uint32_t s_oldIMASK;static uint32_t s_oldDPCR;static uint32_t s_oldDICR;uint32_t handler(uint32_t *regs, uint32_t from) { if(from==0x40) s_got40=1;if(from==0x80) s_got80=1;uint32_t cause;uint32_t epc;s_from=from;asm("mfc0 %0, $13\nnop\nmfc0 %1, $14\nnop" :"=r"(cause), "=r"(epc));s_cause=cause;s_epc=epc;if(s_customhandler) { return s_customhandler();} else { return s_resume ?((uint32_t) s_resume) :(epc+4);} } void installExceptionHandlers(uint32_t(*handler)(uint32_t *regs, uint32_t from));void uninstallExceptionHandlers();uint32_t branchbranch1();uint32_t branchbranch2();uint32_t jumpjump1();uint32_t jumpjump2();uint32_t cpu_LWR_LWL_half(uint32_t buff[], uint32_t initial);uint32_t cpu_LWR_LWL_nodelay(uint32_t buff[], uint32_t initial);uint32_t cpu_LWR_LWL_delayed(uint32_t buff[], uint32_t initial);uint32_t cpu_LWR_LWL_load_different(uint32_t buff[], uint32_t initial);uint32_t cpu_LW_LWR(uint32_t buff[], uint32_t initial);uint32_t cpu_delayed_load(uint32_t buff[], uint32_t override);uint32_t cpu_delayed_load_cancelled(uint32_t buff[], uint32_t override);uint64_t cpu_delayed_load_load(uint32_t buff[], uint32_t override);uint32_t linkandload();uint32_t lwandlink();uint32_t nolink();static int s_interruptsWereEnabled;) CESTER_BEFORE_EACH(cpu_tests
CESTER_TEST(cpu_cop0_basic_write_bp, cpu_tests, uint32_t expectedEPC;uint32_t t;volatile uint32_t *ptr=(volatile uint32_t *) 0x58; *ptr=1;__asm__ volatile("" " lui %0, 0b1100101010000000\n" " mtc0 %0, $7\n" " li %0, 0x58\n" " mtc0 %0, $5\n" " li %0, 0xfffffff0\n" " mtc0 %0, $9\n" :"=r"(t));cester_assert_uint_eq(1, *ptr);__asm__ volatile("la %0, 1f\n1:\nsw $0, 0x58($0)" :"=r"(expectedEPC));__asm__ volatile("mtc0 $0, $7\n");cester_assert_uint_eq(0, *ptr);cester_assert_uint_eq(1, s_got40);cester_assert_uint_eq(0, s_got80);cester_assert_uint_eq(0x40, s_from);cester_assert_uint_eq(expectedEPC, s_epc);) CESTER_TEST(cpu_cop0_kseg_write_bp
#define QFDEG_7_3
Definition raster-expected-phase8.h:214
#define QFA8_0_6
Definition raster-expected-phase8.h:105
#define QFO8_TERMINAL_4_0
Definition raster-expected-phase8.h:183
#define QFD15_4_5
Definition raster-expected-phase8.h:162
#define QFO4_TERMINAL_4_0
Definition raster-expected-phase8.h:177
#define QFD15_14_6
Definition raster-expected-phase8.h:153
#define QFD15_0_0
Definition raster-expected-phase8.h:148
#define QFS4_7_3
Definition raster-expected-phase8.h:201
#define QFA8_22_5
Definition raster-expected-phase8.h:108
#define QFA15_0_6
Definition raster-expected-phase8.h:117
#define QFA8_30_6
Definition raster-expected-phase8.h:106
#define QFO4_INTERIOR_2_1
Definition raster-expected-phase8.h:180
#define QFD15_4_2
Definition raster-expected-phase8.h:158
#define QFD4_4_6
Definition raster-expected-phase8.h:131
#define QFA4_0_0
Definition raster-expected-phase8.h:90
#define QFD4_8_0
Definition raster-expected-phase8.h:128
#define QFD15_10_5
Definition raster-expected-phase8.h:163
#define QFD4_0_0
Definition raster-expected-phase8.h:127
#define QFD15_4_3
Definition raster-expected-phase8.h:150
#define QFA4_7_3
Definition raster-expected-phase8.h:94
#define QFD15_4_1
Definition raster-expected-phase8.h:156
#define QFO4_TERMINAL_4_1
Definition raster-expected-phase8.h:178
#define QFS8_30_6
Definition raster-expected-phase8.h:206
#define QFD15_8_0
Definition raster-expected-phase8.h:149
#define QFD4_10_2
Definition raster-expected-phase8.h:142
#define QFDEG_3_5
Definition raster-expected-phase8.h:215
#define QFD4_10_3
Definition raster-expected-phase8.h:130
#define QFO4_TERMINAL_4_2
Definition raster-expected-phase8.h:179
#define QFD15_4_6
Definition raster-expected-phase8.h:152
#define QFS4_14_6
Definition raster-expected-phase8.h:202
#define QFO15_TERMINAL_4_0
Definition raster-expected-phase8.h:188
#define QFA15_0_0
Definition raster-expected-phase8.h:115
#define QFA8_15_3
Definition raster-expected-phase8.h:107
#define QFA4_14_6
Definition raster-expected-phase8.h:93
#define QFD4_4_4
Definition raster-expected-phase8.h:143
#define QFD15_10_2
Definition raster-expected-phase8.h:159
#define QFA15_3_5
Definition raster-expected-phase8.h:120
#define QFD4_4_5
Definition raster-expected-phase8.h:145
#define QFA15_14_6
Definition raster-expected-phase8.h:118
#define QFO15_TERMINAL_4_2
Definition raster-expected-phase8.h:190
#define QFD15_4_4
Definition raster-expected-phase8.h:160
#define QFO15_INTERIOR_2_1
Definition raster-expected-phase8.h:191
#define QFD4_4_2
Definition raster-expected-phase8.h:141
#define QFA15_14_0
Definition raster-expected-phase8.h:116
#define QFD15_10_4
Definition raster-expected-phase8.h:161
#define QFDEG_REF_7_3
Definition raster-expected-phase8.h:218
#define QFDEG_0_0
Definition raster-expected-phase8.h:213
#define QFD4_10_1
Definition raster-expected-phase8.h:140
#define QFD15_10_1
Definition raster-expected-phase8.h:157
#define QFA8_0_0
Definition raster-expected-phase8.h:103
#define QFD4_4_3
Definition raster-expected-phase8.h:129
#define QFA4_14_0
Definition raster-expected-phase8.h:91
#define QFA8_30_0
Definition raster-expected-phase8.h:104
#define QFO8_INTERIOR_2_1
Definition raster-expected-phase8.h:186
#define QFD4_10_5
Definition raster-expected-phase8.h:146
#define QFA4_0_6
Definition raster-expected-phase8.h:92
#define QFS4_0_0
Definition raster-expected-phase8.h:200
#define QFD4_10_4
Definition raster-expected-phase8.h:144
#define QFD4_4_1
Definition raster-expected-phase8.h:139
#define QFS8_0_0
Definition raster-expected-phase8.h:204
#define QFA15_7_3
Definition raster-expected-phase8.h:119
#define QFS8_15_3
Definition raster-expected-phase8.h:205
#define QFD4_14_6
Definition raster-expected-phase8.h:132
#define QFO15_TERMINAL_4_1
Definition raster-expected-phase8.h:189
#define QFDEG_REF_0_0
Definition raster-expected-phase8.h:217
#define QFO4_INTERIOR_3_2
Definition raster-expected-phase8.h:181
#define QFD15_10_3
Definition raster-expected-phase8.h:151
#define QFA4_3_5
Definition raster-expected-phase8.h:95
#define QFDEG_REF_3_5
Definition raster-expected-phase8.h:219
#define QFO8_TERMINAL_4_1
Definition raster-expected-phase8.h:184
#define QFO8_TERMINAL_4_2
Definition raster-expected-phase8.h:185
#define RASTER_VRAM_RED
Definition raster-helpers.h:124
#define ASSERT_PIXEL_EQ(expected, x_, y_)
Definition raster-helpers.h:472
#define CLUT8_FIELD
Definition texture-fixtures.h:84
#define TEX15_TY
Definition texture-fixtures.h:66
#define TEX8_TY
Definition texture-fixtures.h:61
#define CLUT4_FIELD
Definition texture-fixtures.h:83
#define TEX15_TPAGE
Definition texture-fixtures.h:104
#define TEX8_TPAGE
Definition texture-fixtures.h:103
#define CLUT15_FIELD
Definition texture-fixtures.h:85
#define TEX15_TX
Definition texture-fixtures.h:65
#define TEX8_TX
Definition texture-fixtures.h:60
#define TEX_MOD_NEUTRAL
Definition texture-fixtures.h:328
#define TEX4_TY
Definition texture-fixtures.h:56
#define TEX4_TX
Definition texture-fixtures.h:55
#define TEX4_TPAGE
Definition texture-fixtures.h:102