wine
19 years agomsi: Add test for _Streams table (based on patch by Andrey Turkin).
Mike McCormack [Wed, 14 Jun 2006 03:10:37 +0000 (12:10 +0900)] 
msi: Add test for _Streams table (based on patch by Andrey Turkin).

19 years agowined3d: Correct vertex fog for transformed vertices and correctly
Stefan Dösinger [Mon, 12 Jun 2006 11:25:10 +0000 (13:25 +0200)] 
wined3d: Correct vertex fog for transformed vertices and correctly
handle non-vertex, non-table fog.

19 years agowined3d: Implement more GLSL instructions.
Jason Green [Wed, 14 Jun 2006 02:32:14 +0000 (22:32 -0400)] 
wined3d: Implement more GLSL instructions.

- Implemented: D3DSIO_SGN, LOOP, ENDLOOP, LOGP, LIT, DST, SINCOS
- Process instruction-based modifiers (function existed, it just
  wasn't being called)
- Add loop checking to register maps.
- Renamed "sng" to "sgn" for D3DSIO_SGN - it's not handled anywhere
  except for GLSL, so won't matter.

19 years agoatl: Add a partial implementation of AtlModuleRegisterWndClassInfoW
Robert Shearman [Wed, 14 Jun 2006 12:20:41 +0000 (13:20 +0100)] 
atl: Add a partial implementation of AtlModuleRegisterWndClassInfoW
based on documentation by Mike McCormack.

19 years agokernel: Add a test for mutexes.
Robert Shearman [Wed, 14 Jun 2006 12:20:31 +0000 (13:20 +0100)] 
kernel: Add a test for mutexes.

19 years agokernel: Add some tests for VerifyVersionInfo.
Robert Shearman [Wed, 14 Jun 2006 12:19:50 +0000 (13:19 +0100)] 
kernel: Add some tests for VerifyVersionInfo.

19 years agoole32: Always rewind the stream in StdGlobalInterfaceTable_GetInterfaceFromGlobal
Robert Shearman [Wed, 14 Jun 2006 12:20:14 +0000 (13:20 +0100)] 
ole32: Always rewind the stream in StdGlobalInterfaceTable_GetInterfaceFromGlobal
as CoUnmarshalInterface may have advanced the stream, even if it failed.

19 years agoole32: Add a tests for OleSetMenuDescriptor and the global interface table.
Robert Shearman [Wed, 14 Jun 2006 12:20:01 +0000 (13:20 +0100)] 
ole32: Add a tests for OleSetMenuDescriptor and the global interface table.

19 years agowinecfg: Updated Norwegian Bokmål resources.
Alexander Nicolaysen Sørnes [Wed, 14 Jun 2006 12:06:35 +0000 (14:06 +0200)] 
winecfg: Updated Norwegian Bokmål resources.

19 years agogphoto2.ds: Added Norwegian Bokmål resources.
Alexander Nicolaysen Sørnes [Wed, 14 Jun 2006 12:06:35 +0000 (14:06 +0200)] 
gphoto2.ds: Added Norwegian Bokmål resources.

19 years agowinedbg: Avoid a crash when there's no backtrace to print.
Alexandre Julliard [Thu, 15 Jun 2006 09:38:43 +0000 (11:38 +0200)] 
winedbg: Avoid a crash when there's no backtrace to print.

19 years agokernel32: Use unsigned types in GlobalMemoryStatusEx to prevent overflows.
Alexandre Julliard [Thu, 15 Jun 2006 09:38:20 +0000 (11:38 +0200)] 
kernel32: Use unsigned types in GlobalMemoryStatusEx to prevent overflows.

19 years agoserver: Fix a win64 warning.
Mike McCormack [Thu, 15 Jun 2006 08:10:40 +0000 (17:10 +0900)] 
server: Fix a win64 warning.

19 years agoserver: Cast user handles to unsigned long for win64 compatibility.
Mike McCormack [Thu, 15 Jun 2006 08:10:31 +0000 (17:10 +0900)] 
server: Cast user handles to unsigned long for win64 compatibility.

19 years agoserver: Cast handles to unsigned long for win64 compatibility.
Mike McCormack [Thu, 15 Jun 2006 08:10:07 +0000 (17:10 +0900)] 
server: Cast handles to unsigned long for win64 compatibility.

19 years agocomctl32: Add a short test for the listview.
Mike McCormack [Thu, 15 Jun 2006 08:30:49 +0000 (17:30 +0900)] 
comctl32: Add a short test for the listview.

19 years agocomctl32: Arrange the listview after deleting all items so we will place icons at...
Mike McCormack [Thu, 15 Jun 2006 07:05:48 +0000 (16:05 +0900)] 
comctl32: Arrange the listview after deleting all items so we will place icons at the top again.

19 years agocomctl32: Use the listview's background colour when drawing with imagelist.
Mike McCormack [Thu, 15 Jun 2006 05:23:42 +0000 (14:23 +0900)] 
comctl32: Use the listview's background colour when drawing with imagelist.

19 years agomsi: Don't define COND_SPACE twice.
Mike McCormack [Wed, 14 Jun 2006 14:44:42 +0000 (23:44 +0900)] 
msi: Don't define COND_SPACE twice.

19 years agomciwave: Fixed a bogus free.
Eric Pouech [Wed, 14 Jun 2006 19:35:18 +0000 (21:35 +0200)] 
mciwave: Fixed a bogus free.

19 years agouser32: Fix character conversion in combo box.
Vitaly Lipatov [Wed, 14 Jun 2006 17:12:16 +0000 (21:12 +0400)] 
user32: Fix character conversion in combo box.

Replace toupper/tolower with CharUpper/CharLower functions.

19 years agowine.inf: Add fake dll for advpack.dll.
Louis. Lenders [Wed, 14 Jun 2006 08:58:28 +0000 (09:58 +0100)] 
wine.inf: Add fake dll for advpack.dll.

19 years agoatl: Add a stub for AtlModuleRegisterWndClassInfoW.
Robert Shearman [Wed, 14 Jun 2006 01:37:43 +0000 (02:37 +0100)] 
atl: Add a stub for AtlModuleRegisterWndClassInfoW.

19 years agontdll: Change the test for no relocation information to use the
Robert Shearman [Wed, 14 Jun 2006 01:38:34 +0000 (02:38 +0100)] 
ntdll: Change the test for no relocation information to use the
IMAGE_FILE_RELOCS_STRIPPED flag instead of a zero sized relocations
section.

This fixes loading of resource-only DLLs that have a load-address of
0x400000.

19 years agomsxml: Text nodes with just whitespace should be stripped.
Robert Shearman [Wed, 14 Jun 2006 01:38:20 +0000 (02:38 +0100)] 
msxml: Text nodes with just whitespace should be stripped.

19 years agomsxml: Implement IXMLDOMElement for text elements by using
Robert Shearman [Wed, 14 Jun 2006 01:38:09 +0000 (02:38 +0100)] 
msxml: Implement IXMLDOMElement for text elements by using
create_element instead of create_basic_node.

19 years agomsxml: Allow the element implementation to be aggregatable.
Robert Shearman [Wed, 14 Jun 2006 01:37:54 +0000 (02:37 +0100)] 
msxml: Allow the element implementation to be aggregatable.

19 years agouxtheme: Add framework and initial tests.
Paul Vriens [Tue, 13 Jun 2006 12:16:58 +0000 (14:16 +0200)] 
uxtheme: Add framework and initial tests.

19 years agowinuser.h: Add some missing virtual key symbols.
Choe Hwanjin [Wed, 14 Jun 2006 06:52:27 +0000 (15:52 +0900)] 
winuser.h: Add some missing virtual key symbols.

19 years agomsi: Add a test for reading long strings.
Mike McCormack [Tue, 13 Jun 2006 12:34:28 +0000 (21:34 +0900)] 
msi: Add a test for reading long strings.

19 years agomsi: Add a test for creating a record with a long string.
Mike McCormack [Tue, 13 Jun 2006 12:34:16 +0000 (21:34 +0900)] 
msi: Add a test for creating a record with a long string.

19 years agomsi: Add a test for MsiDatabaseExport.
Mike McCormack [Tue, 13 Jun 2006 12:33:27 +0000 (21:33 +0900)] 
msi: Add a test for MsiDatabaseExport.

19 years agomapi: Fix declaration of LPMAPISENDMAIL (spotted by Cho Hwanjin).
Mike McCormack [Wed, 14 Jun 2006 02:40:17 +0000 (11:40 +0900)] 
mapi: Fix declaration of LPMAPISENDMAIL (spotted by Cho Hwanjin).

19 years agoadvpack: Remove some dead code. (Coverity)
Mike McCormack [Wed, 14 Jun 2006 02:16:32 +0000 (11:16 +0900)] 
advpack: Remove some dead code. (Coverity)

19 years agodbghelp: Fix the prototype of some callbacks.
Mike McCormack [Wed, 14 Jun 2006 01:58:29 +0000 (10:58 +0900)] 
dbghelp: Fix the prototype of some callbacks.

19 years agocrypt32: Fix a cast for Win64.
Mike McCormack [Wed, 14 Jun 2006 01:58:15 +0000 (10:58 +0900)] 
crypt32: Fix a cast for Win64.

19 years agowrc: Remove some tokens declared twice.
Mike McCormack [Wed, 14 Jun 2006 01:58:02 +0000 (10:58 +0900)] 
wrc: Remove some tokens declared twice.

19 years agorpcrt4: getaddrinfo returns any non-zero value on failure, not just negative values.
Robert Shearman [Tue, 13 Jun 2006 09:59:42 +0000 (10:59 +0100)] 
rpcrt4: getaddrinfo returns any non-zero value on failure, not just negative values.

19 years agontdll: Cast termios.c_cflag to avoid a printf format warning.
Alexandre Julliard [Tue, 13 Jun 2006 12:16:57 +0000 (14:16 +0200)] 
ntdll: Cast termios.c_cflag to avoid a printf format warning.

19 years agowinedbg: sscanf arguments should be ints, not size_t.
Alexandre Julliard [Tue, 13 Jun 2006 12:16:06 +0000 (14:16 +0200)] 
winedbg: sscanf arguments should be ints, not size_t.

19 years agowinebuild: Fix a few printf format warnings by casting size_t.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:59 +0000 (14:14 +0200)] 
winebuild: Fix a few printf format warnings by casting size_t.

