Commit Graph

188 Commits

Author SHA1 Message Date
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
Matteo Bruni 399bde576e d3dx9: Add relative addressing support to the shader assembler. 2010-05-06 14:45:06 +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
Gerald Pfeifer d30629ff74 d3dx9_36: Remove variable nul which is not really used from D3DXVector4Test. 2010-04-26 07:02:11 -05:00
Tony Wasserka 7746136f9a d3dx9: Add tests for D3DXDeclaratorFromFVF. 2010-04-20 18:13:56 +02:00
Tony Wasserka a1945388f5 d3dx9: Add a stubbed D3DXDeclaratorFromFVF. 2010-04-20 18:13:41 +02:00
Christian Costa d862b40aeb d3dx9_36: Check wnd just after CreateWindow. Remove useless wnd check before calling DestroyWindow. 2010-04-15 14:21:07 +02:00
Christian Costa 79b8de1263 d3dx9_36/tests: Move surface tests into surface.c. 2010-04-14 18:00:48 +02:00
Christian Costa 9e67f954f1 d3dx9_36: Add support for 32-bit BGRA in D3DXGetImageInfoFromFileInMemory. 2010-04-12 15:39:57 +02:00
Christian Costa 3a98a6295a d3dx9_36: Implement D3DXGetImageInfoFromFileInMemory using WindowsCodecs (based on work from Tony Wasserka). 2010-04-09 11:42:10 +02:00
Christian Costa 83680cd094 d3dx9_36: Fix indentation. 2010-04-07 18:12:25 +02:00
Christian Costa 5046858528 d3dx9_36: Add stub for D3DXCreateTextureFromFileA. 2010-04-07 18:12:20 +02:00
Christian Costa 36ef502e2f d3dx9_36: Forward D3DXCreateTextureFromFileExW to D3DXCreateTextureFromFileInMemoryEx. 2010-04-07 18:12:05 +02:00
Christian Costa 24b37eaca0 d3dx9_36: Improve FIXMEs and TRACEs for surface. 2010-04-06 14:09:31 +02:00
Christian Costa 7444b682d0 d3dx9_36: Add stub for D3DXCreateBox. 2010-04-06 14:01:06 +02:00
Christian Costa adc1aaf06b d3dx9_36: Add stub for D3DXCheckTextureRequirements. 2010-04-05 16:46:40 +02:00
Alexandre Julliard 4bfc99b86c d3dx9_36: Don't include the bison-generated header from the bison source file. 2010-04-05 15:30:48 +02:00
Christian Costa b3ad91f699 d3dx9_36: Improve FIXMEs and TRACEs for font. 2010-04-02 10:45:28 +02:00
Christian Costa c1f6857636 d3dx9_36: Improve FIXMEs and TRACEs for sprite. 2010-04-02 10:45:25 +02:00
Christian Costa cf2315bd52 d3dx9_36: Implement D3DXCreateLine and add stubbed interface for ID3DXLine + tests. 2010-04-02 10:45:22 +02:00
Christian Costa 60f736af87 d3dx9_36: Add stub for D3DXLoadVolumeFromMemory. 2010-04-01 18:12:27 +02: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