d3d9: Add a LIT 0.0^0.0 test.

This commit is contained in:
Stefan Dösinger 2011-08-28 17:41:53 +02:00 committed by Alexandre Julliard
parent ec0ac720bf
commit c2cefe5584
1 changed files with 3 additions and 0 deletions

View File

@ -11779,6 +11779,8 @@ static void fp_special_test(IDirect3DDevice9 *device)
static const DWORD vs_rcp2[] = {0x02000006, 0x80010000, 0x91000001}; /* rcp r0.x, -v1.x */
static const DWORD vs_rsq1[] = {0x02000007, 0x80010000, 0x90000001}; /* rsq r0.x, v1.x */
static const DWORD vs_rsq2[] = {0x02000007, 0x80010000, 0x91000001}; /* rsq r0.x, -v1.x */
static const DWORD vs_lit[] = {0x02000010, 0x800f0000, 0x90000001, /* lit r0, v1.xxxx */
0x02000001, 0x80010000, 0x80aa0000}; /* mov r0.x, v0.z */
static const DWORD vs_footer[] =
{
@ -11830,6 +11832,7 @@ static void fp_special_test(IDirect3DDevice9 *device)
{"rcp2", vs_rcp2, sizeof(vs_rcp2), 0x00000000, 0x00ff0000, 0x00ff7f00},
{"rsq1", vs_rsq1, sizeof(vs_rsq1), 0x000000ff, 0x00ff00ff, 0x00ff7f00},
{"rsq2", vs_rsq2, sizeof(vs_rsq2), 0x000000ff, 0x00ff00ff, 0x00ff7f00},
{"lit", vs_lit, sizeof(vs_lit), 0x00ff0000, 0x00ff0000, 0x00ff0000},
};
static const DWORD ps_code[] =