Ge van Geldorp
5f299d6fe5
dbghelp: Fix compilation for x86_64.
2006-06-19 21:23:05 +02:00
Thomas Weidenmueller
5fb24924fb
include: Fix definition of SECURITY_INTEGER.
2006-06-19 21:22:40 +02:00
Christian Gmeiner
8f5d90b44d
setupapi: Implement SetupDiCreateDeviceInfoListExW.
2006-06-19 21:16:04 +02:00
Paul Vriens
682679b07c
uxtheme/tests: Change S_OK to the more appropriate ERROR_SUCCESS.
2006-06-19 20:54:39 +02:00
Vitaly Lipatov
fa823d2fb8
dnsapi: Fix conflicts nameser.h with winerror.h.
2006-06-19 20:54:31 +02:00
Uwe Bonnes
a8a7976bc0
secur32: Fix another GetProcessHeap vs GetProcessHeap().
2006-06-19 20:54:19 +02:00
Hans Leidekker
6831c8dfcb
mscms: Fix famous typo in HeapFree call.
2006-06-19 20:54:04 +02:00
Kai Blin
b432e11927
secur32: Remove unneeded function from the Negotiate provider.
2006-06-19 20:53:53 +02:00
Mike McCormack
ccfa76d18e
ole32: Fix a typo.
2006-06-19 20:53:44 +02:00
Mike McCormack
d18dc2561a
hlink: Add a stub implementation for HlinkNavigateToStringReference.
2006-06-19 20:53:39 +02:00
Mike McCormack
da906667c7
imm32: Fix some return codes.
2006-06-19 20:53:35 +02:00
Mike McCormack
39c905f6d0
wininet: Make sure to null terminate a string before copying it.
2006-06-19 20:53:31 +02:00
Alexandre Julliard
1a2417d9bc
gdi32: Get rid of the no longer needed DIB_CreateDIBSection export.
2006-06-19 11:25:42 +02:00
Stefan Dösinger
1e2413f4f4
ddraw: Implement proper handle management.
2006-06-19 11:14:18 +02:00
Jason Green
c13f097de3
wined3d: Correct implementation of D3DSIO_LOOP.
...
I initially misread the specification. src0.x is the iteration count,
not the max amount for the loop register. This fixes that.
2006-06-19 11:11:45 +02:00
Jason Green
fd83de7129
wined3d: Fix lookup for LOOP register.
2006-06-19 11:11:24 +02:00
Jason Green
9afa540eb5
wined3d: Added correct cast support for gl_FogFragCoord and gl_PointSize output registers.
2006-06-19 11:11:05 +02:00
Jason Green
406ec20459
wined3d: Load boolean and integer constants into the GLSL shader program.
2006-06-19 10:59:58 +02:00
Jason Green
f444009bfb
wined3d: Implement locally defined boolean and integer constants in GLSL.
2006-06-19 10:59:13 +02:00
Jason Green
34d271bab6
wined3d: Add preliminary support for constant boolean and integer registers in GLSL.
...
- Separate the declaration phase of the shader string generator into
the arb and glsl specific files.
- Add declarations and recognition for application-sent constant
integers and booleans (locally defined ones will follow).
- Standardize capitilization of pixel/vertex specific variable names.
2006-06-19 10:50:14 +02:00
Jason Green
2d8e05f8a1
wined3d: Move constant loading into target-specific files.
...
- Moves GLSL constant loading code into glsl_shader.c and out of the
over-populated drawprim.c.
- Creates a new file named arb_program_shader.c which will hold code
specific to ARB_vertex_program & ARB_fragment_program.
- Remove the constant loading calls from drawprim.c
2006-06-19 10:49:52 +02:00
Jason Green
7f18b4e5fa
wined3d: Remove dead vertex shader code.
2006-06-19 10:39:36 +02:00
Krzysztof Foltman
8e85210144
riched20: EM_CHARFROMPOS didn't work properly with scrolling
...
(vertical scrollbar position was not taken into account).
2006-06-19 10:30:36 +02:00
Hans Leidekker
f9b213ff7b
dnsapi: Free all allocated records instead of just the last one.
2006-06-19 10:30:08 +02:00
Hans Leidekker
5213b4a3f2
dnsapi: Correct testing for zero option value DNS_QUERY_STANDARD.
2006-06-19 10:30:02 +02:00
Stefan Dösinger
01273e7eb6
ddraw: Palette refcounting fixes + tests.
2006-06-19 10:29:56 +02:00
Robert Shearman
e4b51580e1
ntdll: If ObjectAttributes is NULL then an error is returned at the
...
start of the NtOpenSymbolicLinkObject, therefore ObjectAttributes does
not need to be checked for NULL later on in the function.
2006-06-19 10:29:11 +02:00
Robert Shearman
1437f8bd8c
rpcrt4: Use the thread pool in the RPC server for processing packets.
2006-06-19 10:28:50 +02:00
Robert Shearman
1ddc722ec2
ole32: Document CoCreateFreeThreadedMarshaler.
2006-06-19 10:28:26 +02:00
Robert Shearman
aa09031c78
ole32: Reuse event handles used for COM calls.
...
This reduces the number of server calls during a COM call by half.
2006-06-19 10:28:20 +02:00
Saulius Krasuckas
183da10af4
lz32: Enable old test and expand it.
2006-06-19 10:26:45 +02:00
qingdoa daoo
43fa835e0e
kernel: Fix reported address space limit to be in keeping with ntdll.
2006-06-19 09:22:13 +02:00
Detlef Riekenberg
698a8a0b86
winspool: AddMonitor: Test the driver entry before return an error.
2006-06-19 09:22:02 +02:00
Andrew Talbot
685e7007e1
msi/tests: Write-strings warnings fixes.
2006-06-19 09:21:42 +02:00
Kevin Koltzau
0e8b75bb12
oleaut32: Fix 64bit warnings in tests.
2006-06-19 09:21:19 +02:00
Kevin Koltzau
146e6b8b69
mscms: Fix 64bit warnings.
2006-06-19 09:21:12 +02:00
Mike McCormack
705178fb71
inseng: Initial implementation of inseng (required for IE6 to install under win2k).
2006-06-16 16:05:49 +02:00
Jacek Caban
c562d4926e
mshtml: Added Wine Gecko installer.
2006-06-16 16:03:57 +02:00
Paul Vriens
edaac6f696
wined3d: GetScissorRect should use zero-based scissorBox (Coverity).
2006-06-16 14:42:36 +02:00
Huw Davies
26c2953e58
rpcrt4: Fix the argument size of conformant arrays.
2006-06-16 14:42:36 +02:00
Andrey Turkin
07edeb8394
msi: Added tests for MsiSetTargetPath.
2006-06-16 14:42:36 +02:00
Francois Gouget
9eb81363ad
Add trailing '\n's to ok() calls.
...
Remove spaces before '\n'.
2006-06-16 11:32:42 +02:00
Francois Gouget
11ae0f6386
Assorted spelling fixes.
2006-06-16 11:32:29 +02:00
Francois Gouget
2d7ef72cf0
shell32: Remove dead code in SHELL_FindExecutable().
2006-06-16 11:32:11 +02:00
Francois Gouget
f248440dd4
ntdll: Use page_size instead of page_mask+1.
2006-06-16 11:31:51 +02:00
Kai Blin
9d5e09d748
secur32: Implement QueryContextAttributes. Add tests.
2006-06-16 11:31:23 +02:00
Marcus Meissner
f1b1fe63f6
avifil32: Corrected destination size in MultiByteToWideChar.
2006-06-16 11:31:06 +02:00
Louis. Lenders
3c688e9345
d3d9: Remove ValidatePixel/VertexShader.
2006-06-16 11:30:38 +02:00
Juan Lang
bc2d4a71b4
crypt32: Correct CRL tests, and fix CRL encoding/decoding accordingly.
2006-06-16 11:30:10 +02:00
Ulrich Czekalla
62e41ad1fd
hlink: Fix typo. We should set hl not ppvObj.
2006-06-16 11:29:51 +02:00
H. Verbeet
701ce97d65
wined3d: Add and use GL_EXT_fog_coord defines.
2006-06-16 11:29:31 +02:00
Alexandre Julliard
bdb4fab7a7
x11drv: Renamed the x11drv directory to winex11.drv.
2006-06-16 09:57:50 +02:00
Huw Davies
7afe18ec27
printing: Don't limit the printer name length to CCHDEVICENAME characters.
2006-06-15 18:05:58 +02:00
James Hawkins
36bf71c174
msi: Add tests for MsiInstallProduct.
2006-06-15 18:05:53 +02:00
Alexandre Julliard
7f8c29a407
ddraw: Make some functions static.
2006-06-15 17:14:37 +02:00
Alexandre Julliard
9d4feaa09b
dlls: d3d8, d3d9 and ddraw no longer depend on OpenGL or X.
2006-06-15 16:52:23 +02:00
Alexandre Julliard
0b56f2c6cb
d3dx8: Remove dependencies on OpenGL headers and libraries.
2006-06-15 16:52:05 +02:00
Alexandre Julliard
7b27b33495
d3d9: Remove dependencies on OpenGL headers and libraries.
2006-06-15 16:52:01 +02:00
Alexandre Julliard
558fbb8af8
d3d8: Remove dependencies on OpenGL headers and libraries.
2006-06-15 16:51:57 +02:00
Stefan Dösinger
3862f8e3d7
wined3d: Support more than one back buffer.
2006-06-15 16:51:41 +02:00
Stefan Dösinger
c8901d6f62
ddraw: Rewrite most of ddraw using WineD3D.
2006-06-15 16:51:16 +02:00
Peter Åstrand
2585e1a6fd
winmm: Add support for "open new" commands.
2006-06-15 12:25:50 +02:00
Mike McCormack
94dc36e5a6
msi: Add test for _Streams table (based on patch by Andrey Turkin).
2006-06-15 12:24:16 +02:00
Stefan Dösinger
5c3c5903a5
wined3d: Correct vertex fog for transformed vertices and correctly
...
handle non-vertex, non-table fog.
2006-06-15 12:24:09 +02:00
Jason Green
cc06ed3d53
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.
2006-06-15 12:20:20 +02:00
Robert Shearman
da5cc56378
atl: Add a partial implementation of AtlModuleRegisterWndClassInfoW
...
based on documentation by Mike McCormack.
2006-06-15 12:14:32 +02:00
Robert Shearman
0173948300
kernel: Add a test for mutexes.
2006-06-15 12:14:23 +02:00
Robert Shearman
3fa7fa5bdf
kernel: Add some tests for VerifyVersionInfo.
2006-06-15 12:14:18 +02:00
Robert Shearman
f2dc25a5f3
ole32: Always rewind the stream in StdGlobalInterfaceTable_GetInterfaceFromGlobal
...
as CoUnmarshalInterface may have advanced the stream, even if it failed.
2006-06-15 12:07:10 +02:00
Robert Shearman
fa757df883
ole32: Add a tests for OleSetMenuDescriptor and the global interface table.
2006-06-15 12:06:49 +02:00
Alexander Nicolaysen Sørnes
138676dd24
gphoto2.ds: Added Norwegian Bokmål resources.
2006-06-15 12:05:54 +02:00
Alexandre Julliard
3df59e4fee
kernel32: Use unsigned types in GlobalMemoryStatusEx to prevent overflows.
2006-06-15 11:39:29 +02:00
Mike McCormack
13115d8cf6
comctl32: Add a short test for the listview.
2006-06-15 11:39:29 +02:00
Mike McCormack
f86270a022
comctl32: Arrange the listview after deleting all items so we will place icons at the top again.
2006-06-15 11:39:29 +02:00
Mike McCormack
52c204be88
comctl32: Use the listview's background colour when drawing with imagelist.
2006-06-15 11:39:29 +02:00
Mike McCormack
172e183cf3
msi: Don't define COND_SPACE twice.
2006-06-15 11:39:28 +02:00
Eric Pouech
50c9681a24
mciwave: Fixed a bogus free.
2006-06-15 11:39:28 +02:00
Vitaly Lipatov
88694be2ad
user32: Fix character conversion in combo box.
...
Replace toupper/tolower with CharUpper/CharLower functions.
2006-06-15 11:26:57 +02:00
Robert Shearman
124c3a8f7c
atl: Add a stub for AtlModuleRegisterWndClassInfoW.
2006-06-14 13:40:30 +02:00
Robert Shearman
850ae994c6
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.
2006-06-14 13:37:25 +02:00
Robert Shearman
e072d7a0a3
msxml: Text nodes with just whitespace should be stripped.
2006-06-14 13:36:07 +02:00
Robert Shearman
1df06e5c4a
msxml: Implement IXMLDOMElement for text elements by using
...
create_element instead of create_basic_node.
2006-06-14 13:35:51 +02:00
Robert Shearman
09ddab1481
msxml: Allow the element implementation to be aggregatable.
2006-06-14 13:35:38 +02:00
Paul Vriens
569a452d3a
uxtheme: Add framework and initial tests.
2006-06-14 13:22:35 +02:00
Mike McCormack
863bc989b9
msi: Add a test for reading long strings.
2006-06-14 12:47:06 +02:00
Mike McCormack
2d323b3df8
msi: Add a test for creating a record with a long string.
2006-06-14 12:47:05 +02:00
Mike McCormack
d2dca89c52
msi: Add a test for MsiDatabaseExport.
2006-06-14 12:47:05 +02:00
Mike McCormack
a87ba6f445
advpack: Remove some dead code. (Coverity)
2006-06-14 12:47:05 +02:00
Mike McCormack
4dace74bd8
crypt32: Fix a cast for Win64.
2006-06-14 12:47:05 +02:00
Robert Shearman
b3c04e032d
rpcrt4: getaddrinfo returns any non-zero value on failure, not just negative values.
2006-06-14 12:47:05 +02:00
Alexandre Julliard
2208694ab2
ntdll: Cast termios.c_cflag to avoid a printf format warning.
2006-06-13 14:16:57 +02:00
Alexandre Julliard
836b5c7e93
wined3d: Use unsigned int instead of size_t to avoid printf format warnings.
2006-06-13 14:14:20 +02:00
Alexandre Julliard
fb5366c6c3
oleaut32: Use unsigned int instead of size_t to avoid printf format warnings.
2006-06-13 14:14:13 +02:00
Alexandre Julliard
db78a84d47
msvcrt: Use unsigned int instead of size_t to avoid printf format warnings.
2006-06-13 14:14:06 +02:00
Alexandre Julliard
dbd473ff79
crypt32: Use unsigned int instead of size_t to avoid printf format warnings.
2006-06-13 14:14:00 +02:00
Alexandre Julliard
1f39252d27
wineps.drv: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:11:48 +02:00
Alexandre Julliard
2864377793
user32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:11:36 +02:00
Alexandre Julliard
2a91838f0c
rpcrt4: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:11:28 +02:00
Alexandre Julliard
96ad688174
ole32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:11:15 +02:00
Alexandre Julliard
a62dca5874
netapi32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:11:04 +02:00
Alexandre Julliard
348fd746d9
msvfw32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:10:57 +02:00
Alexandre Julliard
5784ca9bca
mciseq: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:10:47 +02:00
Alexandre Julliard
1c66c611a1
kernel32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:10:39 +02:00
Alexandre Julliard
bc99ac09d3
dsound: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:10:32 +02:00
Alexandre Julliard
9f37cd55bc
dplayx: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:10:21 +02:00
Alexandre Julliard
1b469c2482
dmstyle: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:10:12 +02:00
Alexandre Julliard
7ad5f9eca0
dinput: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:55 +02:00
Alexandre Julliard
4374328271
d3d9: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:46 +02:00
Alexandre Julliard
7bf49faf23
d3d8: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:36 +02:00
Alexandre Julliard
aeae92e9f9
comdlg32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:24 +02:00
Alexandre Julliard
03e2b335c4
comctl32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:16 +02:00
Alexandre Julliard
553bb2591f
advapi32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:02 +02:00
Alexandre Julliard
82a404a077
winmm/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:04:07 +02:00
Alexandre Julliard
55d9045804
version/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:59 +02:00
Alexandre Julliard
744528578d
urlmon/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:51 +02:00
Alexandre Julliard
d90f68166c
rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:44 +02:00
Alexandre Julliard
28e17a75af
ole32/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:36 +02:00
Alexandre Julliard
cba2c84741
ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:19 +02:00
Alexandre Julliard
65459cb344
mshtml/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:01 +02:00
Alexandre Julliard
be4dccb33f
mlang/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:02:52 +02:00
Alexandre Julliard
4ec2fcc9fd
mapi32/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:02:45 +02:00
Alexandre Julliard
c6b342d8ff
kernel32/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:02:31 +02:00
Alexandre Julliard
e19f31b682
gdi/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:02:13 +02:00
Alexandre Julliard
52d6077f8b
crypt32/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:02:03 +02:00
Alexandre Julliard
68e4cf4a0b
wininet/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:58:30 +02:00
Alexandre Julliard
298d80c2bd
version/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:58:12 +02:00
Alexandre Julliard
0cbd0a367d
shlwapi/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:57:59 +02:00
Alexandre Julliard
8e5eaaad1b
ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:57:40 +02:00
Alexandre Julliard
1369719d2c
mscms/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:57:27 +02:00
Alexandre Julliard
e2e6115193
kernel32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:57:12 +02:00
Alexandre Julliard
93fd4524e4
crypt32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:56:39 +02:00
Alexandre Julliard
290ddd8e38
advapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:56:18 +02:00
Mike McCormack
9985c42150
wingdi: Fix typo in definition of BLTALIGNMENT (spotted by Choe Hwanjin).
2006-06-13 12:56:49 +02:00
Mike McCormack
cfe36cc81d
msi: Fix loading of long strings.
2006-06-13 12:56:42 +02:00
Mike McCormack
25f521f1b2
winmm: Undefine SW_MAX defined by linux/input.h to avoid a conflict with winuser.h.
2006-06-13 12:56:38 +02:00
Michael Stefaniuc
fee72b607a
Yet another round of redundant NULL checks before HeapFree.
2006-06-13 11:40:23 +02:00
Alexandre Julliard
24beabfd4e
msvcrt: Explicitly specify CDECL calling convention on exported functions.
2006-06-13 11:40:23 +02:00
Alexandre Julliard
28bbdf116c
oledlg: Declare varargs functions as WINAPIV instead of cdecl.
2006-06-13 11:40:23 +02:00
Alexandre Julliard
1db7a349c9
avifil32: Declare varargs functions as WINAPIV instead of cdecl.
2006-06-13 11:40:23 +02:00
Mike McCormack
4a2d96077e
userenv: Add profinfo.h.
2006-06-13 11:40:23 +02:00
Ivan Gyurdiev
45dbb78d73
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.
2006-06-13 11:40:23 +02:00
Ivan Gyurdiev
8c6ee8df0d
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.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev
14a52e5c09
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.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev
0d08316523
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
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev
e99926ee06
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.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev
a1f4dfe4e3
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.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev
1a3003338f
wined3d: Trivial cleanups
...
- compiler warnings and errors should be FIXME
- remove obsolete comment, and change variable type.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev
a42925ee09
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
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev
17b0d26c1e
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]
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev
9bae7755ab
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.
2006-06-13 11:40:21 +02:00