Commit Graph

61 Commits

Author SHA1 Message Date
Henri Verbeet 5380572057 d3dx9: Implement loading luminance/alpha data in D3DXLoadSurfaceFromMemory(). 2012-03-09 11:32:06 +01:00
Dylan Smith f5da523aef d3dx9: Generate effect instances from materials for mesh loading. 2011-06-07 18:06:54 +02:00
Marcus Meissner e550c537f3 d3dx9_36: Mark internal symbols as hidden. 2011-05-16 16:35:34 +02:00
Rico Schüller 20dc97296b d3dx9: Parse effect parameter type definition. 2011-04-12 12:50:06 +02:00
Michael Stefaniuc c2bf9a6b79 d3dx9_36: COM cleanup for the ID3DXSprite iface. 2011-01-27 14:15:22 +01:00
Michael Stefaniuc 697a9a1ac5 d3dx9_36: COM cleanup for the ID3DXMesh iface. 2011-01-27 14:15:17 +01:00
Michael Stefaniuc a9065082da d3dx9_36: COM cleanup for the ID3DXMatrixStack iface. 2011-01-27 14:15:13 +01:00
Michael Stefaniuc 7342f34ef7 d3dx9_36: COM cleanup for the ID3DXFont iface. 2011-01-27 14:15:08 +01:00
Michael Stefaniuc 7660526337 d3dx9_36: COM cleanup for the ID3DXBuffer iface. 2011-01-27 14:15:04 +01:00
Matteo Bruni 40d57b70ed d3dx9: Store transform matrix per-sprite. 2010-10-18 11:45:32 +02:00
Matteo Bruni ebbf519b78 d3dx9: Search for a compatible pixel format in D3DXCheckTextureRequirements. 2010-10-18 11:45:21 +02:00
Misha Koshelev af0c074d7b d3dx9_36: Implement D3DXCreateMesh and initial ID3DXMesh methods. 2010-09-21 20:16:16 +02:00
Matteo Bruni 5dcb2e4b7e d3dcompiler: Move shader assembler implementation from d3dx9_36. 2010-08-25 17:34:24 +02:00
Matteo Bruni d567a030ec d3dx9: Shader assembler <= ps_1_3 support. 2010-07-22 10:11:14 +02:00
Matteo Bruni 8ce3ecea0d d3dx9: Add <= ps_1_3 instruction parsing to the shader assembler. 2010-07-22 10:10:59 +02:00
Matteo Bruni bfa3999284 d3dx9: Shader assembler ps_1_4 support. 2010-07-20 16:29:45 +02:00
Matteo Bruni 7c834e30d7 d3dx9: Add ps_1_4 instructions parsing to the shader assembler. 2010-07-20 16:29:45 +02:00
Matteo Bruni 949eca4012 d3dx9: Add shift modifiers parsing to the shader assembler. 2010-07-20 16:29:45 +02:00
Matteo Bruni a5e55c157f d3dx9: Remove unused parameter from get_regname(). 2010-07-19 15:09:59 +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 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