Matteo Bruni : d3dx9: Add a comment about a specific preshader parsing failure mode.
Alexandre Julliard
julliard at winehq.org
Wed Mar 21 17:05:18 CDT 2018
Module: wine
Branch: master
Commit: 633ad47b29180f92d9c4f99177462bd975892087
URL: https://source.winehq.org/git/wine.git/?a=commit;h=633ad47b29180f92d9c4f99177462bd975892087
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue Mar 20 23:37:28 2018 +0100
d3dx9: Add a comment about a specific preshader parsing failure mode.
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dx9_36/preshader.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/preshader.c b/dlls/d3dx9_36/preshader.c
index 78e4868..8551d2f 100644
--- a/dlls/d3dx9_36/preshader.c
+++ b/dlls/d3dx9_36/preshader.c
@@ -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;
}
More information about the wine-cvs
mailing list