Commit Graph

17351 Commits

Author SHA1 Message Date
Jason Green b67cda248d wined3d: Add GLSL helper functions to Device.
- Add functions to attach & detach shader objects, create and delete programs, and maintain the list of programs.
- Add a list of GLSL shader programs to the device which is initialized on Init3D(), and deleted on Release().
2006-06-09 15:19:52 +02:00
Jason Green ca7976c34f wined3d: Map vertex shader instructions to GLSL generating functions. 2006-06-09 15:19:09 +02:00
Jason Green 5798356d21 wined3d: Map pixel shader instructions to GLSL generating functions. 2006-06-09 15:19:02 +02:00
Jason Green d59714b78c wined3d: Prototype the GLSL functions for use with pixel and vertex shaders. 2006-06-09 15:14:34 +02:00
Jason Green 806aaa1287 wined3d: Added more declarations to GLSL.
- Declare more variable names for GLSL programs.
- Some of these won't need to be declared eventually, but it doesn't hurt to do it for now.
- Correct output name for pixel shaders (gl_FragColor instead of glFragColor).
2006-06-09 15:14:22 +02:00
Jason Green ca70d13af4 wined3d: Unified float constant register mapping between ARB pixel and vertex shaders.
- Got rid of the separate constant maps.
- Side effect of this is that the map is a bit larger for pixel shaders than it needs to be
2006-06-09 14:36:50 +02:00
Jason Green 0c59ca6448 wined3d: Add the bulk of the GLSL string generation functions.
- Add a new file glsl_shader.c which contains almost every GLSL specific function we'll need
- Move print_glsl_info() into glsl_shader.c
- Move the shader_reg_maps struct info into the private header, and make it part of SHADER_OPCODE_ARG.
- Create a new shared ps/vs register map for float constants (future patch will make ARB programs use this, too)
2006-06-09 13:47:55 +02:00
Jason Green 1f1057fc9b wined3d: Move constant loading out of DrawPrimDrawStrided() and enable
loading float constants for GLSL.

- DrawPrim is just too big of a function.  This separates the passing
  of constants to the shader into new functions.
- Fixes an off-by-one error when loading vertex declaration constants
  (should be <, not <=)
- Adds a function for GLSL loading of constants (aka Uniforms)
- Adds a GLSL program variable to the stateblock and sets it to 0 (a
  future patch will actually create this program)
