Nozomi Kodama nozomi.kodama@yahoo.com writes:
+static void test_D3DXSHDot(void) +{
- unsigned int i;
- FLOAT a[64], b[64], got;
- CONST FLOAT expected[] =
- { 0.0f, 0.0f, 17.0f, 222.0f, 1300.0f, 5050.0f, 15225.0f, 38612.0f, 86352.0f, };
- for (i = 0; i < 64; i++)
- {
a[i] = (FLOAT)i;
b[i] = (FLOAT)i + 0.5f;
- }
You should start with a non-zero value to tests orders 0 and 1 properly.