Commit Graph

258 Commits

Author SHA1 Message Date
Henri Verbeet
5daf5e80fb d3dcompiler: Avoid LPVOID. 2013-09-06 12:00:24 +02:00
Henri Verbeet
1046aa6e48 d3dcompiler: Avoid LPCVOID. 2013-09-05 13:18:24 +02:00
Henri Verbeet
36190dd5e6 d3dcompiler: Avoid LPCSTR. 2013-09-05 13:18:24 +02:00
Henri Verbeet
aab72562d5 d3dcompiler: Get rid of a couple of redundant casts. 2013-09-04 11:37:09 +02:00
Matteo Bruni
3f221611f0 d3dcompiler: Skip search of the parent include for the initial file. 2013-09-03 16:58:32 +02:00
Christian Costa
af59f19461 d3dcompiler: Add trace to D3DPreprocess. 2013-05-13 11:08:43 +02:00
Christian Costa
6e77816301 d3dcompiler: Add a LUT to find compilation targets info. 2013-05-13 11:08:36 +02:00
Christian Costa
896ff53774 d3dcompiler_43: Turn FIXME into TRACE as D3DCompiler is no longer a stub. 2013-04-26 16:28:07 +02:00
Alexandre Julliard
f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Michael Stefaniuc
536bdfde27 d3dcompiler_43: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 10:44:36 +01:00
Michael Stefaniuc
b5d4c20bfe d3dcompiler_43: Use assignment instead of memcpy to copy structs. 2013-01-28 14:00:14 +01:00
Rico Schüller
b1126a8c30 d3dcompiler43/tests: Don't use IUnknown_Release(). 2013-01-11 11:58:23 +01:00
Francois Gouget
f963f93964 Assorted spelling fixes. 2013-01-07 11:10:40 +01:00
Andrew Talbot
80e4d899ed d3dcompiler_43: Avoid signed-unsigned integer comparisons. 2013-01-02 13:35:53 +01:00
Matteo Bruni
f6b22a7570 d3dcompiler: Put data type name of constants on the heap. 2012-11-09 16:43:12 +01:00
Matteo Bruni
feda13db33 d3dcompiler: Skip stray semicolons outside of functions. 2012-11-09 16:43:09 +01:00
Matteo Bruni
0d2a27af40 d3dcompiler: Allow a comma at the end of an initializer. 2012-11-09 16:43:05 +01:00
Matteo Bruni
a5203e1a79 d3dcompiler: Don't take the sign as part of the numeric token. 2012-11-09 16:43:02 +01:00
André Hentschel
3abc425267 d3dcompiler_43: Free assignment on error (coverity). 2012-10-26 11:48:12 +02:00
Francois Gouget
25c465269c d3dcompiler_43: Make free_function{_decl}() static. 2012-10-15 19:37:29 +02:00
Matteo Bruni
69922c671a d3dcompiler: Add some checks to function definitions. 2012-10-11 21:24:34 +02:00
Matteo Bruni
6897f9aa35 d3dcompiler: Properly support function overloads. 2012-10-11 21:24:34 +02:00
Matteo Bruni
deb00c9460 d3dcompiler: Allow multiple input/output modifiers. 2012-10-11 21:24:34 +02:00
Matteo Bruni
5e66599737 d3dcompiler: Add a trace to D3DAssemble. 2012-10-11 21:24:34 +02:00
Matteo Bruni
426b5b3609 d3dcompiler: Avoid "naked" vars in record dereferences. 2012-10-11 21:24:34 +02:00
Matteo Bruni
1f876a670e d3dcompiler: Don't raise a warning for an uninitialized uniform. 2012-10-10 20:34:14 +02:00
Matteo Bruni
71da1bac5d d3dcompiler/tests: Fix access to the test output for y > 0. 2012-10-10 20:34:14 +02:00
Matteo Bruni
f4eccde66d d3dcompiler: Fix "for" syntax. 2012-10-10 20:34:13 +02:00
Alexandre Julliard
2763a983fe Mark all lexers as never-interactive. 2012-10-01 12:19:25 +02:00
Matteo Bruni
b1594dabcc d3dcompiler: Parse array indexing expressions. 2012-09-28 17:53:10 +02:00
Matteo Bruni
f50007b856 d3dcompiler: Parse struct typedefs. 2012-09-28 17:53:03 +02:00
Matteo Bruni
6b2ecb509a d3dcompiler: Parse struct dereferences. 2012-09-28 17:52:58 +02:00
Matteo Bruni
f10e0d4e9e d3dcompiler: Fix freeing function. 2012-09-28 17:52:52 +02:00
Matteo Bruni
16360a4f18 d3dcompiler: Handle simple struct initializers. 2012-09-27 13:09:05 +02:00
Matteo Bruni
9cbd80bda1 d3dcompiler: Store the pointer to the struct field in the dereference node. 2012-09-27 13:08:58 +02:00
Matteo Bruni
f2d2755eef d3dcompiler: Also free the list itself in free_instr_list(). 2012-09-27 13:08:54 +02:00
Matteo Bruni
97a170d2d1 d3dcompiler: Parse structure declarations. 2012-09-27 13:08:45 +02:00
Matteo Bruni
4019a3deb6 d3dcompiler: Move variables declaration to a separate function. 2012-09-27 13:08:38 +02:00
Francois Gouget
919db661e5 d3dcompiler_43: Make compare_hlsl_types_rb() static. 2012-09-24 16:38:16 +02:00
Matteo Bruni
778e98c19e d3dcompiler: Parse "for" loops with declarations. 2012-09-21 18:29:27 +02:00
Matteo Bruni
6e4617c14a d3dcompiler: Parse "for" loops without variable declarations. 2012-09-21 18:29:27 +02:00
Matteo Bruni
2b7ad731a4 d3dcompiler: Parse "do-while" loop. 2012-09-21 18:29:27 +02:00
Matteo Bruni
5fc67931b8 d3dcompiler: Parse "while" loops. 2012-09-21 18:29:26 +02:00
Matteo Bruni
76525af7f1 d3dcompiler: Allow casts to arrays. 2012-09-21 18:29:26 +02:00
Francois Gouget
0c9ee6663f d3dcompiler_43: Remove an unwanted trailing '\n' in debug_dump_instr(). 2012-09-20 00:01:06 +02:00
Francois Gouget
e4ca67f7aa d3dcompiler_43: Make add_type_to_scope() static. 2012-09-20 00:00:25 +02:00
Matteo Bruni
ca701b7d69 d3dcompiler: Parse casts. 2012-09-19 23:54:25 +02:00
Matteo Bruni
46e368934e d3dcompiler: Support simple variable initializers. 2012-09-19 23:54:21 +02:00
Matteo Bruni
d9c247f2ae d3dcompiler: Parse "typedef" statement. 2012-09-19 23:54:18 +02:00
Matteo Bruni
8f60f8f34b d3dcompiler: Store data types in a RB tree for faster search. 2012-09-19 23:54:07 +02:00