2006-06-09 13:26:51 +02:00
Dmitry Timoshkov 217dae68c5 comctl32: Return FALSE in the WM_CLOSE PROPSHEET_DialogProc handler.
Return FALSE in the WM_CLOSE PROPSHEET_DialogProc handler in order to
allow DefDlgProc to post us WM_COMMAND/IDCANCEL and unblock modal
message loop.
2006-06-09 13:26:31 +02:00
Detlef Riekenberg 249fa5b7a2 comdlg32: Rename finddlg.c to finddlg16.c. 2006-06-09 13:25:52 +02:00
Alexandre Julliard bdc419ed0b hlink: Add spec file entry for HlinkQueryCreateFromData. 2006-06-09 13:17:12 +02:00
Alexandre Julliard c32dc6744c rpcrt4: Make the protseq_ops structure constant. 2006-06-09 13:12:58 +02:00
Alexandre Julliard 9aea3b2d31 kernel: Added support for GlobalMemoryStatus on MacOS. 2006-06-09 11:52:50 +02:00
Alexandre Julliard 12286afc24 mshtml: Changed C syntax that winapi_check doesn't like. 2006-06-09 11:52:41 +02:00
Jeff Latimer 51ac1039db usp10: Update ScriptStringAnalyse and tests for ScriptString functions. 2006-06-08 11:37:35 +02:00
Jeff Latimer 422ca43d14 usp10: Update ScriptGetCMap to conform to Windows. 2006-06-08 11:35:22 +02:00
Jeff Latimer beb097fc93 usp10: Update tests in test_ScriptItemIzeShapePlace to match Windows results. 2006-06-08 11:34:58 +02:00
Jeff Latimer 5f529fe0d8 usp10: Add stubs for ScriptCPtoX, ScriptXtoCP and ScriptBreak and some basic tests. 2006-06-08 11:34:42 +02:00
Alexandre Julliard c0fcba798b rpcrt4: Avoid potential redefinition of uuid_t. 2006-06-08 11:29:26 +02:00
Phil Lodwick 6fc50ff378 shell32/tests: Test to make sure we can create a non-nested directory. 2006-06-08 11:12:02 +02:00
Phil Lodwick 5a13cba8b6 shell32: SHCreateDirectoryEx can create a non-nested directory. 2006-06-08 11:11:43 +02:00
Michael Kaufmann ea5d55bf4c user/tests: Update LoadImage test.
Include a bitmap in the resources and don't depend on Windows'
OBM_CHECK bitmap anymore.
2006-06-08 11:11:30 +02:00
Robert Shearman b5bff92a0c oleaut32: Uncomment a line to implement conversion from VT_DISPATCH to VT_BSTR. 2006-06-08 11:11:01 +02:00
Robert Shearman e452b7a0b4 oleaut32: Handle BSTRs in VARIANT_CopyData. 2006-06-08 11:10:58 +02:00
Phil Lodwick 3575918411 wininet: ftp: Fix crash if input buffer is larger than MAX_PATH. 2006-06-08 10:17:41 +02:00
Phil Lodwick 5ea41cc5fb wininet: ftp: 125 is an acceptable response code for the STORE command. 2006-06-08 10:17:27 +02:00
Robert Shearman 58ec282bfb rpcrt4: Implement a process-wide connection pool for client connections,
rather than relying on the restriction of one connection per
binding. This also avoids the problem of two threads using the same
connection at the same time.
2006-06-08 10:16:00 +02:00
Robert Shearman 1412c47a50 rpcrt4: Fix the retrieval of This for interpreted proxies. 2006-06-08 10:15:36 +02:00
Robert Shearman 7ef5c3c772 rpcrt4: Implement full-pointer support for interpreted stubs.
Move the calls to the full pointer init functions before
NdrClient/ServerInitializeNew, like in MIDL-generated code.
2006-06-08 10:15:22 +02:00
H. Verbeet 5eaf49f895 d3d9: Add a test for GetContainer (Volumes & Surfaces). 2006-06-07 15:37:30 +02:00
H. Verbeet 07a3173bee d3d9: Remove unused vshaderdeclaration.c. 2006-06-07 15:28:25 +02:00
H. Verbeet 34e2e2bd39 d3d9: Fix QueryInterface.
QueryInterface should return S_OK on success and set the object
pointer to NULL on failure. This is similar to the patch Ivan
submitted a while ago for wined3d.
2006-06-07 15:28:12 +02:00
H. Verbeet d06aa8d857 d3d8: Fix QueryInterface.
QueryInterface should return S_OK on success and set the object
pointer to NULL on failure. This is similar to the patch Ivan
submitted a while ago for wined3d.
2006-06-07 15:28:06 +02:00
Andrew Talbot 034fc473ec msvcrt: Write-strings warning fix. 2006-06-07 15:24:18 +02:00
Andrew Talbot 0ba64e58e5 kernel/tests: Write-strings warnings fix. 2006-06-07 15:24:13 +02:00
Andrew Talbot 63efd7f8e6 crypt32: Write-strings warning fix. 2006-06-07 15:24:05 +02:00
Andrew Talbot 8527f91043 dbghelp: Write-strings warning fix. 2006-06-07 15:23:55 +02:00
Ivan Gyurdiev ac46320f57 wined3d: TEXREG2GB is valid on pshaders 1.1. 2006-06-07 15:23:23 +02:00
Ivan Gyurdiev 83a9666f9c wined3d: Fix NULL dereference in generator function. 2006-06-07 15:23:17 +02:00
Ivan Gyurdiev 4d66615bbb wined3d: Fix missing light recording.
Write a light with the default parameters in disabled state if
capturing a missing light.
2006-06-07 15:20:00 +02:00
Ivan Gyurdiev 5bb0eebc95 d3d9: Test missing light recording.
When a light does not exist, and the app attempts to capture it in the
stateblock, a disabled light with the default light parameters is
written instead.
2006-06-07 15:16:25 +02:00
Ivan Gyurdiev 374de452ab d3d9: Mipmaps level test. 2006-06-07 15:16:16 +02:00
Vitaly Lipatov 452169243b msi: Add Russian resource file. 2006-06-07 14:31:31 +02:00
Robert Reif 65dd8741ff netapi32: Add stub for NetServerEnumEx. 2006-06-07 14:31:13 +02:00
Mike McCormack fac494c822 server: open_console's from field should be a handle. 2006-06-07 14:30:28 +02:00
Michael Stefaniuc 56026299d0 Remove more redundant NULL checks before HeapFree (found by Smatch). 2006-06-07 14:20:09 +02:00
EA Durbin 4e66d4791c msi/tests: Fixed a typo. 2006-06-07 14:19:52 +02:00
Mike McCormack b23b4f5d01 hlink: Implement DllRegisterServer. 2006-06-07 14:19:35 +02:00
Mike McCormack 58709d2263 hlink: Add a basic implementation (based on work by Aric Stewart). 2006-06-07 14:18:17 +02:00
Mike McCormack b732e9b4c1 hlink: Add a stub implementation (based on Aric Stewart's code). 2006-06-07 14:15:06 +02:00