[SOLVED] Depth3D was working fine for L4D2, now refuses to compile?

  • HotChips86
  • Topic Author
More
5 months 3 days ago - 5 months 3 days ago #1 by HotChips86 Depth3D was working fine for L4D2, now refuses to compile? was created by HotChips86
I had this effect installed  and working in Left 4 Dead 2 for several months, and then a couple days ago it started giving errors.

It keeps saying failed to compile due to "maximum constant register index exceeded, target has 224 slots, manual bind to slot c254 failed" and also
"cannot sample from texture that is also used as render target in the same pass"

I tried uninstalling it and reinstalling it, but same error, I also installed the latest version (6.2) but it's still giving the same error. I verified the install files via steam, 1 file was missing, but it got the file and then the install was 100% verified, but this did not change anything.

I can't work out what the issue is and I'm hoping someone might have an idea on what this is and how to fix it?
Bellow is the log file
Thanks 👍

20:57:07:892 [11856] | INFO  | Initializing crosire's ReShade version '6.2.0.1880' (32-bit) loaded from "c:\program files (x86)\steam\steamapps\common\left 4 dead 2\d3d9.dll" into "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2.exe" (0xe19e4830) ...
20:57:07:925 [11856] | INFO  | Registering hooks for "user32.dll" ...
20:57:07:926 [11856] | INFO  | > Libraries loaded.
20:57:07:926 [11856] | INFO  | > Found 14 match(es). Installing ...
20:57:07:959 [11856] | INFO  | Registering hooks for "C:\Windows\system32\dinput.dll" ...
20:57:07:959 [11856] | INFO  | > Delayed.
20:57:07:959 [11856] | INFO  | Registering hooks for "ws2_32.dll" ...
20:57:07:960 [11856] | INFO  | > Libraries loaded.
20:57:07:960 [11856] | INFO  | > Found 8 match(es). Installing ...
20:57:07:992 [11856] | INFO  | Registering hooks for "C:\Windows\system32\d2d1.dll" ...
20:57:07:993 [11856] | INFO  | > Delayed.
20:57:07:993 [11856] | INFO  | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
20:57:07:993 [11856] | INFO  | > Delayed until first call to an exported function.
20:57:07:993 [11856] | INFO  | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
20:57:07:993 [11856] | INFO  | > Delayed.
20:57:07:993 [11856] | INFO  | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
20:57:07:994 [11856] | INFO  | > Delayed.
20:57:07:994 [11856] | INFO  | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
20:57:07:994 [11856] | INFO  | > Delayed.
20:57:07:994 [11856] | INFO  | Registering hooks for "C:\Windows\system32\d3d12.dll" ...
20:57:07:994 [11856] | INFO  | > Delayed.
20:57:07:995 [11856] | INFO  | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
20:57:07:995 [11856] | INFO  | > Delayed.
20:57:07:995 [11856] | INFO  | Registering hooks for "vrclient.dll" ...
20:57:07:995 [11856] | INFO  | > Delayed.
20:57:07:995 [11856] | INFO  | Initialized.
20:57:07:997 [11856] | INFO  | Redirecting Direct3DCreate9(SDKVersion = 32) ...
20:57:08:000 [11856] | INFO  | Installing export hooks for "C:\Windows\system32\d3d9.dll" ...
20:57:08:000 [11856] | INFO  | > Found 11 match(es). Installing ...
20:57:08:105 [11856] | INFO  | Redirecting RegisterClassExW(lpWndClassEx = 00D7DB18 { "SteamWinsockInitFakeClass_1", style = 0 }) ...
20:57:08:232 [14552] | INFO  | Redirecting RegisterClassExW(lpWndClassEx = 0FFAF24C { "Chrome_MessagePumpWindow", style = 0 }) ...
20:57:08:235 [14552] | INFO  | Redirecting RegisterClassExW(lpWndClassEx = 0FFAF320 { "CefBrowserWindow", style = 0x3 }) ...
20:57:08:235 [14552] | INFO  | > Adding 'CS_OWNDC' window class style flag to "CefBrowserWindow".
20:57:08:480 [11856] | INFO  | Redirecting RegisterClassW(lpWndClass = 00D7DA98 { "Valve001", style = 0x28 }) ...
20:57:09:209 [11856] | INFO  | Redirecting IDirect3D9::CreateDevice(this = 02C35088, Adapter = 0, DeviceType = 1, hFocusWindow = 00120724, BehaviorFlags = 0x52, pPresentationParameters = 6C91F06C, ppReturnedDeviceInterface = 00D7DDEC) ...
20:57:09:211 [11856] | INFO  | Searching for add-ons (*.addon, *.addon32) in "c:\program files (x86)\steam\steamapps\common\left 4 dead 2" ...
20:57:09:211 [11856] | INFO  | Dumping presentation parameters:
20:57:09:212 [11856] | INFO  |   +
+
+
20:57:09:212 [11856] | INFO  |   | Parameter                               | Value                                   |
20:57:09:212 [11856] | INFO  |   +
+
+
20:57:09:212 [11856] | INFO  |   | BackBufferWidth                         | 1920                                    |
20:57:09:212 [11856] | INFO  |   | BackBufferHeight                        | 1080                                    |
20:57:09:212 [11856] | INFO  |   | BackBufferFormat                        | D3DFMT_A8R8G8B8                         |
20:57:09:213 [11856] | INFO  |   | BackBufferCount                         | 2                                       |
20:57:09:213 [11856] | INFO  |   | MultiSampleType                         | 4                                       |
20:57:09:213 [11856] | INFO  |   | MultiSampleQuality                      | 0                                       |
20:57:09:213 [11856] | INFO  |   | SwapEffect                              | 1                                       |
20:57:09:213 [11856] | INFO  |   | DeviceWindow                            | 00120724                                |
20:57:09:214 [11856] | INFO  |   | Windowed                                | FALSE                                   |
20:57:09:214 [11856] | INFO  |   | EnableAutoDepthStencil                  | TRUE                                    |
20:57:09:214 [11856] | INFO  |   | AutoDepthStencilFormat                  | 75                                      |
20:57:09:214 [11856] | INFO  |   | Flags                                   | 0                                       |
20:57:09:214 [11856] | INFO  |   | FullScreen_RefreshRateInHz              | 59                                      |
20:57:09:214 [11856] | INFO  |   | PresentationInterval                    | 0x1                                     |
20:57:09:215 [11856] | INFO  |   +
+
+
20:57:09:469 [11856] | INFO  | Running on NVIDIA Quadro P2000 Driver 452.56.
20:57:09:747 [11856] | INFO  | Recreated runtime environment on runtime 196D3D38 ("C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\ReShade.ini").
20:57:09:788 [11856] | INFO  | Redirecting RegisterClassA(lpWndClass = 00D7DF44 { "shaderdx8", style = 0x280 }) ...
20:57:11:081 [14152] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Layer.fx" in 0.002 s.
20:57:11:082 [12048] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Daltonize.fx" in 0.004 s.
20:57:11:082 [12268] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\ASCII.fx" in 0.004 s.
20:57:11:086 [12268] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Border.fx" in 0.002 s.
20:57:11:087 [12048] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Deband.fx" in 0.003 s.
20:57:11:087 [14152] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Levels.fx" in 0.004 s.
20:57:11:088 [12268] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Cartoon.fx" in 0.002 s.
20:57:11:090 [14152] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\LiftGammaGain.fx" in 0.002 s.
20:57:11:091 [12268] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\CAS.fx" in 0.002 s.
20:57:11:093 [12268] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\ChromaticAberration.fx" in 0.002 s.
20:57:11:093 [02688] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\SMAA.fx" in 0.013 s.
20:57:11:093 [14152] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\LumaSharpen.fx" in 0.003 s.
20:57:11:096 [12268] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\ColorMatrix.fx" in 0.002 s.
20:57:11:097 [14152] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\LUT.fx" in 0.002 s.
20:57:11:099 [14152] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Monochrome.fx" in 0.002 s.
20:57:11:099 [02688] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Splitscreen.fx" in 0.004 s.
20:57:11:102 [12268] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\CRT.fx" in 0.005 s.
20:57:11:102 [02688] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Technicolor.fx" in 0.002 s.
20:57:11:105 [02688] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Technicolor2.fx" in 0.002 s.
20:57:11:105 [12268] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Curves.fx" in 0.003 s.
20:57:11:108 [14152] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Nostalgia.fx" in 0.008 s.
20:57:11:111 [14152] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Sepia.fx" in 0.002 s.
20:57:11:113 [02688] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Tonemap.fx" in 0.008 s.
20:57:11:117 [02688] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\UIMask.fx" in 0.002 s.
20:57:11:120 [02688] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Vibrance.fx" in 0.002 s.
20:57:11:123 [02688] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Vignette.fx" in 0.002 s.
20:57:11:574 [12048] | ERROR | Failed to compile "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Depth3D\SuperDepth3D.fx":
C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\Depth3D\SuperDepth3D.fx(5141, 1): error X3020: 'V__SuperDepth3D__texLumN': cannot sample from texture that is also used as render target in the same pass
C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\Shader@0x1E0F5FA0(2,16-31): error X4509: maximum constant register index exceeded, target has 224 slots, manual bind to slot c254 failed