19 years agowined3d: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:20 +0000 (14:14 +0200)] 
wined3d: Use unsigned int instead of size_t to avoid printf format warnings.

19 years agooleaut32: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:13 +0000 (14:14 +0200)] 
oleaut32: Use unsigned int instead of size_t to avoid printf format warnings.

19 years agomsvcrt: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:06 +0000 (14:14 +0200)] 
msvcrt: Use unsigned int instead of size_t to avoid printf format warnings.

19 years agocrypt32: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:00 +0000 (14:14 +0200)] 
crypt32: Use unsigned int instead of size_t to avoid printf format warnings.

19 years agowidl: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:13:49 +0000 (14:13 +0200)] 
widl: Use unsigned int instead of size_t to avoid printf format warnings.

19 years agowinevdm: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:12:07 +0000 (14:12 +0200)] 
winevdm: Don't use sizeof in traces to avoid printf format warnings.

19 years agorpcss: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:58 +0000 (14:11 +0200)] 
rpcss: Don't use sizeof in traces to avoid printf format warnings.

19 years agowineps.drv: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:48 +0000 (14:11 +0200)] 
wineps.drv: Don't use sizeof in traces to avoid printf format warnings.

19 years agouser32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:36 +0000 (14:11 +0200)] 
user32: Don't use sizeof in traces to avoid printf format warnings.

