[WINED3D 10/11] LRP is not a valid ARBvp code
Ivan Gyurdiev
ivg2 at cornell.edu
Wed May 17 01:08:32 CDT 2006
I get "invalid statement" from OpenGL.
It only seems to be valid for pixel shaders -
will have to implement it differently.
-------------- next part --------------
---
dlls/wined3d/vertexshader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
1af943819ce18b42a31dd058ecd33d9889cc4bec
diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index 9c76fe3..1eac41b 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -510,7 +510,7 @@ CONST SHADER_OPCODE IWineD3DVertexShader
{D3DSIO_LOGP, "logp", "LOG", 2, vshader_logp, vshader_hw_map2gl, NULL, 0, 0},
{D3DSIO_LIT, "lit", "LIT", 2, vshader_lit, vshader_hw_map2gl, NULL, 0, 0},
{D3DSIO_DST, "dst", "DST", 3, vshader_dst, vshader_hw_map2gl, NULL, 0, 0},
- {D3DSIO_LRP, "lrp", "LRP", 4, vshader_lrp, vshader_hw_map2gl, NULL, 0, 0},
+ {D3DSIO_LRP, "lrp", "LRP", 4, vshader_lrp, NULL, NULL, 0, 0},
{D3DSIO_FRC, "frc", "FRC", 2, vshader_frc, vshader_hw_map2gl, NULL, 0, 0},
{D3DSIO_POW, "pow", "POW", 3, vshader_pow, NULL, NULL, 0, 0},
{D3DSIO_CRS, "crs", "XPS", 3, vshader_crs, NULL, NULL, 0, 0},
--
1.3.1
More information about the wine-patches
mailing list