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.
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
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.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:57:07 +0000 (02:57 -0400)]
wined3d: Add support for shader model 3.0 I/O registers.
SM 3.0 can pack multiple "semantics" into 12 generic input/output registers.
To support that, define temporaries called IN and OUT, and use those as
the output registers. At the end of the vshader, unpack the OUT temps
into the proper GL variables. At the beginning of the pshader, pack the
GL variables back into 12 IN registers.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:56:13 +0000 (02:56 -0400)]
wined3d: Trivial cleanups
- compiler warnings and errors should be FIXME
- remove obsolete comment, and change variable type.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:55:30 +0000 (02:55 -0400)]
wined3d: Register map cleanups.
Various cleanups:
- do not use DWORD as a bitmask, that places artificial limit of 32 on
registers
- track attributes that are used and declare only those
- move declarations function call in pshader/vshader to allow us to
insert pixel or vertex specific code between the declarations and
the rest of the code
- remove redundant 0 intializers
- remove useless continue statement
Ivan Gyurdiev [Mon, 12 Jun 2006 06:54:30 +0000 (02:54 -0400)]
wined3d: Share trace pass
Now that the declaration function is out of the way, the tracing pass,
which is very long and 100% the same can be shared between pixel and
vertex shaders.
The new function is called shader_trace_init(), and is responsible for:
- tracing the shader
- initializing the function length
- setting the shader version [needed very early]
Ivan Gyurdiev [Mon, 12 Jun 2006 06:53:32 +0000 (02:53 -0400)]
wined3d: Rework dcl processing.
The new function is called in pass 2 (getister counting/maps), and
it's now in baseshader. It operates on all INPUT and OUTPUT registers,
which, in addition to the old vertex shader input declarations covers
Shader Model 3.0 vshader output and pshader input declarations. The
result is stored into the reg_map structure.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:51:58 +0000 (02:51 -0400)]
wined3d: The namedArrays code path is dead (always FALSE).
Delete the entire namedArrays code path and all its dependencies (one
of which is quite long - storeOrder in drawprim is always FALSE, for
example). Delete declaredArrays, and make its code path the default.
Saulius Krasuckas [Mon, 12 Jun 2006 17:49:31 +0000 (20:49 +0300)]
mscms: Eliminate complex test macro to make source navigation easier.
Michael Stefaniuc [Mon, 12 Jun 2006 22:52:00 +0000 (00:52 +0200)]
include: The visibility attribute is supported only by gcc >= 3.3.
Robert Shearman [Mon, 12 Jun 2006 15:45:40 +0000 (16:45 +0100)]
mlang: Return S_OK from fnIMultiLanguage2_SetMimeDBSource.
The source is largely irrelevant since we are not likely to be wanting
to ship updates to the MIME database as registry updates, instead of
just changing the code.
Robert Shearman [Mon, 12 Jun 2006 15:45:31 +0000 (16:45 +0100)]
mlang: Add us-ascii encoding to the list of supported encodings.
Robert Shearman [Mon, 12 Jun 2006 15:45:24 +0000 (16:45 +0100)]
advapi32: Fix the parsing of string SIDs with multiple sub-authorities.
Robert Shearman [Mon, 12 Jun 2006 15:37:49 +0000 (16:37 +0100)]
advapi32: Replace some mixed tabs with spaces.
Robert Shearman [Mon, 12 Jun 2006 15:37:07 +0000 (16:37 +0100)]
advapi32: Support well-knowns SIDs in string SIDs.
Robert Shearman [Mon, 12 Jun 2006 15:36:54 +0000 (16:36 +0100)]
advapi32: Nul-terminate the domain string in LookupAccountNameW.
Robert Shearman [Mon, 12 Jun 2006 15:36:45 +0000 (16:36 +0100)]
ole32: Print an error if a DLL's DllGetClassObject fails as this is
usually a good indicator of a bug elsewhere in Wine.
Jan Zerebecki [Fri, 9 Jun 2006 15:32:46 +0000 (17:32 +0200)]
wined3d: Move a checkGLcall to it's gl call inside an "if".
Jan Zerebecki [Fri, 9 Jun 2006 15:32:18 +0000 (17:32 +0200)]
wined3d: Fix stencil related render states.
Jan Zerebecki [Fri, 9 Jun 2006 15:30:20 +0000 (17:30 +0200)]
wined3d: Enable two sided stencil in the caps.
Jan Zerebecki [Fri, 9 Jun 2006 15:29:57 +0000 (17:29 +0200)]
wined3d: Also print the format like a fourcc if unknown in debug_d3dformat.
Alexandre Julliard [Mon, 12 Jun 2006 19:35:40 +0000 (21:35 +0200)]
msvcrtd: Explicitly specify CDECL calling convention on exported functions.
Alexandre Julliard [Mon, 12 Jun 2006 19:35:27 +0000 (21:35 +0200)]
msvcrt20: Explicitly specify CDECL calling convention on exported functions.
Alexandre Julliard [Mon, 12 Jun 2006 19:35:20 +0000 (21:35 +0200)]
crtdll: Explicitly specify CDECL calling convention on exported functions.
Alexandre Julliard [Mon, 12 Jun 2006 19:35:07 +0000 (21:35 +0200)]
ntdll: Explicitly specify CDECL calling convention on exported functions.
Alexandre Julliard [Mon, 12 Jun 2006 19:34:59 +0000 (21:34 +0200)]
ole32: Explicitly specify CDECL calling convention on exported functions.
Alexandre Julliard [Mon, 12 Jun 2006 19:34:46 +0000 (21:34 +0200)]
wldap32: Explicitly specify CDECL calling convention on exported functions.
Alexandre Julliard [Mon, 12 Jun 2006 14:18:17 +0000 (16:18 +0200)]
include: Added prototype for DllMain.
Alexandre Julliard [Mon, 12 Jun 2006 14:18:01 +0000 (16:18 +0200)]
include: Make the Dll* entry points hidden.
Alexandre Julliard [Mon, 12 Jun 2006 14:10:28 +0000 (16:10 +0200)]
ntdll: Added spec entry for NtQueryMultipleValueKey.
Alexandre Julliard [Mon, 12 Jun 2006 14:09:50 +0000 (16:09 +0200)]
riched20: Fix an uninitialized variable bug.
Mark todo a test that depended on the bug to succeed.
H. Verbeet [Sat, 10 Jun 2006 21:49:09 +0000 (23:49 +0200)]
wined3d: Cleanup GetSrcAndOpFromValue().
- Cleanup GetSrcAndOpFromValue().
- Use naming more consistent with the rest of the file.
Mike McCormack [Mon, 12 Jun 2006 08:57:27 +0000 (17:57 +0900)]
msi: Add some more test cases for INSERT.
Mike McCormack [Mon, 12 Jun 2006 06:06:59 +0000 (15:06 +0900)]
msi: Add some more MsiFormatRecord tests.
Mike McCormack [Mon, 12 Jun 2006 04:21:11 +0000 (13:21 +0900)]
msi: Add tests for creating packages and formatting records.
Mike McCormack [Mon, 12 Jun 2006 04:20:46 +0000 (13:20 +0900)]
msi: Delete any databases we create at the end of each test.
Mike McCormack [Mon, 12 Jun 2006 04:20:31 +0000 (13:20 +0900)]
msi: Fix compilation on msvc6.
Mike McCormack [Mon, 12 Jun 2006 04:20:11 +0000 (13:20 +0900)]
msi: Remove an inconsistent test.
Mike McCormack [Mon, 12 Jun 2006 04:19:51 +0000 (13:19 +0900)]
msi: Fix some test cases to pass against win2k.
Robert Shearman [Mon, 12 Jun 2006 00:34:40 +0000 (01:34 +0100)]
include: Add IXMLHttpRequest interface and XMLHttpRequest coclass to xmldoc.idl.
Robert Shearman [Mon, 12 Jun 2006 00:34:53 +0000 (01:34 +0100)]
atl: Implement AtlModuleGetClassObject.
Robert Shearman [Mon, 12 Jun 2006 00:34:28 +0000 (01:34 +0100)]
msxml3: Fix domelem_get_tagName to return a string with the namespace prefixed, if it is present.
Robert Shearman [Mon, 12 Jun 2006 00:34:17 +0000 (01:34 +0100)]
msxml3: Initialise output interface pointers to NULL in xmlnodelist_QueryInterface and xmlnodelist_nextNode.
Alexandre Julliard [Mon, 12 Jun 2006 11:46:17 +0000 (13:46 +0200)]
wineps.drv: Make some variables static.
Alexandre Julliard [Mon, 12 Jun 2006 11:45:11 +0000 (13:45 +0200)]
crypt32: Make some variables static and/or const.
Alexandre Julliard [Mon, 12 Jun 2006 11:44:21 +0000 (13:44 +0200)]
shell32: Make some variables static and/or const.
Alexandre Julliard [Mon, 12 Jun 2006 11:41:45 +0000 (13:41 +0200)]
kernel32: Make some variables static.
Alexandre Julliard [Mon, 12 Jun 2006 11:41:15 +0000 (13:41 +0200)]
advapi32: Make some variables static and/or const.
Alexandre Julliard [Mon, 12 Jun 2006 11:40:34 +0000 (13:40 +0200)]
winemp3.acm: Make some variables static and/or const.
Alexandre Julliard [Mon, 12 Jun 2006 11:39:59 +0000 (13:39 +0200)]
msi: Make some variables static and/or const.
Alexandre Julliard [Mon, 12 Jun 2006 11:38:29 +0000 (13:38 +0200)]
crtdll: Fixed copy/paste error in definition of _baseminor_dll and _baseversion_dll.
Alexandre Julliard [Mon, 12 Jun 2006 11:37:36 +0000 (13:37 +0200)]
x11drv: Get rid of the no longer used desktop_tid variable.
Dmitry Timoshkov [Sun, 11 Jun 2006 15:26:49 +0000 (00:26 +0900)]
user32: Remove redundant SetLastError call from MENU_SetMenu.
Detlef Riekenberg [Fri, 9 Jun 2006 11:30:21 +0000 (13:30 +0200)]
include/ddk: Add minimal compstui.h.
Andrew Talbot [Fri, 9 Jun 2006 20:44:44 +0000 (21:44 +0100)]
winedbg: Write-strings warnings fix.
Christian Gmeiner [Fri, 9 Jun 2006 05:25:31 +0000 (07:25 +0200)]
setupapi: Documentation update.
Mike McCormack [Sun, 11 Jun 2006 02:06:00 +0000 (11:06 +0900)]
user32: Win64 lparam and wparam are longs.
Mike McCormack [Sun, 11 Jun 2006 02:06:10 +0000 (11:06 +0900)]
user32: Fix a pointer size warning in Win64.
Mike McCormack [Sun, 11 Jun 2006 02:05:49 +0000 (11:05 +0900)]
kernel32: Fix a cast for Win64.
Mike McCormack [Sun, 11 Jun 2006 00:51:59 +0000 (09:51 +0900)]
msi: Add some test cases for "SELECT ... WHERE condition".
Mike McCormack [Sun, 11 Jun 2006 00:51:42 +0000 (09:51 +0900)]
msi: Freeing the zero handle always succeeds.
Mike McCormack [Sun, 11 Jun 2006 00:51:29 +0000 (09:51 +0900)]
msi: Always initialize MsiViewFetch's returned record to zero.
H. Verbeet [Sat, 10 Jun 2006 21:48:45 +0000 (23:48 +0200)]
d3d9: Make some test functions static.
H. Verbeet [Sat, 10 Jun 2006 21:48:36 +0000 (23:48 +0200)]
d3d8: Make some test functions static.
Dmitry Timoshkov [Sat, 10 Jun 2006 15:19:33 +0000 (00:19 +0900)]
msvcrt: Print exception code in hex.
Jason Green [Sat, 10 Jun 2006 15:09:01 +0000 (11:09 -0400)]
wined3d: Map D3DSIO_DEF to it's GLSL generating function for vertex shaders.
Robert Shearman [Sat, 10 Jun 2006 11:33:40 +0000 (12:33 +0100)]
rpcrt4: Add an exception handler for CStdStubBuffer_Invoke.
This is needed because IRpcStubBuffer::Invoke should not allow RPC
exceptions to be passed to the caller.
Robert Shearman [Sat, 10 Jun 2006 11:33:26 +0000 (12:33 +0100)]
rpcrt4: Initialise pStubMsg->MemorySize to zero before calling
ComplexStructMemorySize from NdrComplexArrayUnmarshall.
Robert Shearman [Sat, 10 Jun 2006 11:33:01 +0000 (12:33 +0100)]
rpcrt4: Use safe_mutiply in conformant array functions.
Robert Shearman [Sat, 10 Jun 2006 11:32:47 +0000 (12:32 +0100)]
rpcrt4: Pass in a maximum variance value to ReadVariance to allow us
to validate the conformance values being read from the wire.
Robert Shearman [Sat, 10 Jun 2006 11:32:35 +0000 (12:32 +0100)]
rpcrt4: Check that strings are null-terminated on unmarshaling of conformant-varying structs.
Robert Shearman [Sat, 10 Jun 2006 11:32:24 +0000 (12:32 +0100)]
rpcrt4: Use safe_multiply when multiplying anything by pStubMsg->ActualCount or pStubMsg->MaxCount.
Robert Shearman [Sat, 10 Jun 2006 11:32:01 +0000 (12:32 +0100)]
rpcrt4: Raise an exception during unmarshaling if a conformant string isn't null-terminated.
Robert Shearman [Sat, 10 Jun 2006 11:31:45 +0000 (12:31 +0100)]
rpcrt4: Introduce a new function, safe_multiply, which will raise an
exception if a multiply overflows a 4-byte integer.
This will protect the unmarshaling code against attacks specifying a
large variance.
Use this new function in the conformant string functions to harden them
against attack.
Alexandre Julliard [Mon, 12 Jun 2006 10:01:38 +0000 (12:01 +0200)]
uuid: Mark all GUID variables as hidden.
Alexandre Julliard [Mon, 12 Jun 2006 10:01:06 +0000 (12:01 +0200)]
dnsapi: DnsExtractRecordsFromMessage_A is not exported.
Alexandre Julliard [Mon, 12 Jun 2006 09:58:41 +0000 (11:58 +0200)]
advapi32: Added spec entry for GetEffectiveRightsFromAclW.
Alexandre Julliard [Sat, 10 Jun 2006 11:22:27 +0000 (13:22 +0200)]
wined3d: Make all the local shader functions static.
Alexandre Julliard [Sat, 10 Jun 2006 11:15:32 +0000 (13:15 +0200)]
wined3d: Make the virtual table functions static where possible.
Pavel Roskin [Fri, 9 Jun 2006 21:21:59 +0000 (17:21 -0400)]
winecfg: Recognize all CD and floppy devices listed in Linux devices.txt.
Pavel Roskin [Sat, 10 Jun 2006 02:33:42 +0000 (22:33 -0400)]
winecfg: Allow and prefer using A: and B: for floppies.
Pass drive type to allocate_letter(). Start search from 'A' for
floppies.
Fix missing parentheses in the DRIVE_MASK_BIT definition. It's a bug
that is triggered by non-sequential drive allocation.
Jason Green [Fri, 9 Jun 2006 22:34:04 +0000 (18:34 -0400)]
wined3d: Change fog output variable name for GLSL shaders.
Jason Green [Fri, 9 Jun 2006 22:28:00 +0000 (18:28 -0400)]
wined3d: Fix regression from register maps switch for ARB shaders.
I missed a register mask in the move to share the shader_hw_def()
function between pixel and vertex shaders for ARB shaders. Fixed
that, and made the GLSL version use the same mask for consistency.
Ivan Gyurdiev [Fri, 9 Jun 2006 21:47:56 +0000 (17:47 -0400)]
wined3d: Enable CND/CMP for SHADER_ARB.
Ivan Gyurdiev [Fri, 9 Jun 2006 21:47:16 +0000 (17:47 -0400)]
wined3d: Print out sampler state names.
Ivan Gyurdiev [Fri, 9 Jun 2006 21:46:38 +0000 (17:46 -0400)]
wined3d: Downgrade Get*Shader FIXME to TRACE.
Detlef Riekenberg [Fri, 9 Jun 2006 19:54:19 +0000 (21:54 +0200)]
winspool/tests: Tests for GetPrintProcessorDirectory.
Saulius Krasuckas [Fri, 9 Jun 2006 20:46:56 +0000 (23:46 +0300)]
advapi32: Test RegSetValueEx[AW] for setting some sequential strings as one.
Alexandre Julliard [Sat, 10 Jun 2006 10:02:39 +0000 (12:02 +0200)]
msi: Make all the ops structures static and const.
Alexandre Julliard [Sat, 10 Jun 2006 10:02:14 +0000 (12:02 +0200)]
imagehlp: Remove the unused internal.c file.
Alexandre Julliard [Sat, 10 Jun 2006 09:59:33 +0000 (11:59 +0200)]
oleaut32: Make the virtual table functions static where possible.
Alexandre Julliard [Sat, 10 Jun 2006 09:59:15 +0000 (11:59 +0200)]
ole32: Make the virtual table functions static where possible.
Alexandre Julliard [Sat, 10 Jun 2006 09:58:27 +0000 (11:58 +0200)]
itss: Make the virtual table functions static where possible.
Alexandre Julliard [Sat, 10 Jun 2006 09:58:14 +0000 (11:58 +0200)]
dxdiagn: Make the virtual table functions static where possible.
Alexandre Julliard [Sat, 10 Jun 2006 09:58:01 +0000 (11:58 +0200)]
dswave: Make the virtual table functions static where possible.
Alexandre Julliard [Sat, 10 Jun 2006 09:57:48 +0000 (11:57 +0200)]
dsound: Make the virtual table functions static where possible.
Alexandre Julliard [Sat, 10 Jun 2006 09:57:38 +0000 (11:57 +0200)]
dpnet: Make the virtual table functions static where possible.
Alexandre Julliard [Sat, 10 Jun 2006 09:57:22 +0000 (11:57 +0200)]
dmusic: Make the virtual table functions static where possible.
Alexandre Julliard [Sat, 10 Jun 2006 09:57:03 +0000 (11:57 +0200)]
dmsynth: Make the virtual table functions static where possible.