Commit Graph

213 Commits

Author SHA1 Message Date
Matteo Bruni
949eca4012 d3dx9: Add shift modifiers parsing to the shader assembler. 2010-07-20 16:29:45 +02:00
Matteo Bruni
4c5954eaa4 d3dx9: Add ps_1_x source register modifiers to the shader assembler. 2010-07-20 16:29:45 +02:00
Misha Koshelev
242b4f3fe8 d3dx9: Add stub and basic test for D3DXCreateSphere. 2010-07-19 15:47:28 +02:00
Matteo Bruni
c2b0f200fa d3dx9: Check dcl input instruction syntax against shader version. 2010-07-19 15:10:16 +02:00
Matteo Bruni
0ea6f7957a d3dx9: Error out on dcl output instruction where not supported. 2010-07-19 15:10:10 +02:00
Matteo Bruni
d76e3ac9c6 d3dx9: Improve a FIXME. 2010-07-19 15:10:06 +02:00
Matteo Bruni
a5e55c157f d3dx9: Remove unused parameter from get_regname(). 2010-07-19 15:09:59 +02:00
David Adam
4771ee2c5f d3dx9_36/test: Fix a copy/paste typo. 2010-07-09 09:52:15 +02:00
Misha Koshelev
cd72aef038 d3dx9: Test penultimate declaration element in D3DXDeclaratorFromFVFTest. 2010-07-07 17:38:15 +02:00
Francois Gouget
7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Francois Gouget
3133b71e92 d3dx9_36: Make assemble_shader() static. 2010-06-24 10:34:40 +02:00
Matteo Bruni
5a5844d458 d3dx9: Disallow sampler declarations where not supported. 2010-06-10 17:17:57 +02:00
Matteo Bruni
a74978dfef d3dx9: Check register type in dcl input instruction. 2010-06-10 17:17:57 +02:00
Matteo Bruni
5bb403ceb2 d3dx9: Allow sampler declaration without sampler type. 2010-06-10 17:17:57 +02:00
Matteo Bruni
2fa119f765 d3dx9: Accept texture coordinate registers in dcl instruction. 2010-06-09 20:20:58 +02:00
Matteo Bruni
00951f84ed d3dx9: Support ps_2_0-style dcl instruction in the shader assembler. 2010-06-09 20:20:58 +02:00
Matteo Bruni
9a8ffc916c d3dx9: Mark builtin compatibility declarations in the shader assembler.
This way we can output declarations in the bytecode without polluting
them with the builtin ones.
2010-06-09 20:20:58 +02:00
Matteo Bruni
8094c5563e d3dx9: Allow D3DXAssembleShader calls with NULL parameters. 2010-06-07 13:52:39 +02:00
Matteo Bruni
bc42217401 d3dx9: Make D3DXCompileShader stub more verbose. 2010-06-01 17:48:59 +02:00
Matteo Bruni
b45a17c7b3 d3dx9: Remove stray debug trace. 2010-06-01 17:48:54 +02:00
Matteo Bruni
a262fde88c d3dx9: Fix get_regname debug function. 2010-06-01 17:48:50 +02:00
Matteo Bruni
25d4fe6817 d3dx9: Allow modifiers on the ps dcl sampler instruction. 2010-05-31 16:43:49 +02:00
Matteo Bruni
7de630ef2f d3dx9: Allow modifiers on the ps dcl input instruction. 2010-05-31 16:43:46 +02:00
Matteo Bruni
913278c5cb d3dx9: Shader assembler vs_1_0 and vs_1_1 support. 2010-05-27 14:46:42 +02:00
Marcus Meissner
41809d5833 d3dx9_36: Fixed off by 1 in the usage_idx check (Coverity). 2010-05-26 10:11:01 +02:00
Matteo Bruni
084d5f1f6c d3dx9: Stricter checks for relative addressing in the shader assembler. 2010-05-25 12:13:24 +02:00
Matteo Bruni
5786d3a0c7 d3dx9: Shader assembler ps_2_x support. 2010-05-21 18:58:05 +02:00
Matteo Bruni
ce3e846f3b d3dx9: Add some more tests on register number checking. 2010-05-21 18:58:05 +02:00
Matteo Bruni
5050f7c8d2 d3dx9: Shader assembler vs_2_x support. 2010-05-21 18:58:05 +02:00
Matteo Bruni
961db7964d d3dx9: Check for oCx register number. 2010-05-21 18:58:04 +02:00
Matteo Bruni
a9118ba171 d3dx9: Use separate opcodes for TEXLDP and TEXLDB.
There is no reason we have to strictly follow D3D bytecode format in our
intermediate representation.
2010-05-21 18:58:04 +02:00
Matteo Bruni
1d3f462fef d3dx9: Add missing texkill instruction parsing. 2010-05-21 18:58:04 +02:00
Matteo Bruni
5cc00e82b6 d3dx9: Shader assembler ps_3_0 support. 2010-05-19 16:58:00 +02:00
Matteo Bruni
abb489b29d d3dx9: Add ps_3_0 instructions parsing to the shader assembler. 2010-05-19 16:58:00 +02:00
Matteo Bruni
c1f7faca45 d3dx9: Add some version-specific checks in the shader assembler. 2010-05-18 18:42:09 +02:00
Owen Rudge
00eb092e4d d3dx9: Implement CreateEffectFromFile/Resource functions. 2010-05-18 08:47:38 +02:00
Owen Rudge
b3523a447c d3dx9: Implement D3DXCreateEffectCompilerFromFile/Resource. 2010-05-18 08:47:35 +02:00
Matteo Bruni
1371e71f61 d3dx9: Add DEFB instruction support in the shader assembler.
This completes vs_3_0 assembler language support.
2010-05-17 12:42:32 +02:00
Matteo Bruni
fa44f242b5 d3dx9: Add DEFI instruction support in the shader assembler. 2010-05-17 12:42:32 +02:00
Matteo Bruni
dc1fa014ac d3dx9: Add DEF instruction support in the shader assembler. 2010-05-17 12:42:32 +02:00
Octavian Voicu
8921d8c730 d3dx9_36: Export D3DXCreateEffectEx stub. 2010-05-17 12:42:32 +02:00
Matteo Bruni
745b5fe8f1 d3dx9: Add sampler dcl instruction support to the shader assembler. 2010-05-13 19:44:13 +02:00
Matteo Bruni
6cbd511475 d3dx9: Add input dcl instruction support to the shader assembler. 2010-05-13 19:44:08 +02:00
Matteo Bruni
efec8bb361 d3dx9: Complete output dcl instruction support. 2010-05-13 19:44:01 +02:00
Matteo Bruni
b627d13ea8 d3dx9: Add output dcl instruction partial support to the shader assembler. 2010-05-13 19:43:55 +02:00
Matteo Bruni
9847d28753 d3dx9: Add predicate support to the shader assembler. 2010-05-12 14:13:15 +02:00
Matteo Bruni
93b2648c49 d3dx9: Add other flow control instructions in the shader assembler. 2010-05-12 14:13:15 +02:00
Matteo Bruni
25c929ab61 d3dx9: Support some flow control instructions in the shader assembler. 2010-05-12 14:13:15 +02:00
Gerald Pfeifer
c45c226de4 d3dx9_36/tests: Remove variable scaling which is not really used from D3DXMatrixTest. 2010-05-10 10:17:14 +02:00
Matteo Bruni
fb3ee6e0a6 d3dx9: Support some more vs_3_0 instructions in the shader assembler. 2010-05-06 14:45:16 +02:00