19 years agorpcrt4: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:28 +0000 (14:11 +0200)] 
rpcrt4: Don't use sizeof in traces to avoid printf format warnings.

19 years agoole32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:15 +0000 (14:11 +0200)] 
ole32: Don't use sizeof in traces to avoid printf format warnings.

19 years agonetapi32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:04 +0000 (14:11 +0200)] 
netapi32: Don't use sizeof in traces to avoid printf format warnings.

19 years agomsvfw32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:57 +0000 (14:10 +0200)] 
msvfw32: Don't use sizeof in traces to avoid printf format warnings.

19 years agomciseq: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:47 +0000 (14:10 +0200)] 
mciseq: Don't use sizeof in traces to avoid printf format warnings.

19 years agokernel32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:39 +0000 (14:10 +0200)] 
kernel32: Don't use sizeof in traces to avoid printf format warnings.

19 years agodsound: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:32 +0000 (14:10 +0200)] 
dsound: Don't use sizeof in traces to avoid printf format warnings.

19 years agodplayx: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:21 +0000 (14:10 +0200)] 
dplayx: Don't use sizeof in traces to avoid printf format warnings.

19 years agodmstyle: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:12 +0000 (14:10 +0200)] 
dmstyle: Don't use sizeof in traces to avoid printf format warnings.

19 years agodinput: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:55 +0000 (14:09 +0200)] 
dinput: Don't use sizeof in traces to avoid printf format warnings.

19 years agod3d9: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:46 +0000 (14:09 +0200)] 
d3d9: Don't use sizeof in traces to avoid printf format warnings.

19 years agod3d8: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:36 +0000 (14:09 +0200)] 
d3d8: Don't use sizeof in traces to avoid printf format warnings.

19 years agocomdlg32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:24 +0000 (14:09 +0200)] 
comdlg32: Don't use sizeof in traces to avoid printf format warnings.

19 years agocomctl32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:16 +0000 (14:09 +0200)] 
comctl32: Don't use sizeof in traces to avoid printf format warnings.

19 years agoadvapi32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:02 +0000 (14:09 +0200)] 
advapi32: Don't use sizeof in traces to avoid printf format warnings.

19 years agowinmm/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:04:07 +0000 (14:04 +0200)] 
winmm/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agoversion/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:59 +0000 (14:03 +0200)] 
version/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agourlmon/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:51 +0000 (14:03 +0200)] 
urlmon/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agorpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:44 +0000 (14:03 +0200)] 
rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agoole32/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:36 +0000 (14:03 +0200)] 
ole32/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agontdll/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:19 +0000 (14:03 +0200)] 
ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agomshtml/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:01 +0000 (14:03 +0200)] 
mshtml/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agomlang/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:52 +0000 (14:02 +0200)] 
mlang/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agomapi32/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:45 +0000 (14:02 +0200)] 
mapi32/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agokernel32/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:31 +0000 (14:02 +0200)] 
kernel32/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agogdi/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:13 +0000 (14:02 +0200)] 
gdi/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agocrypt32/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:03 +0000 (14:02 +0200)] 
crypt32/tests: Don't use sizeof in ok() to avoid printf format warnings.

19 years agowininet/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:58:30 +0000 (13:58 +0200)] 
wininet/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

19 years agoversion/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:58:12 +0000 (13:58 +0200)] 
version/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

19 years agoshlwapi/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:57:59 +0000 (13:57 +0200)] 
shlwapi/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

19 years agontdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:57:40 +0000 (13:57 +0200)] 
ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

19 years agomscms/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:57:27 +0000 (13:57 +0200)] 
mscms/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

19 years agokernel32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:57:12 +0000 (13:57 +0200)] 
kernel32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

19 years agocrypt32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:56:39 +0000 (13:56 +0200)] 
crypt32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

19 years agoadvapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:56:18 +0000 (13:56 +0200)] 
advapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

19 years agoinclude: Use force_align_arg_pointer on MacOS to fix the stack on entry to Wine.
Nick Burns [Fri, 9 Jun 2006 02:57:42 +0000 (19:57 -0700)] 
include: Use force_align_arg_pointer on MacOS to fix the stack on entry to Wine.

19 years agoinclude: Remove non-ASCII characters in headers for winelib compatibility.
Mike McCormack [Tue, 13 Jun 2006 09:34:27 +0000 (18:34 +0900)] 
include: Remove non-ASCII characters in headers for winelib compatibility.

19 years agowingdi: Fix typo in definition of BLTALIGNMENT (spotted by Choe Hwanjin).
Mike McCormack [Tue, 13 Jun 2006 09:24:11 +0000 (18:24 +0900)] 
wingdi: Fix typo in definition of BLTALIGNMENT (spotted by Choe Hwanjin).

19 years agomsi: Fix loading of long strings.
Mike McCormack [Tue, 13 Jun 2006 07:58:55 +0000 (16:58 +0900)] 
msi: Fix loading of long strings.

19 years agowinmm: Undefine SW_MAX defined by linux/input.h to avoid a conflict with winuser.h.
Mike McCormack [Tue, 13 Jun 2006 07:58:38 +0000 (16:58 +0900)] 
winmm: Undefine SW_MAX defined by linux/input.h to avoid a conflict with winuser.h.

19 years agoYet another round of redundant NULL checks before HeapFree.
Michael Stefaniuc [Sun, 11 Jun 2006 22:11:36 +0000 (00:11 +0200)] 
Yet another round of redundant NULL checks before HeapFree.

19 years agomsvcrt: Explicitly specify CDECL calling convention on exported functions.
Alexandre Julliard [Tue, 13 Jun 2006 09:21:19 +0000 (11:21 +0200)] 
msvcrt: Explicitly specify CDECL calling convention on exported functions.

19 years agooledlg: Declare varargs functions as WINAPIV instead of cdecl.
Alexandre Julliard [Tue, 13 Jun 2006 09:18:15 +0000 (11:18 +0200)] 
oledlg: Declare varargs functions as WINAPIV instead of cdecl.

19 years agoavifil32: Declare varargs functions as WINAPIV instead of cdecl.
Alexandre Julliard [Tue, 13 Jun 2006 09:18:09 +0000 (11:18 +0200)] 
avifil32: Declare varargs functions as WINAPIV instead of cdecl.

19 years agouserenv: Add profinfo.h.
Mike McCormack [Mon, 12 Jun 2006 04:34:23 +0000 (13:34 +0900)] 
userenv: Add profinfo.h.

19 years agowined3d: Fix params for DP2ADD/TEXLDD.
Ivan Gyurdiev [Mon, 12 Jun 2006 10:58:33 +0000 (06:58 -0400)] 
wined3d: Fix params for DP2ADD/TEXLDD.

DP2ADD is valid on pshaders 2.0 and above, has 4 parameters.
TEXLDD is valid on pshaders 2.x and above, has 5 parameters.

19 years agowined3d: Mark instructions without a destination token.
Ivan Gyurdiev [Mon, 12 Jun 2006 10:57:04 +0000 (06:57 -0400)] 
wined3d: Mark instructions without a destination token.

There are a total of 17 instructions without a destination token. Of
those 9 have num_params != 0, which means that we will not process any
of them correctly, because we assume the first token (if present) is a
destination token.

Those are basically all the flow control instructions, which we plan to
support very soon. They have source tokens, and no destination. Add a
flag that marks them up to the ins table. Use this flag in the trace
pass, and generation pass.

19 years agowined3d: Keep pshader and vshader constants in GLSL separate.
Ivan Gyurdiev [Mon, 12 Jun 2006 07:00:03 +0000 (03:00 -0400)] 
wined3d: Keep pshader and vshader constants in GLSL separate.

GLSL uniforms have as scope the entire program.
To prevent conflicts, name pshader and vshader constants differently.
Based on a patch by Jason Green.

19 years agowined3d: Improve Sampler support on 2.0 and 3.0 shaders.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:59:16 +0000 (02:59 -0400)] 
wined3d: Improve Sampler support on 2.0 and 3.0 shaders.

- track sampler declarations and store the sampler usage in reg_maps structure
- store a fake sampler usage for 1.X shaders (defined as 2D sampler)
- re-sync glsl TEX implementation with the ARB one (no idea why they diverged..)
- use sampler type in new TEX implementation to support 2D, 3D, and Cube sampling
- change drawprim to bind pixel shader samplers

Additional improvements:
- rename texture limit to texcoord to prevent confusion
- add sampler limit, and use that for samplers - *not* the same as texcoord above

19 years agowined3d: Cast more things.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:58:09 +0000 (02:58 -0400)] 
wined3d: Cast more things.

Anything with a swizzle has to be casted to vec4, or it won't work properly.
There's multiple ways to do this, for the moment pick the easiest one.