20:57:11:577 [12048] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\DisplayDepth.fx" in 0.002 s.
20:57:11:579 [12048] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\DPX.fx" in 0.001 s.
20:57:11:580 [12048] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\FakeHDR.fx" in 0.001 s.
20:57:11:582 [12048] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\FilmGrain.fx" in 0.001 s.
20:57:11:585 [12048] | INFO  | Successfully compiled "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\reshade-shaders\Shaders\FXAA.fx" in 0.003 s.

 
Last edit: 5 months 3 days ago by HotChips86. Reason: Clarity

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
More
5 months 1 day ago #2 by BlueSkyKnight Replied by BlueSkyKnight on topic Depth3D was working fine for L4D2, now refuses to compile?
Update the Shader and it should work again. The issue was fixed.

Please Log in or Create an account to join the conversation.

  • HotChips86
  • Topic Author
More
4 months 3 weeks ago #3 by HotChips86 Replied by HotChips86 on topic Depth3D was working fine for L4D2, now refuses to compile?
I updated the shader as you suggested and it worked!

I also updated the .Net Framework to the latest 4.8.1 right before I did this, so maybe it was a factor too? But I suspect not, I just thought I'd mention it now, for anyone in the future who might read this post, in case it also helps.

Thankyou very much for your help 👍🏆🍻🍕

Please Log in or Create an account to join the conversation.

  • Eliseflisen
More
2 months 1 week ago #4 by Eliseflisen Replied by Eliseflisen on topic Depth3D was working fine for L4D2, now refuses to compile?
im new to reshade. and i have the same problem nad im wondering how do i update the shader? or do i need to update the whole program for it?

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.