[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: d3dx9_36 [patch 2/6]: Speed-up some tests
From: Rico_Schüller <kgbricola () web ! de>
Date: 2012-09-27 8:38:06
Message-ID: 5064106E.5060806 () web ! de
[Download RAW message or body]
On 27.09.2012 09:57, Nozomi Kodama wrote:
> - FLOAT a[64], b[64], got;
> + FLOAT a[49], b[49], got;
> CONST FLOAT expected[] =
> { 0.5f, 0.5f, 25.0f, 262.5f, 1428.0f, 5362.0f, 15873.0f, 39812.0f, 88400.0f, };
>
> - for (i = 0; i < 64; i++)
> + for (i = 0; i < 49; i++)
>
> - for (i = 0; i < 9; i++)
> + for (i = 0; i <= D3DXSH_MAXORDER + 1; i++)
Again: You may correct the (array) size for the expected value ...
If we run til element 7 instead of 8, I think the last element could be
thrown away?
Cheers
Rico
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic