Commit 633ad47b authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

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

parent 50453644
...@@ -1209,7 +1209,8 @@ static HRESULT parse_preshader(struct d3dx_preshader *pres, unsigned int *ptr, u ...@@ -1209,7 +1209,8 @@ static HRESULT parse_preshader(struct d3dx_preshader *pres, unsigned int *ptr, u
} }
if (reg_idx >= pres->regs.table_sizes[table]) 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); i, j, table, reg_idx);
return D3DXERR_INVALIDDATA; return D3DXERR_INVALIDDATA;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment