Commit Graph

137 Commits

Author SHA1 Message Date
Matteo Bruni de8f35bba8 d3dx9: Implement D3DXCompileShaderFromFile. 2010-09-02 18:05:23 +02:00
Matteo Bruni 3a6050b6ab d3dx9: Forward D3DXCompileShader to d3dcompiler. 2010-08-30 11:26:28 +02:00
Matteo Bruni 5dcb2e4b7e d3dcompiler: Move shader assembler implementation from d3dx9_36. 2010-08-25 17:34:24 +02:00
Matteo Bruni 1b3376982d d3dx9: Implement D3DXAssembleShaderFromFile. 2010-07-29 17:48:20 +02:00
Matteo Bruni 2a62616ac7 d3dx9: Handle parent_data parameter of D3DXInclude.Open() function. 2010-07-29 17:48:09 +02:00
Paul Chitescu 8068d4ee22 d3dx9_36: Provide an empty error message in the stub D3DXCompileShader. 2010-07-28 16:28:21 +02:00
Francois Gouget 3133b71e92 d3dx9_36: Make assemble_shader() static. 2010-06-24 10:34:40 +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 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
Mikhail Maroukhine adf09ce66e d3dx9_36: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:12:36 +02:00
Christian Costa 978d51b29c d3dx9_36: Remove useless includes. 2010-03-25 10:01:20 +01:00
Francois Gouget 381d73e423 d3dx9_36: Add a trailing '\n' to a TRACE(). 2010-03-22 10:48:23 +01:00
Christian Costa 312aa4996e d3dx9_36: Fix method name. 2010-03-19 13:17:20 +01:00
Christian Costa 441ee39495 d3dx9_36: Add missing GetSamplerIndex method to ID3DXConstantTable. 2010-03-19 13:17:08 +01:00
Christian Costa 70b79445f6 d3dx9_36: Implement ID3DXConstantTableImpl_GetDesc + tests. 2010-03-19 13:16:06 +01:00
Henri Verbeet a8b76781bf d3dx9_36: Not implementing an interface is not an internal error. 2010-03-15 15:55:26 +01:00
Henri Verbeet d85730c8e3 d3dx9_36: ID3DXBuffer is a base interface for ID3DXConstantTable. 2010-03-15 15:55:19 +01:00
Christian Costa c29f186fe0 d3dx9_36: Rename variables in D3DXGetShaderConstantTable(Ex) to match naming convention used in the file. 2010-03-15 13:18:44 +01:00
Christian Costa 6dfe16fc48 d3dx9_36: Avoid dereferencing null pointers in trace (spotted by Paul Vriens). 2010-03-04 12:30:21 +01:00
Christian Costa a942fe6fd7 d3dx9_36: Remove useless HEAP_ZERO_MEMORY flag (spotted by Henri Verbeet). 2010-03-02 11:14:38 +01:00
Christian Costa 4072edc111 d3dx9_36: Find, store and enable retreival of CTAB comment data in shader (based on code from Luis Busquets). 2010-03-01 14:03:00 +01:00
Christian Costa ea50ef8e08 d3dx9_36: Implement D3DXFindShaderComment (based on code from Luis Busquets) + tests. 2010-03-01 13:57:01 +01:00
Christian Costa 66d66f2e22 d3dx9_36: Implement stubbed ID3DXConstantTable interface. 2010-03-01 13:56:14 +01:00
Christian Costa 88b2892a59 d3dx9_36: Add stub for D3DXGetShaderConstantTableEx. Implement D3DXGetShaderConstantTable. 2010-02-22 12:37:17 +01:00
Christian Costa 6b6db0dcb2 d3dx9_36: Improve some stubs. 2010-02-15 12:50:45 +01:00
Christian Costa 8f63f180c9 d3dx9_36: Add stub for D3DXCompileShader. 2010-02-11 14:38:44 +01:00
Matteo Bruni cbcf699856 d3dx9: D3DXAssembleShaderFromResource implementation. 2009-10-19 14:46:55 +02:00
Matteo Bruni c31121dd35 d3dx9: D3DXAssembleShader and D3DXAssembleShaderFromFile stubs. 2009-10-19 14:46:40 +02:00
Henri Verbeet 978b0b4784 d3dx9: Improve a few TRACEs. 2008-08-25 11:39:22 +02:00
Luis C. Busquets Pérez d9d8288508 d3dx9: Avoid assignment in D3DXGetVertexShaderProfile. 2008-08-05 14:09:36 +02:00
Luis C. Busquets Pérez 9b572170da d3dx9: Implementation of D3DXGetVertexShaderProfile. 2008-08-04 15:41:15 +02:00
Luis C. Busquets Pérez 457efd55d0 d3dx9: Implementation of D3DXGetPixelShaderProfile. 2008-08-04 15:40:52 +02:00
Luis Busquets fb70f818b7 d3dx9: Implement D3DXGetShaderVersion(). 2008-07-21 12:57:24 +02:00
Luis Busquets 9a93a49174 d3dx9: Implement D3DXGetShaderSize(). 2008-07-16 19:56:19 +02:00