Stefan Dösinger
f5fafab663
wined3d: Move WINED3DTS_MODELVIEW to the state table.
2007-01-02 12:25:00 +01:00
Stefan Dösinger
197ec1c179
wined3d: Remove IWineD3DDevice_ApplyStateChanges.
2007-01-02 12:22:04 +01:00
Stefan Dösinger
c10efb3492
wined3d: Move WINED3DTS_TEXTURETRANSFORMFLAGS to the state table.
2007-01-02 12:21:50 +01:00
H. Verbeet
a9f658f6a6
wined3d: Simplify the get_write_mask and get_swizzle functions.
2006-12-29 20:56:16 +01:00
H. Verbeet
c8fc7df8a3
wined3d: Cleanup & merge pshader_get_input_register_swizzle() and vshader_program_add_input_param_swizzle().
2006-12-29 20:56:01 +01:00
H. Verbeet
0fae42da50
wined3d: Cleanup shader_glsl_get_input_register_swizzle().
2006-12-29 20:55:51 +01:00
H. Verbeet
572cac4eec
wined3d: Cleanup & merge pshader_get_write_mask() and vshader_program_add_output_param_swizzle().
2006-12-29 20:55:39 +01:00
H. Verbeet
2b9a63b5d1
wined3d: Cleanup shader_glsl_get_output_register_swizzle().
2006-12-29 20:55:25 +01:00
H. Verbeet
845cd590d2
wined3d: Remove dead code in shader_get_registers_used().
...
As spotted by Christoph Bumiller, these branches are now never
reached. Also, at least in the case of WINED3DSIO_TEXM3x3SPEC and
WINED3DSIO_TEXM3x3VSPEC the old code was not quite correct, since we
can lookup rather than guess the texture type these days.
2006-12-29 20:55:16 +01:00
Stefan Dösinger
b58715e8ab
wined3d: Add empty transform states to the state table.
2006-12-29 12:49:41 +01:00
Stefan Dösinger
603038a07a
wined3d: Do not setup states for unlocking if unlocking is disabled.
2006-12-29 12:49:41 +01:00
Alexandre Julliard
bbfe120036
Revert "wined3d: Where possible, avoid using D3DCOLORTOGLFLOAT4."
...
This reverts commit 045975b1f4
.
2006-12-29 11:35:57 +01:00
H. Verbeet
74b85c8b38
wined3d: Create samplers for all 1.x instructions that sample.
2006-12-28 12:18:41 +01:00
H. Verbeet
a22933e08e
wined3d: The default debug channel for arb_program_shader.c & glsl_shader.c already is d3d_shader.
2006-12-28 12:18:09 +01:00
H. Verbeet
c972351051
wined3d: Move set_glsl_shader_program() to glsl_shader.c.
2006-12-28 12:17:49 +01:00
H. Verbeet
045975b1f4
wined3d: Where possible, avoid using D3DCOLORTOGLFLOAT4.
2006-12-28 12:17:29 +01:00
Chris Robinson
b7b9d4e3c7
d3d: GetStreamSource on a stream with NULL data isn't an error.
2006-12-26 12:52:54 +01:00
H. Verbeet
957474f223
wined3d: Skip NULL textures rather than non-NULL ones, assign -1 to skipped stages.
...
Downgrade a FIXME to a WARN.
2006-12-26 12:50:44 +01:00
H. Verbeet
bf250285ff
wined3d: Restore texture bindings in the FBO code.
2006-12-26 12:37:38 +01:00
H. Verbeet
d6010edee0
wined3d: Copy the depth buffer after all dirty states are applied.
2006-12-26 12:37:29 +01:00
Stefan Dösinger
d6245409de
wined3d: D3DRS_BLENDFACTOR should not influence glBlend(TRUE/FALSE).
2006-12-26 12:37:20 +01:00
Stefan Dösinger
bc90458244
wined3d: Do not mark texture stages above MAX_TEXTURES dirty.
2006-12-26 12:37:00 +01:00
Chris Robinson
e37755b60c
wined3d: Clarify OpenGL error codes.
2006-12-24 15:12:42 +01:00
Chris Robinson
ed21935479
d3d: Fix adapter mode enumeration and filtering.
2006-12-20 17:58:34 +01:00
Stefan Dösinger
df97fd3e46
wined3d: Reinstall the nvrc texture unit mapping.
2006-12-20 17:09:40 +01:00
Stefan Dösinger
a008003ccc
wined3d: Catch nop pixel shader changes.
2006-12-20 17:09:29 +01:00
Stefan Dösinger
22e2a5aca5
wined3d: Add pixel shaders to the state table.
2006-12-20 17:09:21 +01:00
Stefan Dösinger
8365b2819a
wined3d: Catch nop sampler changes.
2006-12-20 17:09:08 +01:00
Stefan Dösinger
666b507766
wined3d: Move samplers to the state table.
2006-12-20 17:07:56 +01:00
Stefan Dösinger
2d1aeb4382
wined3d: Add empty sampler entries to the state table.
2006-12-20 17:07:47 +01:00
Stefan Dösinger
7f973c9375
wined3d: Catch nop SetTextureStageState calls.
2006-12-20 17:07:37 +01:00
Stefan Dösinger
557b1fa477
wined3d: Make WINED3DTSS_CONSTANT a nogl state.
2006-12-20 17:07:19 +01:00
Stefan Dösinger
63a8c3c408
wined3d: Make a WINED3DTSS_RESULTARG stub.
2006-12-20 17:07:11 +01:00
Stefan Dösinger
aec9f1143b
wined3d: Make WINED3DTSS_TEXTURETRANSFORMFLAGS a nogl state.
2006-12-20 17:07:02 +01:00
Stefan Dösinger
1021f64474
wined3d: Add a WINED3DTSS_BUMPENVLOFFSET stub.
2006-12-20 17:06:51 +01:00
Stefan Dösinger
72a4f6e1cf
wined3d: Add a WINED3DTSS_BUMPENVSCALE stub.
2006-12-20 17:06:35 +01:00
Stefan Dösinger
4e5314011b
wined3d: Move WINED3DTSS_TEXCOORDINDEX to the state table.
2006-12-20 17:06:24 +01:00
Stefan Dösinger
bd6a6ad2c0
wined3d: Move WINED3DTSS_ALPHAOP to the state table.
2006-12-20 17:06:10 +01:00
Stefan Dösinger
762af471e8
wined3d: Move WINED3DTSS_COLOROP to the state table.
2006-12-20 17:06:00 +01:00
Stefan Dösinger
251f1eea7a
wined3d: Do not enable the texture dimensions in BindTexture.
2006-12-20 17:05:51 +01:00
Stefan Dösinger
569a2fa7c0
wined3d: Add empty texture stage states to the state table.
2006-12-20 17:05:40 +01:00
Stefan Dösinger
1e264e5dd4
wined3d: Temporary disable nvrc junk texture skipping.
2006-12-20 17:05:11 +01:00
H. Verbeet
e4fc45e0fe
wined3d: Allow wined3d to handle multiple render targets.
2006-12-20 12:32:30 +01:00
H. Verbeet
299c1e62bf
wined3d: Allow the FBO code to handle multiple render targets.
2006-12-20 12:32:13 +01:00
H. Verbeet
577dbb578b
wined3d: Move storing the render target from ActiveRender to SetRenderTarget.
...
Use the render target index rather than hardcoding 0.
2006-12-20 12:31:57 +01:00
H. Verbeet
8355b1a501
wined3d: Allow the device to store multiple render targets.
2006-12-20 12:31:40 +01:00
Stefan Dösinger
f661a8287c
wined3d: Add WINED3DRS_STIPPLEPATTERNxy.
2006-12-19 16:53:44 +01:00
Stefan Dösinger
f154f543aa
wined3d: Fix a function name.
2006-12-19 16:53:37 +01:00
Stefan Dösinger
ff077ec621
wined3d: Add missing render state function.
2006-12-19 16:53:30 +01:00
Stefan Dösinger
062b6ffc5c
wined3d: Catch nop render state changes.
2006-12-19 16:53:18 +01:00