Stefan Dösinger
|
99576ea24e
|
wined3d: Implement texbem in arb, improve it in glsl.
|
2007-02-15 11:36:14 +01:00 |
Stefan Dösinger
|
49a49fcfec
|
wined3d: Load one bump mapping environment matrix into pixel shaders if needed.
|
2007-02-15 11:36:01 +01:00 |
Francois Gouget
|
536e738552
|
Assorted spelling fixes.
|
2007-02-14 21:03:57 +01:00 |
H. Verbeet
|
efed9aea1f
|
d3d8: Move loading local d3d8 vertex shader constants from wined3d to d3d8.
|
2007-02-14 13:54:55 +01:00 |
H. Verbeet
|
32e5cac2be
|
wined3d: Get rid of the vertexDeclaration field in IWineD3DVertexShaderImpl.
|
2007-02-14 13:54:29 +01:00 |
H. Verbeet
|
8f0884066f
|
wined3d: Add WINED3DDECLUSAGE, use it.
|
2007-02-14 13:50:22 +01:00 |
H. Verbeet
|
2d9540cab7
|
wined3d: Don't use WINED3DSHADERDECLUSAGE_PSIZE / WINED3DSHADERDECLUSAGE_FOG.
|
2007-02-14 13:50:01 +01:00 |
Chris Robinson
|
5f1a1bbc84
|
wined3d: Properly round negative values in shader_glsl_mov.
|
2007-02-12 14:12:29 +01:00 |
Stefan Dösinger
|
fa97fbdcad
|
wined3d: Make shader_cleanup more useful.
|
2007-02-12 12:37:48 +01:00 |
H. Verbeet
|
efed4c33c2
|
wined3d: gl_FragDepth is a float, so fixup the write mask.
|
2007-01-19 12:29:11 +01:00 |
H. Verbeet
|
955fb95eb6
|
wined3d: Give shader constants their own debug channel.
|
2007-01-18 12:09:09 +01:00 |
H. Verbeet
|
79c7aeab00
|
wined3d: Fix a typo.
|
2007-01-18 12:09:03 +01:00 |
H. Verbeet
|
e3cc00cf47
|
wined3d: Add a glsl_src_param_t type, pass it to shader_glsl_add_src_param() instead of three separate character arrays.
|
2007-01-16 16:14:21 +01:00 |
H. Verbeet
|
04e6250c87
|
wined3d: Add a glsl_dst_param_t type, pass it to shader_glsl_add_dst_param() instead of three separate character arrays.
|
2007-01-16 16:13:58 +01:00 |
H. Verbeet
|
6f3fae4e04
|
wined3d: Simplify shader_glsl_get_write_mask().
|
2007-01-16 16:13:29 +01:00 |
H. Verbeet
|
c6bccc9278
|
wined3d: Simplify shader_glsl_get_swizzle().
|
2007-01-16 16:13:19 +01:00 |
H. Verbeet
|
48f82d3f5e
|
wined3d: Fix pshader_glsl_tex() and pshader_glsl_texcoord().
|
2007-01-16 16:13:10 +01:00 |
H. Verbeet
|
c3bfef8d7e
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_callnz().
|
2007-01-16 16:12:46 +01:00 |
H. Verbeet
|
50e0deafca
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_breakc().
|
2007-01-16 16:12:37 +01:00 |
H. Verbeet
|
f593cd0de8
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_ifc().
|
2007-01-16 16:12:26 +01:00 |
H. Verbeet
|
a89edf1be9
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_if().
|
2007-01-16 16:12:18 +01:00 |
H. Verbeet
|
9f22df26ef
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_rep().
|
2007-01-16 16:12:11 +01:00 |
H. Verbeet
|
2cb49c67db
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_loop().
Fix the comment.
|
2007-01-16 16:12:02 +01:00 |
H. Verbeet
|
cf1a3cc81a
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texm3x3vspec().
Use shader_glsl_get_sample_function().
Use the GLSL builtin reflect() function.
|
2007-01-16 16:11:45 +01:00 |
H. Verbeet
|
f0fb61daed
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texm3x3spec().
Use shader_glsl_get_sample_function().
|
2007-01-16 16:11:26 +01:00 |
H. Verbeet
|
ba1740909e
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texm3x3().
|
2007-01-16 16:11:13 +01:00 |
H. Verbeet
|
b26fae9a25
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texm3x3tex().
Use shader_glsl_get_sample_function().
|
2007-01-16 16:11:02 +01:00 |
H. Verbeet
|
950783d4fd
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texm3x2tex().
|
2007-01-16 16:10:43 +01:00 |
H. Verbeet
|
92ab90eee8
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texm3x3pad().
|
2007-01-16 16:10:34 +01:00 |
H. Verbeet
|
459e0bf633
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texm3x2pad().
|
2007-01-16 16:10:23 +01:00 |
H. Verbeet
|
04144983eb
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texm3x2depth().
|
2007-01-16 16:10:17 +01:00 |
H. Verbeet
|
1947b27380
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texdp3().
|
2007-01-16 16:10:07 +01:00 |
H. Verbeet
|
3cd84d9ab6
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texdp3tex().
|
2007-01-16 16:10:01 +01:00 |
H. Verbeet
|
0fcb682af6
|
wined3d: Rewrite pshader_glsl_texreg2rgb to properly take the write mask into account.
Use shader_glsl_get_sample_function() rather than having the instruction handler figure it out itself.
Get rid of shader_glsl_add_dst_old().
|
2007-01-16 16:09:50 +01:00 |
H. Verbeet
|
67e203215f
|
wined3d: Split out getting the sample function and coordinate mask from shader_glsl_sample().
|
2007-01-16 16:09:23 +01:00 |
H. Verbeet
|
54137bacfa
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texreg2gb().
|
2007-01-16 16:09:09 +01:00 |
H. Verbeet
|
8325937ded
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in pshader_glsl_texreg2ar.
Use the correct source swizzle.
|
2007-01-16 16:08:58 +01:00 |
H. Verbeet
|
7d07f31045
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_dst().
|
2007-01-16 16:08:35 +01:00 |
H. Verbeet
|
146093af33
|
wined3d: Rewrite shader_glsl_rcp() to properly take the write mask into account.
|
2007-01-16 16:08:19 +01:00 |
H. Verbeet
|
9857158a99
|
wined3d: Rewrite shader_glsl_expp() to properly take the write mask into account.
|
2007-01-16 16:08:08 +01:00 |
H. Verbeet
|
2c60906ec4
|
wined3d: Rewrite shader_glsl_cnd() to properly take the write mask into account.
Take the difference between ps 1.4 and earlier versions into account.
|
2007-01-16 16:07:56 +01:00 |
H. Verbeet
|
693b6ef876
|
wined3d: Rewrite shader_glsl_cmp() to properly take the write mask into account.
|
2007-01-16 16:07:44 +01:00 |
H. Verbeet
|
1414d75a3f
|
wined3d: Rewrite shader_glsl_lrp() to properly take the write mask into account, use the GLSL mix instruction.
|
2007-01-16 16:07:35 +01:00 |
H. Verbeet
|
e0588e7475
|
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_lit().
|
2007-01-16 16:07:15 +01:00 |
H. Verbeet
|
cb5c47f8fe
|
wined3d: Rewrite shader_glsl_mov() to properly take the write mask into account.
In case of writing to an address register round the source.
|
2007-01-16 16:07:05 +01:00 |
H. Verbeet
|
9425aef623
|
wined3d: Rewrite pshader_glsl_dp2add() to properly take the write mask into account.
|
2007-01-16 16:06:37 +01:00 |
H. Verbeet
|
f3a4d35dee
|
wined3d: Rewrite shader_glsl_dot() to properly take the write mask into account.
|
2007-01-16 16:06:25 +01:00 |
H. Verbeet
|
b3ff0c3703
|
wined3d: Rewrite shader_glsl_map2gl() to properly take the write mask into account.
|
2007-01-16 16:06:11 +01:00 |
H. Verbeet
|
7252b4d340
|
wined3d: Give WINED3DSIO_CRS its own function, properly take the write mask into account.
|
2007-01-16 16:05:49 +01:00 |
H. Verbeet
|
b557a8021a
|
wined3d: Move WINED3DSIO_SGE & WINED3DSIO_SLT from shader_glsl_map2gl() to shader_glsl_compare() where they belong.
Properly take the write mask into account
|
2007-01-16 16:04:18 +01:00 |