Depth3D icon indicating copy to clipboard operation
Depth3D copied to clipboard

SuperDepth3D.fx initialization error

Open ScottS2017 opened this issue 3 years ago • 1 comments

There's something very strange going on because this is the kind of thing everyone should be facing, but it seems they're not. It can't just be me that the code won't compile as written.

The error message is:

SuperDepth3D.fx (1323, 40) error x3011: Initial value must be a literal expresssion

Opening the file in Sublime reveals the relevant definition: 1321 //Perf Level selection 1322 #define Depth_Boost 1.01 1323 static const float4 Performance_LvL[2] = { float4( 0.5, 0.5125, 0.679, 0.5 ), float4( 1.0, 1.025, 1.425, 1.0) };

If my file isn't corrupted (I downloaded it twice to be sure) and the initialization value is invalid, no one would be able to run SuperDepth3D. Since this isn't the language I work in, and I don't do much with backend, I'm afraid I can't be of much more help other than listing specs:

Win 10 Home, 10.0.19044 Build 19044 (Updated 5 January 2022) Gw2Hook_1_1_0 with the newer d3d9.dll file from Gw2Hook_1_2_0 Guild Wars 2 build 132138 CPU: Ryzen 7 3700X Mobo: Asus Prime X570-Pro 32G DDR4 RTX 3060ti

ScottS2017 avatar Jan 06 '22 10:01 ScottS2017

Been busy, I will download the game. Please link me to gwhook

BlueSkyDefender avatar Jan 12 '22 13:01 BlueSkyDefender