Stefan Dösinger : wined3d: Implement DSX in ARB.
Alexandre Julliard
julliard at winehq.org
Wed May 27 09:26:52 CDT 2009
Module: wine
Branch: master
Commit: 7fc4279cb8d9fe3bb11a5b737a92f4cafc8c96ce
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7fc4279cb8d9fe3bb11a5b737a92f4cafc8c96ce
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Fri May 8 18:17:58 2009 +0200
wined3d: Implement DSX in ARB.
DSY is not that easy because we have to deal with the inverted coordinate
system in onscreen(!) rendering - see GLSL dsy.
---
dlls/wined3d/arb_program_shader.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index 7e3abdf..a0cb635 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -1039,6 +1039,7 @@ static void shader_hw_map2gl(const struct wined3d_shader_instruction *ins)
case WINED3DSIH_SUB: instruction = "SUB"; break;
case WINED3DSIH_MOVA:instruction = "ARR"; break;
case WINED3DSIH_SGN: instruction = "SSG"; break;
+ case WINED3DSIH_DSX: instruction = "DDX"; break;
default: instruction = "";
FIXME("Unhandled opcode %#x\n", ins->handler_idx);
break;
@@ -2354,7 +2355,7 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
/* WINED3DSIH_DP3 */ shader_hw_map2gl,
/* WINED3DSIH_DP4 */ shader_hw_map2gl,
/* WINED3DSIH_DST */ shader_hw_map2gl,
- /* WINED3DSIH_DSX */ NULL,
+ /* WINED3DSIH_DSX */ shader_hw_map2gl,
/* WINED3DSIH_DSY */ NULL,
/* WINED3DSIH_ELSE */ NULL,
/* WINED3DSIH_ENDIF */ NULL,
More information about the wine-cvs
mailing list