Commit Graph

41 Commits

Author SHA1 Message Date
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
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 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
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 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
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 5f934aca62 d3dx9: Support all the remaining register types in the shader assembler. 2010-05-06 14:44:57 +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 9019267bfa d3dx9: Add swizzle and writemask 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
Matteo Bruni 7545416133 d3dx9: Partial implementation of D3DXAssembleShader function.
This only executes the preprocessing pass. No parsing of the shader yet.
2010-03-30 15:52:56 +02:00
Tony Wasserka 56e86b3df1 d3dx9: Implement converting and copying ARGB surface data in D3DXLoadSurfaceFromMemory. 2009-10-16 17:32:37 +02:00
David Adam d1c2d2a4f8 d3dx9: Merge d3dx8 math into d3dx9. 2009-07-13 10:53:15 +02:00
David Adam de5090c51c d3dx9: Merge d3dx8 core into d3dx9. 2009-07-13 10:51:26 +02:00
Tony Wasserka 5dd6371345 d3dx9: Implement ID3DXFont_GetTextMetrics. 2009-06-24 11:31:49 +02:00
Tony Wasserka 9733856f90 d3dx9: Implement ID3DXFont_GetDC. 2009-06-24 11:31:42 +02:00
Tony Wasserka 05843d4770 d3dx9: Implement ID3DXFont_GetDesc. 2009-06-24 11:31:09 +02:00
Tony Wasserka e36028b4df d3dx9: Implement ID3DXFont_GetDevice. 2009-06-24 11:31:02 +02:00
Tony Wasserka f193889815 d3dx9: Redirect D3DXGetImageInfo functions to the FromFileInMemory variant. 2009-06-02 12:03:08 +02:00
Tony Wasserka 32d2be575e d3dx9: Add utility functions for loading files and resources into memory. 2009-06-02 12:02:16 +02:00
Tony Wasserka 6fae43c0c8 d3dx9: Implement ID3DXSprite_Begin/End. 2008-11-10 13:27:41 +01:00
Tony Wasserka edae5d545e d3dx9: Implement ID3DXSprite_Draw. 2008-11-07 11:43:47 +01:00
Tony Wasserka d0fd93ef92 d3dx9: Implement D3DXCreateSprite. 2008-11-07 11:43:07 +01:00
Tony Wasserka 112effb160 d3dx9: Add stubs for the ID3DXSprite functions. 2008-07-30 12:43:51 +02:00
Tony Wasserka e84b8b23f8 d3dx9: Add stubs for the ID3DXFont functions. 2008-03-15 11:06:13 +01:00