├── .gitignore
├── BinaryDecompiler
├── BinaryDecompiler.vcxproj
├── BinaryDecompiler.vcxproj.filters
├── BinaryDecompiler.vcxproj.user
├── decode.cpp
├── decodeDX9.cpp
├── include
│ ├── hlslcc.h
│ ├── hlslcc.hpp
│ └── pstdint.h
├── internal_includes
│ ├── debug.h
│ ├── decode.h
│ ├── languages.h
│ ├── reflect.h
│ ├── shaderLimits.h
│ ├── structs.h
│ ├── tokens.h
│ └── tokensDX9.h
└── reflect.cpp
├── D3D_Shaders
├── Assembler.cpp
├── D3D_Shaders.vcxproj
├── D3D_Shaders.vcxproj.filters
├── D3D_Shaders.vcxproj.user
├── Shaders.cpp
├── SignatureParser.cpp
├── stdafx.h
└── targetver.h
├── HLSLDecompiler
├── DecompileHLSL.cpp
├── DecompileHLSL.h
└── cmd_Decompiler
│ ├── ReadMe.txt
│ ├── aaa.dxbc
│ ├── aaa.hlsl
│ ├── aaa.txt
│ ├── cmd_Decompiler.cpp
│ ├── cmd_Decompiler.vcxproj
│ ├── cmd_Decompiler.vcxproj.filters
│ ├── cmd_Decompiler.vcxproj.user
│ ├── crc32c.cpp
│ ├── crc32c.h
│ ├── generated-constants.cpp
│ ├── stdafx.cpp
│ ├── stdafx.h
│ └── targetver.h
├── LICENSE
├── README.md
├── StereovisionHacks.sdf
├── StereovisionHacks.sln
├── StereovisionHacks.v12.suo
├── hlsl_decompiler_wrapper.bat
├── log.h
├── shader.h
├── util.h
├── util_min.h
└── version.h
/.gitignore:
--------------------------------------------------------------------------------
1 | .vs/
2 | x32/
3 | x64/
4 | Debug/
5 | Release/
--------------------------------------------------------------------------------
/BinaryDecompiler/BinaryDecompiler.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Debug
10 | x64
11 |
12 |
13 | Release
14 | Win32
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 | Zip Release
22 | Win32
23 |
24 |
25 | Zip Release
26 | x64
27 |
28 |
29 |
30 | {258D0AD2-B762-41E3-A0C1-CF831D859DA4}
31 | Win32Proj
32 | BinaryDecompiler
33 | 10.0
34 |
35 |
36 |
37 | StaticLibrary
38 | true
39 | v142
40 | Unicode
41 |
42 |
43 | StaticLibrary
44 | true
45 | v142
46 | Unicode
47 |
48 |
49 | StaticLibrary
50 | false
51 | v142
52 | true
53 | Unicode
54 |
55 |
56 | StaticLibrary
57 | false
58 | v142
59 | true
60 | Unicode
61 |
62 |
63 | StaticLibrary
64 | false
65 | v142
66 | true
67 | Unicode
68 |
69 |
70 | StaticLibrary
71 | false
72 | v142
73 | true
74 | Unicode
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 | $(ProjectDir)include;$(VC_IncludePath)
100 | $(SolutionDir)\x32\$(Configuration)\
101 | $(ProjectDir)x32\$(Configuration)\
102 |
103 |
104 | $(ProjectDir)include;$(VC_IncludePath)
105 | $(SolutionDir)x64\$(Configuration)\
106 | $(ProjectDir)x64\$(Configuration)\
107 |
108 |
109 | $(ProjectDir)include;$(VC_IncludePath)
110 | $(SolutionDir)x32\$(Configuration)\
111 | $(ProjectDir)x32\$(Configuration)\
112 |
113 |
114 | $(ProjectDir)include;$(VC_IncludePath)
115 | $(SolutionDir)x64\$(Configuration)\
116 | $(ProjectDir)x64\$(Configuration)\
117 |
118 |
119 | $(ProjectDir)include;$(VC_IncludePath)
120 | $(SolutionDir)x32\$(Configuration)\
121 | $(ProjectDir)x32\$(Configuration)\
122 |
123 |
124 | $(ProjectDir)include;$(VC_IncludePath)
125 | $(SolutionDir)x64\$(Configuration)\
126 | $(ProjectDir)x64\$(Configuration)\
127 |
128 |
129 |
130 | Level3
131 | Disabled
132 | Async
133 | true
134 | MultiThreadedDebug
135 | $(SolutionDir)
136 |
137 |
138 | Windows
139 | true
140 |
141 |
142 |
143 |
144 | Level3
145 | Disabled
146 | MultiThreadedDebug
147 | Async
148 | true
149 | $(SolutionDir)
150 |
151 |
152 | Windows
153 | true
154 |
155 |
156 |
157 |
158 | Level3
159 | MaxSpeed
160 | true
161 | NDEBUG;
162 | Async
163 | false
164 | MultiThreaded
165 | $(SolutionDir)
166 |
167 |
168 | Windows
169 | true
170 | true
171 | true
172 |
173 |
174 |
175 |
176 | Level3
177 | MaxSpeed
178 | true
179 | NDEBUG;
180 | Async
181 | false
182 | MultiThreaded
183 | $(SolutionDir)
184 |
185 |
186 | Windows
187 | true
188 | true
189 | true
190 |
191 |
192 |
193 |
194 | Level3
195 | MaxSpeed
196 | true
197 | NDEBUG;
198 | MultiThreaded
199 | Async
200 | false
201 | $(SolutionDir)
202 |
203 |
204 | Windows
205 | true
206 | true
207 | true
208 |
209 |
210 |
211 |
212 | Level3
213 | MaxSpeed
214 | true
215 | NDEBUG;
216 | MultiThreaded
217 | Async
218 | false
219 | $(SolutionDir)
220 |
221 |
222 | Windows
223 | true
224 | true
225 | true
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
--------------------------------------------------------------------------------
/BinaryDecompiler/BinaryDecompiler.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 | Source Files
23 |
24 |
25 | Source Files
26 |
27 |
28 |
29 |
30 | Header Files
31 |
32 |
33 | Header Files
34 |
35 |
36 | Header Files
37 |
38 |
39 | Header Files
40 |
41 |
42 | Header Files
43 |
44 |
45 | Header Files
46 |
47 |
48 | Header Files
49 |
50 |
51 | Header Files
52 |
53 |
54 | Header Files
55 |
56 |
57 | Header Files
58 |
59 |
60 | Header Files
61 |
62 |
63 | Header Files
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/BinaryDecompiler/BinaryDecompiler.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BinaryDecompiler/include/hlslcc.h:
--------------------------------------------------------------------------------
1 | #ifndef HLSLCC_H_
2 | #define HLSLCC_H_
3 |
4 | #include
5 | #include