Commit graph

303 commits

Author SHA1 Message Date
Amine Khaldi
b6990fa77a d3dcompiler_43: Avoid an unintended fall-through. 2011-02-23 19:24:05 +01:00
Rico Schüller
12d4683f05 d3dcompiler: Implement ID3D11ShaderReflectionVariable::GetType(). 2011-02-23 18:21:36 +01:00
Rico Schüller
c647243ed9 d3dcompiler: Implement ID3D11ShaderReflectionType::GetDesc(). 2011-02-23 18:21:34 +01:00
Rico Schüller
3c75a985e3 d3dcompiler: Implement ID3D11ShaderRefleflection::GetVariableByName(). 2011-02-23 18:21:32 +01:00
Rico Schüller
e8c6ea220d d3dcompiler: Implement ID3D11ShaderReflectionVariable::GetBuffer(). 2011-02-22 12:28:59 +01:00
Rico Schüller
49651c105e d3dcompiler: Implement ID3D11ShaderReflectionVariable::GetDesc(). 2011-02-22 12:28:55 +01:00
Rico Schüller
a386f480be d3dcompiler: Implement ID3D11ShaderReflectionConstantBuffer::GetVariableByName(). 2011-02-22 12:28:51 +01:00
Rico Schüller
73f9d9f516 d3dcompiler: Implement ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex(). 2011-02-22 12:28:46 +01:00
Rico Schüller
debfb06148 d3dcompiler: Parse reflection types. 2011-02-22 12:28:37 +01:00
Rico Schüller
0e8d142ea6 d3dcompiler: Parse reflection variables. 2011-02-21 12:58:58 +01:00
Rico Schüller
c6ec32aec7 d3dcompiler: Implement ID3D11ShaderReflectionConstantBuffer::GetDesc(). 2011-02-21 12:58:57 +01:00
Rico Schüller
dd934099e1 d3dcompiler: Implement ID3D11ShaderReflection::GetConstantBufferByName(). 2011-02-21 12:58:55 +01:00
Rico Schüller
a7483f4bcc d3dcompiler: Implement ID3D11ShaderReflection::GetConstantBufferByIndex(). 2011-02-21 12:58:53 +01:00
Rico Schüller
3f6c54f263 d3dcompiler: Parse reflection constant buffers. 2011-02-21 12:58:50 +01:00
Matteo Bruni
005910957b d3dcompiler: Fix initial allocation (Valgrind). 2011-02-21 12:44:19 +01:00
Rico Schüller
9cc0cd39a1 d3dcompiler/tests: Add GetResourceBindingDesc() test. 2011-02-18 14:54:51 +01:00
Rico Schüller
d4798d0580 d3dcompiler/tests: Add reflection ps desc test. 2011-02-17 17:26:18 +01:00
Rico Schüller
c7ed17ac66 d3dcompiler/tests: Add reflection vs desc test. 2011-02-17 17:26:12 +01:00
Rico Schüller
d790be79d7 d3dcompiler/tests: Add reflection test. 2011-02-16 14:26:26 +01:00
Rico Schüller
14d8b51bac d3dcompiler: Add argument check in D3DReflect(). 2011-02-16 14:26:14 +01:00
Rico Schüller
cacff4b3a0 d3dcompiler: Implement ID3DShaderReflection::GetResourceBindingDescByName(). 2011-02-14 12:26:08 +01:00
Rico Schüller
162233eb63 d3dcompiler: Implement ID3DShaderReflection::GetResourceBindingDesc(). 2011-02-14 12:26:04 +01:00
Rico Schüller
5ad824a178 d3dcompiler: Parse bound resources. 2011-02-14 12:26:00 +01:00
Rico Schüller
19fea20963 d3dcompiler: Parse OSG5 in the reflection interface. 2011-02-08 09:04:27 -06:00
Matteo Bruni
dbc8c9c299 d3dcompiler: Include the string terminator in the output blob. 2011-02-07 13:03:39 -06:00
Michael Stefaniuc
629e853894 d3dcompiler_43/tests: COM cleanup for the ID3DInclude iface. 2011-01-26 15:00:13 +01:00
Travis Athougies
ee8b276731 d3dcompiler_43/tests: Added error tests to HLSL test suite. 2011-01-10 10:39:51 +01:00
Travis Athougies
3add55840d d3dcompiler_43/tests: Fixed nonconformant C string literals in HLSL test suite. 2011-01-10 10:39:44 +01:00
Rico Schüller
ba9d311f0d d3dcompiler: Implement ID3D11ReflectionInterface::GetDesc(). 2010-12-28 16:35:40 +01:00
Rico Schüller
127d07a3cc d3dcompiler: Add initial SHDR and SHEX parsing. 2010-12-28 16:35:40 +01:00
Rico Schüller
a2a7000eeb d3dcompiler: Add initial RDEF parsing. 2010-12-28 16:35:40 +01:00
Rico Schüller
97988d63d8 d3dcompiler: Implement ID3D11ShaderReflection::GetPatchConstantParameterDesc(). 2010-12-22 13:00:13 +01:00
Rico Schüller
bf1065ea6d d3dcompiler: Implement ID3D11ShaderReflection::GetOutputParameterDesc(). 2010-12-22 13:00:13 +01:00
Rico Schüller
767e5705a2 d3dcompiler: Implement ID3D11ShaderReflection::GetInputParameterDesc(). 2010-12-22 13:00:12 +01:00
Rico Schüller
bfcd413553 d3dcompiler: Parse PCSG in the reflection interface. 2010-12-22 13:00:12 +01:00
Rico Schüller
ae98cb4659 d3dcompiler: Parse OSGN in the reflection interface. 2010-12-22 13:00:12 +01:00
Rico Schüller
e8ba248920 d3dcompiler: Properly initialize Stream member of D3D11_SIGNATURE_PARAMETER_DESC. 2010-12-22 13:00:11 +01:00
Rico Schüller
f8e4771be4 d3dcompiler: Parse ISGN in the reflection interface. 2010-12-21 15:49:19 +01:00
Rico Schüller
5ad0c856b6 d3dcompiler: Implement ID3D11ShaderReflection::GetConversionInstructionCount(). 2010-12-21 15:49:07 +01:00
Rico Schüller
ff038cbcbe d3dcompiler: Implement ID3D11ShaderReflection::GetMovInstructionCount(). 2010-12-21 15:49:04 +01:00
Rico Schüller
984ed6e9ac d3dcompiler: Parse reflection STAT tag. 2010-12-21 15:49:00 +01:00
Rico Schüller
8f08d38520 d3dcompiler: Use an iface instead of a vtbl pointer in d3dcompiler_shader_reflection. 2010-12-21 15:48:40 +01:00
Rico Schüller
806961ec28 d3dcompiler: Use an iface instead of a vtbl pointer in d3dcompiler_blob. 2010-12-21 15:48:33 +01:00
Rico Schüller
cc6699f09d d3dcompiler: Handle TAG_OSG5 in D3DGetBlobPart(). 2010-12-13 12:43:31 +01:00
Rico Schüller
5b2286a5bd d3dcompiler: Add initial reflection parsing. 2010-12-09 19:27:11 +01:00
Travis Athougies
dbb2d28795 d3dcompiler_43/tests: Added trigonometric function tests to HLSL test suite. 2010-11-18 12:52:38 +01:00
Rico Schüller
a7cf4d16fa d3dcompiler: Add stub ID3D11ShaderReflection interface. 2010-11-02 13:49:30 +01:00
Rico Schüller
02264a7628 d3dcompiler: Add D3DReflect() stub. 2010-11-02 13:41:11 +01:00
Henri Verbeet
362da026b0 d3dcompiler_43/tests: Calculate the probe count. 2010-11-01 13:34:44 +01:00
Henri Verbeet
04632c060d d3dcompiler_43/tests: Make some variables unsigned. 2010-11-01 13:34:43 +01:00
Henri Verbeet
d3dd18646d d3dcompiler_43/tests: Make probe info const. 2010-11-01 13:34:43 +01:00
Travis Athougies
356420b340 d3dcompiler_43/tests: Added float vector tests to HLSL test suite. 2010-10-29 15:23:34 +02:00
Travis Athougies
79f715c3ec d3dcompiler_43/tests: Added tests for conditional expressions to HLSL test suite. 2010-10-29 15:23:31 +02:00
Travis Athougies
9f7ceec91f d3dcompiler_43/tests: Added order of operations test to HLSL test suite. 2010-10-29 15:23:28 +02:00
Travis Athougies
7c56eb8872 d3dcompiler_43/tests: Added HLSL test suite. 2010-10-28 18:18:11 +02:00
Henri Verbeet
1f437a9349 d3dcompiler: Mark some internal symbols hidden. 2010-10-18 19:08:38 +02:00
Henri Verbeet
a141ea4933 d3dcompiler: Merge asmutils.c into utils.c. 2010-10-18 19:08:38 +02:00
Henri Verbeet
72d5b9ddab d3dcompiler: Move some bytecode output functions to bytecodewriter.c. 2010-10-18 19:08:37 +02:00
Henri Verbeet
3db5163fd0 d3dcompiler: Make some variables static. 2010-10-18 19:08:37 +02:00
Henri Verbeet
ac8f8c02a6 d3dcompiler: Remove some stray tabs. 2010-10-15 16:20:06 +02:00
Rico Schüller
83cff120b9 d3dcompiler/tests: Add D3DCOMPILER_STRIP_REFLECTION_DATA test. 2010-10-15 16:17:50 +02:00
Rico Schüller
f4a9a0bb59 d3dcompiler/tests: Add D3DCOMPILER_STRIP_DEBUG_INFO test. 2010-10-15 16:17:50 +02:00
Rico Schüller
060028c8e3 d3dcompiler/tests: Add D3DStripShader() test. 2010-10-15 16:17:50 +02:00
Rico Schüller
beb2cad0fb d3dcompiler/tests: Add D3D_BLOB_XNA_SHADER test. 2010-10-15 16:17:50 +02:00
Rico Schüller
b09da75fb5 d3dcompiler/tests: Add D3D_BLOB_XNA_PREPASS_SHADER test. 2010-10-15 16:17:50 +02:00
Rico Schüller
c5d601c199 d3dcompiler/tests: Add D3D_BLOB_LEGACY_SHADER test. 2010-10-15 16:17:50 +02:00
Rico Schüller
3c12dd345d d3dcompiler/tests: Add D3D_BLOB_DEBUG_INFO test. 2010-10-15 16:17:50 +02:00
Rico Schüller
ed6c221942 d3dcompiler/tests: Add D3D_BLOB_ALL_SIGNATURE_BLOB test. 2010-10-15 16:17:50 +02:00
Rico Schüller
291a3b98a5 d3dcompiler/tests: Add D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB test. 2010-10-15 16:17:50 +02:00
Rico Schüller
7d87a4d42b d3dcompiler/tests: Add D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB test. 2010-10-15 16:17:50 +02:00
Rico Schüller
87344c6726 d3dcompiler/tests: Add D3D_BLOB_OUTPUT_SIGNATURE_BLOB test. 2010-10-15 16:17:50 +02:00
Rico Schüller
1c26d22dc3 d3dcompiler/tests: Add D3D_BLOB_INPUT_SIGNATURE_BLOB test. 2010-10-15 16:17:50 +02:00
Rico Schüller
6628944b7f d3dcompiler/tests: Add D3DGetBlobPart() test. 2010-10-15 16:17:49 +02:00
Matteo Bruni
7c47a9d192 d3dcompiler: Accept dot terminated float immediate values. 2010-10-14 17:54:52 +02:00
Matteo Bruni
422d57e2fc d3dcompiler: Don't store instruction length in DEF opcode in PS 1.x. 2010-10-14 17:54:52 +02:00
Rico Schüller
2c9b24b054 d3dcompiler: Implement D3DStripShader(). 2010-10-13 16:29:46 +02:00
Rico Schüller
a36f51b1b2 d3dcompiler: Add D3D_BLOB_XNA_SHADER to D3DGetBlobPart(). 2010-10-13 16:29:23 +02:00
Rico Schüller
cdfdfe59ee d3dcompiler: Add D3D_BLOB_XNA_PREPASS_SHADER to D3DGetBlobPart(). 2010-10-13 16:29:19 +02:00
Rico Schüller
976b4e96bd d3dcompiler: Add D3D_BLOB_LEGACY_SHADER to D3DGetBlobPart(). 2010-10-13 16:29:14 +02:00
Rico Schüller
7b5e05a99d d3dcompiler: Add D3D_BLOB_ALL_SIGNATURE_BLOB to D3DGetBlobPart(). 2010-10-13 16:29:07 +02:00
Rico Schüller
3cbb72667b d3dcompiler: Add D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB to D3DGetBlobPart(). 2010-10-13 16:28:59 +02:00
Rico Schüller
d52f2b63c0 d3dcompiler: Implement D3DGetDebugInfo(). 2010-10-07 15:58:11 +02:00
Rico Schüller
4467901e31 d3dcompiler: Implement D3DGetInputAndOutputSignatureBlob(). 2010-10-07 15:58:11 +02:00
Rico Schüller
164dcc7973 d3dcompiler: Implement D3DGetOutputSignatureBlob(). 2010-10-07 15:58:11 +02:00
Rico Schüller
5946201d19 d3dcompiler: Implement D3DGetInputSignatureBlob(). 2010-10-07 15:58:11 +02:00
Rico Schüller
ec698dea66 d3dcompiler: Implement D3DGetBlobPart(). 2010-10-07 15:58:11 +02:00
Rico Schüller
033fd44aa1 d3dcompiler: Add D3DGetBlobPart() stub. 2010-10-07 15:58:10 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Matteo Bruni
87f00d34fd d3dcompiler: Add D3DPreprocess tests. 2010-09-13 14:43:42 -05:00
Matteo Bruni
5504395697 d3dcompiler: D3DPreprocess implementation. 2010-09-13 14:43:34 -05:00
Francois Gouget
7d9cd71db7 d3dcompiler_43: Make asmshader_error() and set_rel_reg() static. 2010-09-13 13:26:59 -05:00
Francois Gouget
330520980a d3dcompiler_43: Move asmparser_message() and asmshader_error() up to avoid forward declarations. 2010-09-13 13:26:54 -05:00
Francois Gouget
aaf78f1a0b d3dcompiler_43: Don't use nameless unions in our private structures to avoid trouble with compilers where they are not supported. 2010-08-30 11:26:46 +02:00
Matteo Bruni
390b480356 d3dcompiler: Stub D3DCompile implementation. 2010-08-30 11:26:28 +02:00
Francois Gouget
ea67356998 d3dcompiler_43: Make debug_print_{relarg,swizzle,writemask}() static. 2010-08-26 13:40:29 +02:00
Matteo Bruni
53a15436f8 d3dcompiler: Move D3DAssemble tests from d3dx9_36. 2010-08-25 17:35:19 +02:00
Matteo Bruni
5dcb2e4b7e d3dcompiler: Move shader assembler implementation from d3dx9_36. 2010-08-25 17:34:24 +02:00
Matteo Bruni
7aa026ccf5 d3dcompiler: D3DAssemble stub. 2010-08-25 17:31:59 +02:00
Rico Schüller
5ad7f7b9d3 d3dcompiler: Add D3DCreateBlob() test. 2010-08-20 13:21:37 +02:00
Rico Schüller
fa456a61bc d3dcompiler: Implement ID3DBlob::GetBufferSize(). 2010-08-17 11:42:39 +02:00
Rico Schüller
d889800beb d3dcompiler: Implement ID3DBlob::GetBufferPointer(). 2010-08-17 11:42:39 +02:00
Rico Schüller
d511f18f9e d3dcompiler: Implement D3DCreateBlob(). 2010-08-17 11:42:26 +02:00
Matteo Bruni
70962ee4d8 d3dcompiler_43: Add dll directory. 2010-08-02 15:14:01 +02:00