Re: SOC: D3D Test Suite

2006-04-23 Thread Evil Jay
Joseph Garvin wrote: > ...Assuming you're > testing on cards with the same capabilities (you would have to record > what extensions should correspond to what results) I don't see why the > output shouldn't be the same. I would expect alias/filtering to be driver-level dependent, with individual pi

Re: SOC: D3D Test Suite

2006-04-20 Thread Sagar Mittal
This was the approach I intended to take. I'd sum the squares of the differences of each pixel, and check to see if the score is below some threshold. With carefuly chosen tests and some trial-and-error, it should be possible to determine conformance with reasonable accuracy. On 4/20/06, Joseph

Re: SOC: D3D Test Suite

2006-04-20 Thread Joseph Garvin
On Thu, 2006-04-20 at 11:42 -0400, H. Verbeet wrote: > "The OpenGL specification is not pixel exact. It therefore does not > guarantee an exact match between images produced by different GL > implementations." > > That's from the OpenGL specification, Appendix A. > Also note that we wouldn't just

Re: SOC: D3D Test Suite

2006-04-20 Thread H. Verbeet
"The OpenGL specification is not pixel exact. It therefore does not guarantee an exact match between images produced by different GL implementations." That's from the OpenGL specification, Appendix A. Also note that we wouldn't just be comparing different OpenGL implementations with eachother, but

Re: SOC: D3D Test Suite

2006-04-20 Thread Joseph Garvin
On Thu, 2006-04-20 at 02:28 -0400, H. Verbeet wrote: > On 19/04/06, Sagar Mittal <[EMAIL PROTECTED]> wrote: > > The ones that D3D9 has also > > don't test the generated graphics for conformance. > That's because OpenGL implementations aren't guaranteed to produce > identical outputs when given iden

Re: SOC: D3D Test Suite

2006-04-20 Thread Jakob Eriksson
H. Verbeet wrote: On 19/04/06, Sagar Mittal <[EMAIL PROTECTED]> wrote: The ones that D3D9 has also don't test the generated graphics for conformance. That's because OpenGL implementations aren't guaranteed to produce identical outputs when given identical inputs. Graphical conformance

Re: SOC: D3D Test Suite

2006-04-20 Thread H. Verbeet
On 20/04/06, Jakob Eriksson <[EMAIL PROTECTED]> wrote: > How is that coming along? Codeweavers supposedly has utility to do just > that?! Well, no, not for d3d applications.

Re: SOC: D3D Test Suite

2006-04-19 Thread H. Verbeet
On 19/04/06, Sagar Mittal <[EMAIL PROTECTED]> wrote: > The ones that D3D9 has also > don't test the generated graphics for conformance. That's because OpenGL implementations aren't guaranteed to produce identical outputs when given identical inputs. Graphical conformance tests would probably be us

SOC: D3D Test Suite

2006-04-19 Thread Sagar Mittal
It doesn't look like there are many unit tests for D3D in general, but D3D8 and WineD3D don't seem to have any. The ones that D3D9 has also don't test the generated graphics for conformance. Would it be a viable/appropriate SOC project to put together a test suite for D3D, including graphical con