Henri Verbeet : wined3d: Implement WINED3DSIH_UTOF in the GLSL shader backend.

Alexandre Julliard julliard at winehq.org
Fri Oct 12 11:37:45 CDT 2012


Module: wine
Branch: master
Commit: ad1a1ee4fe87b250ab69f7650110a28a44df9eee
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ad1a1ee4fe87b250ab69f7650110a28a44df9eee

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Oct 12 13:03:56 2012 +0200

wined3d: Implement WINED3DSIH_UTOF in the GLSL shader backend.

---

 dlls/wined3d/glsl_shader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index dd1c8e0..ff0cdc7 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -5383,7 +5383,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
     /* WINED3DSIH_TEXREG2RGB            */ shader_glsl_texreg2rgb,
     /* WINED3DSIH_UDIV                  */ NULL,
     /* WINED3DSIH_USHR                  */ NULL,
-    /* WINED3DSIH_UTOF                  */ NULL,
+    /* WINED3DSIH_UTOF                  */ shader_glsl_to_float,
     /* WINED3DSIH_XOR                   */ shader_glsl_binop,
 };
 




More information about the wine-cvs mailing list