add support for ARB_shader_objects and ARB_vertex_shader
[mesa.git] / docs / conform.html
1 <HTML>
2
3 <TITLE>Conformance</TITLE>
4
5 <BODY text="#000000" bgcolor="#55bbff" link="#111188">
6
7 <H1>Conformance</H1>
8
9 <p>
10 The SGI OpenGL conformance tests verify correct operation of OpenGL
11 implementations. I, Brian Paul, have been given a copy of the tests
12 for testing Mesa. The tests are not publically available.
13 </p>
14 <p>
15 This file has the latest results of testing Mesa with the OpenGL 1.2
16 conformance tests. Testing with the preliminary OpenGL 1.3 tests has
17 also been done. Mesa passes all the 1.3 tests.
18 </p>
19 <p>
20 The tests were run using the software X11 device driver on 24-bpp
21 and 16-bpp displays.
22 </p>
23 <p>
24 Mesa 4.0 and later pass all conformance tests at all path levels.
25 Note that this says nothing about the conformance of hardware drivers
26 based upon Mesa.
27 </p>
28
29
30 <pre>
31
32 COVERAGE TESTS
33 --------------
34
35 Test that all API functions accept the legal parameters and reject
36 illegal parameters. The result of each test is either pass or fail.
37
38 % covgl
39 OpenGL Coverage Test.
40 Version 1.2
41
42 covgl passed.
43
44 covgl passed at 1.1 level.
45
46 covgl passed at 1.2 level.
47
48 covgl passed for ARB_multitexture.
49
50
51 % covglu
52 OpenGL GLU Coverage Test.
53 Version 1.3
54
55 covglu passed.
56
57 covglu passed at 1.1 level.
58
59
60 % covglx
61 OpenGL X Coverage Test.
62 Version 1.1.1
63
64 covglx passed.
65
66
67 % primtest -v
68 Open GL Primitives Test.
69 Version 1.2
70
71 [lots of output deleted]
72
73 292159 Combinations.
74 primtest passed.
75
76
77
78
79 GL CONFORMANCE TEST
80 ===================
81
82 Render test images, read them back, then test for expected results.
83
84
85 ----------------------------------------------------------------------
86 % conform -v 2
87
88 OpenGL Conformance Test
89 Version 1.2
90
91 Setup Report.
92 Verbose level = 2.
93 Random number seed = 1.
94 Path inactive.
95
96 Visual Report.
97 Display ID = 35. Indirect Rendering.
98 Double Buffered.
99 RGBA (5, 6, 5, 0).
100 Stencil (8).
101 Depth (16).
102 Accumulation (16, 16, 16, 16).
103
104 Epsilon Report.
105 zero error epsilon = 0.000122.
106 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
107 Depth buffer error epsilon = 0.000137.
108 Stencil plane error epsilon = 0.00404.
109 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
110
111 Default State test passed.
112 Must Pass test passed.
113 Divide By Zero test passed.
114 Viewport Clamp test passed.
115 Matrix Stack test passed.
116 Matrix Stack Mixing test passed.
117 Vertex Order test passed.
118 Transformations test passed.
119 Transformation Normal test passed.
120 Viewport Transformation test passed.
121 Buffer Clear test passed.
122 Buffer Corners test passed.
123 Buffer Color test passed.
124 Color Ramp test passed.
125 Mask test passed.
126 Buffer Invariance test passed.
127 Accumulation Buffer test passed.
128 Select test passed.
129 Feedback test passed.
130 Scissor test passed.
131 Alpha Plane Function test passed.
132 Stencil Plane Clear test passed.
133 Stencil Plane Corners test passed.
134 Stencil Plane Operation test passed.
135 Stencil Plane Function test passed.
136 Depth Buffer Clear test passed.
137 Depth Buffer Function test passed.
138 Blend test passed.
139 Dither test passed.
140 LogicOp Function test does not exist for an RGB visual.
141 DrawPixels test passed.
142 CopyPixels test passed.
143 Bitmap Rasterization test passed.
144 Point Rasterization test passed.
145 Anti-aliased Point test passed.
146 Line Rasterization test passed.
147 Line Stipple test passed.
148 Anti-aliased Line test passed.
149 Horizontal and Vertical Line test passed.
150 Triangle Rasterization test passed.
151 Triangle Tile test passed.
152 Triangle Stipple test passed.
153 Anti-aliased Triangles test passed.
154 Quad Rasterization test passed.
155 Polygon Face test passed.
156 Polygon Cull test passed.
157 Polygon Stipple test passed.
158 Polygon Edge test passed.
159 Ambient Material test passed.
160 Ambient Scene test passed.
161 Attenuation Position test passed.
162 Diffuse Light test passed.
163 Diffuse Material test passed.
164 Diffuse Material Normal test passed.
165 Diffuse Material Positioning test passed.
166 Emissive Material test passed.
167 Specular Exponent test passed.
168 Specular Exponent Normal test passed.
169 Specular Local Eye Half Angle test passed.
170 Specular Light test passed.
171 Specular Material test passed.
172 Specular Normal test passed.
173 Spot Positioning test passed.
174 Spot Exponent and Positioning test passed.
175 Spot Exponent and Direction test passed.
176 Fog Exponential test passed.
177 Fog Linear test passed.
178 Texture Decal test passed.
179 Texture Border test passed.
180 Mipmaps Selection test passed.
181 Mipmaps Interpolation test passed.
182 Display Lists test passed.
183 Evaluator test passed.
184 Evaluator Color test passed.
185 Texture Edge Clamp test passed.
186 Packed Pixels test passed.
187 Texture LOD test passed.
188 Rescale Normal test passed.
189 Color Table test passed.
190 Convolution test passed.
191 Convolution Border test passed.
192 Histogram test passed.
193 MinMax test passed.
194 MultiTexture test passed.
195
196 Conform passed.
197
198 ----------------------------------------------------------------------
199 % conform -v 2 -p 1
200
201 OpenGL Conformance Test
202 Version 1.2
203
204 Setup Report.
205 Verbose level = 2.
206 Random number seed = 1.
207 Path level = 1.
208
209 Visual Report.
210 Display ID = 35. Indirect Rendering.
211 Double Buffered.
212 RGBA (5, 6, 5, 0).
213 Stencil (8).
214 Depth (16).
215 Accumulation (16, 16, 16, 16).
216
217 Epsilon Report.
218 zero error epsilon = 0.000122.
219 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
220 Depth buffer error epsilon = 0.000137.
221 Stencil plane error epsilon = 0.00404.
222 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
223
224 Default State test passed.
225 Must Pass test passed.
226 Divide By Zero test passed.
227 Viewport Clamp test passed.
228 Matrix Stack test passed.
229 Matrix Stack Mixing test passed.
230 Vertex Order test passed.
231 Transformations test passed.
232 Transformation Normal test passed.
233 Viewport Transformation test passed.
234 Buffer Clear test passed.
235 Buffer Corners test passed.
236 Buffer Color test passed.
237 Color Ramp test passed.
238 Mask test passed.
239 Buffer Invariance test passed.
240 Accumulation Buffer test passed.
241 Select test passed.
242 Feedback test passed.
243 Scissor test passed.
244 Alpha Plane Function test passed.
245 Stencil Plane Clear test passed.
246 Stencil Plane Corners test passed.
247 Stencil Plane Operation test passed.
248 Stencil Plane Function test passed.
249 Depth Buffer Clear test passed.
250 Depth Buffer Function test passed.
251 Blend test passed.
252 Dither test passed.
253 LogicOp Function test does not exist for an RGB visual.
254 DrawPixels test passed.
255 CopyPixels test passed.
256 Bitmap Rasterization test passed.
257 Point Rasterization test passed.
258 Anti-aliased Point test passed.
259 Line Rasterization test passed.
260 Line Stipple test passed.
261 Anti-aliased Line test passed.
262 Horizontal and Vertical Line test passed.
263 Triangle Rasterization test passed.
264 Triangle Tile test passed.
265 Triangle Stipple test passed.
266 Anti-aliased Triangles test passed.
267 Quad Rasterization test passed.
268 Polygon Face test passed.
269 Polygon Cull test passed.
270 Polygon Stipple test passed.
271 Polygon Edge test passed.
272 Ambient Material test passed.
273 Ambient Scene test passed.
274 Attenuation Position test passed.
275 Diffuse Light test passed.
276 Diffuse Material test passed.
277 Diffuse Material Normal test passed.
278 Diffuse Material Positioning test passed.
279 Emissive Material test passed.
280 Specular Exponent test passed.
281 Specular Exponent Normal test passed.
282 Specular Local Eye Half Angle test passed.
283 Specular Light test passed.
284 Specular Material test passed.
285 Specular Normal test passed.
286 Spot Positioning test passed.
287 Spot Exponent and Positioning test passed.
288 Spot Exponent and Direction test passed.
289 Fog Exponential test passed.
290 Fog Linear test passed.
291 Texture Decal test passed.
292 Texture Border test passed.
293 Mipmaps Selection test passed.
294 Mipmaps Interpolation test passed.
295 Display Lists test passed.
296 Evaluator test passed.
297 Evaluator Color test passed.
298 Texture Edge Clamp test passed.
299 Packed Pixels test passed.
300 Texture LOD test passed.
301 Rescale Normal test passed.
302 Color Table test passed.
303 Convolution test passed.
304 Convolution Border test passed.
305 Histogram test passed.
306 MinMax test passed.
307 MultiTexture test passed.
308
309 Conform passed.
310
311 ----------------------------------------------------------------------
312 % conform -v 2 -p 2
313
314 OpenGL Conformance Test
315 Version 1.2
316
317 Setup Report.
318 Verbose level = 2.
319 Random number seed = 1.
320 Path level = 2.
321
322 Visual Report.
323 Display ID = 35. Indirect Rendering.
324 Double Buffered.
325 RGBA (5, 6, 5, 0).
326 Stencil (8).
327 Depth (16).
328 Accumulation (16, 16, 16, 16).
329
330 Epsilon Report.
331 zero error epsilon = 0.000122.
332 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
333 Depth buffer error epsilon = 0.000137.
334 Stencil plane error epsilon = 0.00404.
335 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
336
337 Default State test passed.
338 Must Pass test passed.
339 Divide By Zero test passed.
340 Viewport Clamp test passed.
341 Matrix Stack test passed.
342 Matrix Stack Mixing test passed.
343 Vertex Order test passed.
344 Transformations test passed.
345 Transformation Normal test passed.
346 Viewport Transformation test passed.
347 Buffer Clear test passed.
348 Buffer Corners test passed.
349 Buffer Color test passed.
350 Color Ramp test passed.
351 Mask test passed.
352 Buffer Invariance test passed.
353 Accumulation Buffer test passed.
354 Select test passed.
355 Feedback test passed.
356 Scissor test passed.
357 Alpha Plane Function test passed.
358 Stencil Plane Clear test passed.
359 Stencil Plane Corners test passed.
360 Stencil Plane Operation test passed.
361 Stencil Plane Function test passed.
362 Depth Buffer Clear test passed.
363 Depth Buffer Function test passed.
364 Blend test passed.
365 Dither test passed.
366 LogicOp Function test does not exist for an RGB visual.
367 DrawPixels test passed.
368 CopyPixels test passed.
369 Bitmap Rasterization test passed.
370 Point Rasterization test passed.
371 Anti-aliased Point test passed.
372 Line Rasterization test passed.
373 Line Stipple test passed.
374 Anti-aliased Line test passed.
375 Horizontal and Vertical Line test passed.
376 Triangle Rasterization test passed.
377 Triangle Tile test passed.
378 Triangle Stipple test passed.
379 Anti-aliased Triangles test passed.
380 Quad Rasterization test passed.
381 Polygon Face test passed.
382 Polygon Cull test passed.
383 Polygon Stipple test passed.
384 Polygon Edge test passed.
385 Ambient Material test passed.
386 Ambient Scene test passed.
387 Attenuation Position test passed.
388 Diffuse Light test passed.
389 Diffuse Material test passed.
390 Diffuse Material Normal test passed.
391 Diffuse Material Positioning test passed.
392 Emissive Material test passed.
393 Specular Exponent test passed.
394 Specular Exponent Normal test passed.
395 Specular Local Eye Half Angle test passed.
396 Specular Light test passed.
397 Specular Material test passed.
398 Specular Normal test passed.
399 Spot Positioning test passed.
400 Spot Exponent and Positioning test passed.
401 Spot Exponent and Direction test passed.
402 Fog Exponential test passed.
403 Fog Linear test passed.
404 Texture Decal test passed.
405 Texture Border test passed.
406 Mipmaps Selection test passed.
407 Mipmaps Interpolation test passed.
408 Display Lists test passed.
409 Evaluator test passed.
410 Evaluator Color test passed.
411 Texture Edge Clamp test passed.
412 Packed Pixels test passed.
413 Texture LOD test passed.
414 Rescale Normal test passed.
415 Color Table test passed.
416 Convolution test passed.
417 Convolution Border test passed.
418 Histogram test passed.
419 MinMax test passed.
420 MultiTexture test passed.
421
422 Conform passed.
423
424 ----------------------------------------------------------------------
425 % conform -v 2 -p 3
426
427 OpenGL Conformance Test
428 Version 1.2
429
430 Setup Report.
431 Verbose level = 2.
432 Random number seed = 1.
433 Path level = 3.
434
435 Visual Report.
436 Display ID = 35. Indirect Rendering.
437 Double Buffered.
438 RGBA (5, 6, 5, 0).
439 Stencil (8).
440 Depth (16).
441 Accumulation (16, 16, 16, 16).
442
443 Epsilon Report.
444 zero error epsilon = 0.000122.
445 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
446 Depth buffer error epsilon = 0.000137.
447 Stencil plane error epsilon = 0.00404.
448 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
449
450 Default State test passed.
451 Must Pass test passed.
452 Divide By Zero test passed.
453 Viewport Clamp test passed.
454 Matrix Stack test passed.
455 Matrix Stack Mixing test passed.
456 Vertex Order test passed.
457 Transformations test passed.
458 Transformation Normal test passed.
459 Viewport Transformation test passed.
460 Buffer Clear test passed.
461 Buffer Corners test passed.
462 Buffer Color test passed.
463 Color Ramp test passed.
464 Mask test passed.
465 Buffer Invariance test passed.
466 Accumulation Buffer test passed.
467 Select test passed.
468 Feedback test passed.
469 Scissor test passed.
470 Alpha Plane Function test passed.
471 Stencil Plane Clear test passed.
472 Stencil Plane Corners test passed.
473 Stencil Plane Operation test passed.
474 Stencil Plane Function test passed.
475 Depth Buffer Clear test passed.
476 Depth Buffer Function test passed.
477 Blend test passed.
478 Dither test passed.
479 LogicOp Function test does not exist for an RGB visual.
480 DrawPixels test passed.
481 CopyPixels test passed.
482 Bitmap Rasterization test passed.
483 Point Rasterization test passed.
484 Anti-aliased Point test passed.
485 Line Rasterization test passed.
486 Line Stipple test passed.
487 Anti-aliased Line test passed.
488 Horizontal and Vertical Line test passed.
489 Triangle Rasterization test passed.
490 Triangle Tile test passed.
491 Triangle Stipple test passed.
492 Anti-aliased Triangles test passed.
493 Quad Rasterization test passed.
494 Polygon Face test passed.
495 Polygon Cull test passed.
496 Polygon Stipple test passed.
497 Polygon Edge test passed.
498 Ambient Material test passed.
499 Ambient Scene test passed.
500 Attenuation Position test passed.
501 Diffuse Light test passed.
502 Diffuse Material test passed.
503 Diffuse Material Normal test passed.
504 Diffuse Material Positioning test passed.
505 Emissive Material test passed.
506 Specular Exponent test passed.
507 Specular Exponent Normal test passed.
508 Specular Local Eye Half Angle test passed.
509 Specular Light test passed.
510 Specular Material test passed.
511 Specular Normal test passed.
512 Spot Positioning test passed.
513 Spot Exponent and Positioning test passed.
514 Spot Exponent and Direction test passed.
515 Fog Exponential test passed.
516 Fog Linear test passed.
517 Texture Decal test passed.
518 Texture Border test passed.
519 Mipmaps Selection test passed.
520 Mipmaps Interpolation test passed.
521 Display Lists test passed.
522 Evaluator test passed.
523 Evaluator Color test passed.
524 Texture Edge Clamp test passed.
525 Packed Pixels test passed.
526 Texture LOD test passed.
527 Rescale Normal test passed.
528 Color Table test passed.
529 Convolution test passed.
530 Convolution Border test passed.
531 Histogram test passed.
532 MinMax test passed.
533 MultiTexture test passed.
534
535 Conform passed.
536
537 ----------------------------------------------------------------------
538 % conform -v 2 -p 4
539
540 OpenGL Conformance Test
541 Version 1.2
542
543 Setup Report.
544 Verbose level = 2.
545 Random number seed = 1.
546 Path level = 4.
547
548 Visual Report.
549 Display ID = 35. Indirect Rendering.
550 Double Buffered.
551 RGBA (5, 6, 5, 0).
552 Stencil (8).
553 Depth (16).
554 Accumulation (16, 16, 16, 16).
555
556 Epsilon Report.
557 zero error epsilon = 0.000122.
558 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
559 Depth buffer error epsilon = 0.000137.
560 Stencil plane error epsilon = 0.00404.
561 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
562
563 Default State test passed.
564 Must Pass test passed.
565 Divide By Zero test passed.
566 Viewport Clamp test passed.
567 Matrix Stack test passed.
568 Matrix Stack Mixing test passed.
569 Vertex Order test passed.
570 Transformations test passed.
571 Transformation Normal test passed.
572 Viewport Transformation test passed.
573 Buffer Clear test passed.
574 Buffer Corners test passed.
575 Buffer Color test passed.
576 Color Ramp test passed.
577 Mask test passed.
578 Buffer Invariance test passed.
579 Accumulation Buffer test passed.
580 Select test passed.
581 Feedback test passed.
582 Scissor test passed.
583 Alpha Plane Function test passed.
584 Stencil Plane Clear test passed.
585 Stencil Plane Corners test passed.
586 Stencil Plane Operation test passed.
587 Stencil Plane Function test passed.
588 Depth Buffer Clear test passed.
589 Depth Buffer Function test passed.
590 Blend test passed.
591 Dither test passed.
592 LogicOp Function test does not exist for an RGB visual.
593 DrawPixels test passed.
594 CopyPixels test passed.
595 Bitmap Rasterization test passed.
596 Point Rasterization test passed.
597 Anti-aliased Point test passed.
598 Line Rasterization test passed.
599 Line Stipple test passed.
600 Anti-aliased Line test passed.
601 Horizontal and Vertical Line test passed.
602 Triangle Rasterization test passed.
603 Triangle Tile test passed.
604 Triangle Stipple test passed.
605 Anti-aliased Triangles test passed.
606 Quad Rasterization test passed.
607 Polygon Face test passed.
608 Polygon Cull test passed.
609 Polygon Stipple test passed.
610 Polygon Edge test passed.
611 Ambient Material test passed.
612 Ambient Scene test passed.
613 Attenuation Position test passed.
614 Diffuse Light test passed.
615 Diffuse Material test passed.
616 Diffuse Material Normal test passed.
617 Diffuse Material Positioning test passed.
618 Emissive Material test passed.
619 Specular Exponent test passed.
620 Specular Exponent Normal test passed.
621 Specular Local Eye Half Angle test passed.
622 Specular Light test passed.
623 Specular Material test passed.
624 Specular Normal test passed.
625 Spot Positioning test passed.
626 Spot Exponent and Positioning test passed.
627 Spot Exponent and Direction test passed.
628 Fog Exponential test passed.
629 Fog Linear test passed.
630 Texture Decal test passed.
631 Texture Border test passed.
632 Mipmaps Selection test passed.
633 Mipmaps Interpolation test passed.
634 Display Lists test passed.
635 Evaluator test passed.
636 Evaluator Color test passed.
637 Texture Edge Clamp test passed.
638 Packed Pixels test passed.
639 Texture LOD test passed.
640 Rescale Normal test passed.
641 Color Table test passed.
642 Convolution test passed.
643 Convolution Border test passed.
644 Histogram test passed.
645 MinMax test passed.
646 MultiTexture test passed.
647
648 Conform passed.
649
650
651
652 GLX CONFORMANCE TEST
653 ====================
654
655 % conformx -v 2
656
657 OpenGL X Conformance Test
658 Version 1.1.1
659
660 Setup Report.
661 Verbose level = 2.
662 Random number seed = 1.
663 Path inactive.
664
665 Visual Report.
666 Display ID = 34. Direct Rendering.
667 Double Buffered.
668 RGBA (8, 8, 8, 0).
669 Stencil (8).
670 Depth (16).
671 Accumulation (16, 16, 16, 16).
672
673 Epsilon Report.
674 zero error epsilon = 0.000122.
675 RGBA error epsilon = 0.00404, 0.00404, 0.00404, 0.000122.
676 Depth buffer error epsilon = 0.000137.
677 Stencil plane error epsilon = 0.00404.
678 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
679
680 Default State test passed.
681 glReadPixels() test passed.
682 Font test passed.
683
684 Conformx passed.
685
686
687 </pre>
688
689 NOTE: conformx passes for all machine path levels (-p option).
690
691
692 </body>
693 </html>