Rico Schüller
a7df4958ab
d3dx9: Use the variable instead of the type in HeapAlloc().
2011-09-16 17:54:00 +02:00
Rico Schüller
7cfdaedd3e
d3dx9: Use the original bytecode in D3DXGetShaderSamplers() instead of using a constant table.
2011-09-16 17:53:56 +02:00
Alexandre Julliard
5f484df06c
Revert "d3dx9_36: Improved constant table handle support."
...
This reverts commit 48d03555a7
.
It wasn't supposed to be committed.
2011-07-18 21:45:13 +02:00
Rico Schüller
c42ee0339a
d3dx9: Implement D3DXGetShaderSamplers().
2011-07-18 16:23:29 +02:00
Travis Athougies
48d03555a7
d3dx9_36: Improved constant table handle support.
2011-07-18 16:23:28 +02:00
Travis Athougies
c55caea1b3
d3dx9_36: Separate calculation of Bytes.
2011-07-18 16:23:28 +02:00
Francois Gouget
bdadc5d056
d3dx9_36: Add a trailing '\n' to some TRACE() calls.
2011-06-27 13:09:47 -05:00
Francois Gouget
71e41b81dd
d3dx9_36: Fix compilation on systems that don't support nameless structs/unions.
2011-06-27 13:09:21 -05:00
Travis Athougies
a76ac0a894
d3dx9_36: Implemented support for samplers in ID3DXConstantTable.
2011-06-23 09:47:34 +02:00
Travis Athougies
4a412c1b83
d3dx9_36: Implemented ID3DXConstantTable_SetMatrix and ID3DXConstantTable_SetMatrixArray.
2011-06-22 16:13:51 +02:00
Travis Athougies
9c138a182a
d3dx9_36: Implemented ID3DXConstantTable_SetVector and ID3DXConstantTable_SetVectorArray.
2011-06-22 16:13:51 +02:00
Travis Athougies
73272d1664
d3dx9_36: Implemented ID3DXConstantTable_SetIntArray and ID3DXConstantTable_SetInt.
2011-06-22 16:13:51 +02:00
Travis Athougies
3fdcce1863
d3dx9_36: Implemented ID3DXConstantTable_SetFloatArray and ID3DXConstantTable_SetFloat.
2011-06-22 16:13:51 +02:00
Michael Stefaniuc
c84b8dbd3e
d3dx9_36: COM cleanup for the ID3DXInclude iface.
2011-01-27 14:14:59 +01:00
Michael Stefaniuc
303f84c409
d3dx9_36: Use an iface instead of an vtbl pointer in ID3DXConstantTableImpl.
2010-12-21 15:49:30 +01:00
Travis Athougies
ca7405a9a1
d3dx9_36: Improved constant table parsing.
2010-12-02 12:47:42 +01:00
Christian Costa
128cf64371
d3dx9: Constant table parsing foundations.
2010-10-13 12:03:05 +02:00
Joris Huizer
5815b63979
d3dx9_36: D3DXPreprocessShaderFromFileW: remove unneeded code.
2010-09-14 15:33:54 -05:00
Matteo Bruni
8d7a0d5027
d3dx9: D3DXPreprocessShader implementation with tests.
2010-09-13 14:43:53 -05:00
Matteo Bruni
d6ead897e2
d3dx9: Fix D3DXCompileShaderFromFileW.
2010-09-08 19:54:14 +02:00
Matteo Bruni
5a5af75f04
d3dx9: Implement D3DXCompileShaderFromResource.
2010-09-02 18:05:23 +02:00
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