d3dx9: Add a comment about a specific preshader parsing failure mode.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2018-03-20 23:37:28 +01:00 committed by Alexandre Julliard
parent 50453644f6
commit 633ad47b29
1 changed files with 2 additions and 1 deletions

View File

@ -1209,7 +1209,8 @@ static HRESULT parse_preshader(struct d3dx_preshader *pres, unsigned int *ptr, u
}
if (reg_idx >= pres->regs.table_sizes[table])
{
FIXME("Out of bounds register index, i %u, j %u, table %u, reg_idx %u.\n",
/* Native accepts these broken preshaders. */
FIXME("Out of bounds register index, i %u, j %u, table %u, reg_idx %u, preshader parsing failed.\n",
i, j, table, reg_idx);
return D3DXERR_INVALIDDATA;
}