Matteo Bruni
bfa3999284
d3dx9: Shader assembler ps_1_4 support.
2010-07-20 16:29:45 +02:00
Matteo Bruni
d76e3ac9c6
d3dx9: Improve a FIXME.
2010-07-19 15:10:06 +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
b45a17c7b3
d3dx9: Remove stray debug trace.
2010-06-01 17:48:54 +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
5786d3a0c7
d3dx9: Shader assembler ps_2_x support.
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
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
5cc00e82b6
d3dx9: Shader assembler ps_3_0 support.
2010-05-19 16:58:00 +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
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
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
Matteo Bruni
fb3ee6e0a6
d3dx9: Support some more vs_3_0 instructions in the shader assembler.
2010-05-06 14:45:16 +02:00
Matteo Bruni
399bde576e
d3dx9: Add relative addressing support to the shader assembler.
2010-05-06 14:45:06 +02:00
Matteo Bruni
ce3c1dfcb6
d3dx9: Add source register modifiers (sm 2+) support to the shader assembler.
2010-04-28 15:04:40 -05:00
Matteo Bruni
004a30a5c3
d3dx9: Add instruction modifiers (sm 2.0+) support to the shader assembler.
2010-04-28 15:04:40 -05:00
Matteo Bruni
18c6f23a94
d3dx9: Implement a basic bytecode writer.
...
Now the shader assembler is structurally complete and it correctly
assembles one trivial shader program.
2010-03-30 15:52:57 +02:00
Matteo Bruni
95afbeadf5
d3dx9: Implement D3DXAssembleShader function, really basic shader assembler.
...
Currently it only accepts a minimal subset of the syntax (e.g. just an
instruction and two register types supported) and doesn't produce any
real output (i.e. shader bytecode).
2010-03-30 15:52:57 +02:00