Commit Graph

295 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes 26094c5634 d3dcompiler: Add D3DReadFileToBlob, D3DWriteBlobToFile stubs.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 01:19:50 +09:00
Gerald Pfeifer d04324f0fa d3dcompiler_43: Replace 14 instances of 1 << 31 by 1u << 31 to avoid shift shift overflow. 2015-09-07 15:06:23 +09:00
Gerald Pfeifer 8bb4525ee0 d3dcompiler_43: Define BWRITER_SM1_VS and BWRITER_SM1_PS as unsigned constants. 2015-08-17 14:40:37 +09:00
Sebastian Lackner e0a9ea6c68 d3dcompiler: Implement semi-stub for D3DCompile2. 2015-08-17 14:40:09 +09:00
Alistair Leslie-Hughes 1a0fc895f1 d3dcompiler: Add D3DCompileFromFile, D3DCompile2 stubs. 2015-08-17 14:40:01 +09:00
Alexandre Julliard 8a9483400a d3dcompiler_43: Add a helper function for register token to avoid compiler warnings. 2015-06-26 20:35:07 +09:00
Alistair Leslie-Hughes 80205c0160 d3dcompiler: Rename d3dcompiler_43_main.c to main.c. 2015-06-26 20:35:05 +09:00
Matteo Bruni bd7e83f292 d3dcompiler: Parse ": register()" syntax. 2015-06-19 19:11:03 +09:00
Matteo Bruni 5ae37d47f1 d3dcompiler: Handle writemask in make_assignment(). 2015-06-19 19:11:01 +09:00
Matteo Bruni 10fcb9379e d3dcompiler: Handle redefining an intrinsic function as a user-defined function. 2015-06-19 19:10:59 +09:00
Henri Verbeet bef432a19c d3dcompiler: Rename "func" to "decl" in free_function_decl().
Mostly just for consistency with other uses of struct hlsl_ir_function_decl.
2015-05-01 15:17:15 +09:00
Henri Verbeet c05acba168 d3dcompiler: Actually free the function in free_function() (Valgrind). 2015-05-01 15:17:11 +09:00
Henri Verbeet 307cf703af d3dcompiler: Free the filename if we don't store it in the HLSL preproc_directive rule (Valgrind). 2015-05-01 15:17:08 +09:00
Matteo Bruni a02f76637d d3dcompiler: Fix tracing of expression operators.
This hunk should have been in d25486fba4.
2014-10-16 21:23:41 +09:00
Matteo Bruni aa167f92d7 d3dcompiler: Free the relative addressing data of destination registers (Valgrind). 2014-08-26 16:44:47 +02:00
Matteo Bruni e404d1ed86 d3dcompiler/tests: Free the Direct3D9 object (Valgrind). 2014-08-26 16:44:45 +02:00
Matteo Bruni 67a6caa1c1 d3dcompiler/tests: Add a test for an include path containing '/'. 2014-08-25 22:03:19 +02:00
Matteo Bruni 342eec7f7d d3dcompiler/tests: Add a couple more checks for parent data values. 2014-06-25 11:36:21 +02:00
Matteo Bruni c37714342e d3dcompiler: add_func_parameter is only used in hlsl.y. 2014-05-02 17:15:09 +02:00
Matteo Bruni d25486fba4 d3dcompiler: Pre/post increment/decrement operators are unary. 2014-05-02 17:15:05 +02:00
Matteo Bruni 89cac9c20d d3dcompiler: Remove a couple of noisy traces. 2014-05-02 17:15:02 +02:00
Henri Verbeet ffc01ec648 d3dcompiler: Make some string arrays const. 2014-05-02 13:45:43 +02:00
Frédéric Delanoy b09833a847 d3dcompiler_43/tests: Use BOOL type where appropriate. 2014-02-24 09:08:03 -06:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Andrey Gusev 1f29734b18 d3dcompiler_43: Fix a typo. 2013-12-02 11:09:07 +01:00
Frédéric Delanoy 27947d2662 d3dcompiler_43: Use BOOL type where appropriate. 2013-11-08 12:46:15 +01:00
Michael Stefaniuc 2f673f2965 d3dcompiler_43/tests: Compile with -D__WINESRC__. 2013-10-17 10:43:48 +02:00
Henri Verbeet cc3cde5124 d3dcompiler: Get rid of the BWRITERDECLUSAGE typedef. 2013-10-04 12:45:24 +02:00
Henri Verbeet 94dece4c0c d3dcompiler: Get rid of the BWRITERSHADER_PARAM_SRCMOD_TYPE typedef. 2013-10-03 12:55:16 +02:00
Henri Verbeet 540054eb3e d3dcompiler: Get rid of the BWRITERSAMPLER_TEXTURE_TYPE typedef. 2013-10-03 12:55:12 +02:00
Henri Verbeet 48a6375dfc d3dcompiler: Get rid of the BWRITERSHADER_PARAM_DSTMOD_TYPE typedef. 2013-10-02 11:05:45 +02:00
Henri Verbeet f67af28261 d3dcompiler: Get rid of the BWRITERVS_RASTOUT_OFFSETS typedef. 2013-10-02 11:05:43 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Henri Verbeet b347554937 d3dcompiler: Get rid of the BWRITERSHADER_PARAM_REGISTER_TYPE typedef. 2013-10-01 10:57:36 +02:00
Henri Verbeet a8aa199c36 d3dcompiler: Get rid of the BWRITERSHADER_INSTRUCTION_OPCODE_TYPE typedef. 2013-10-01 10:57:34 +02:00
Henri Verbeet 1b6e9d245c d3dcompiler: Get rid of the BWRITER_COMPARISON_TYPE typedef. 2013-09-30 20:34:53 +02:00
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