Matteo Bruni matteo.mystral@gmail.com writes:
@@ -131,7 +131,9 @@ static void test_get_shader_constant_table_ex(void)
/* With invalid CTAB data */ hr = D3DXGetShaderConstantTableEx(shader_with_invalid_ctab, 0, &constant_table);
- ok(hr == D3DXERR_INVALIDDATA, "Got result %x, expected %x (D3DXERR_INVALIDDATA)\n", hr, D3DXERR_INVALIDDATA);
- /* Native on 64 bit doesn't check for invalid data */
- ok(hr == D3DXERR_INVALIDDATA || (hr == D3D_OK && sizeof(DWORD) != sizeof(DWORD_PTR)),
"Got result %x, expected %x (D3DXERR_INVALIDDATA)\n", hr, D3DXERR_INVALIDDATA);
This doesn't seem to have much to do with 64-bit, it looks more like a broken implementation.