(Solved) Compilation error of ReShade.fxh in DX10
- Fu-Bama
- Topic Author
Less
More
5 years 8 months ago - 5 years 8 months ago #1
by Fu-Bama
(Solved) Compilation error of ReShade.fxh in DX10 was created by Fu-Bama
Far Cry 2 GOG version produces compilation error of ReShade.fxh and DisplayLUT.fx (avaible here github.com/Fubaxiusz/fubax-shaders/blob/...haders/DisplayLUT.fx )
LogFile:
Warning: Spoiler!
21:20:43:759 [05952] | INFO | Initializing crosire's ReShade version '3.4.0.345' (32-bit) built on '2018-06-24 16:12:09' loaded from 'S:\Program Files\Far Cry 2\bin\dxgi.DLL' to 'S:\Program Files\Far Cry 2\bin\farcry2.exe' ...
21:20:43:780 [05952] | INFO | Registering hooks for 'C:\Windows\system32\d3d9.dll' ...
21:20:43:780 [05952] | INFO | > Libraries loaded.
21:20:43:780 [05952] | INFO | > Found 9 match(es). Installing ...
21:20:43:786 [05952] | INFO | Registering hooks for 'C:\Windows\system32\d3d10.dll' ...
21:20:43:786 [05952] | INFO | > Delayed.
21:20:43:786 [05952] | INFO | Registering hooks for 'C:\Windows\system32\d3d10_1.dll' ...
21:20:43:786 [05952] | INFO | > Delayed.
21:20:43:786 [05952] | INFO | Registering hooks for 'C:\Windows\system32\d3d11.dll' ...
21:20:43:786 [05952] | INFO | > Delayed.
21:20:43:786 [05952] | INFO | Registering hooks for 'C:\Windows\system32\dxgi.dll' ...
21:20:43:787 [05952] | INFO | > Delayed until first call to an exported function.
21:20:43:787 [05952] | INFO | Registering hooks for 'C:\Windows\system32\opengl32.dll' ...
21:20:43:787 [05952] | INFO | > Libraries loaded.
21:20:43:787 [05952] | INFO | > Found 360 match(es). Installing ...
21:20:43:796 [05952] | INFO | Registering hooks for 'C:\Windows\system32\user32.dll' ...
21:20:43:796 [05952] | INFO | > Libraries loaded.
21:20:43:796 [05952] | INFO | > Found 13 match(es). Installing ...
21:20:43:802 [05952] | INFO | Registering hooks for 'C:\Windows\system32\ws2_32.dll' ...
21:20:43:802 [05952] | INFO | > Libraries loaded.
21:20:43:802 [05952] | INFO | > Found 8 match(es). Installing ...
21:20:43:813 [05952] | INFO | Initialized.
21:20:43:813 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F894)' ...
21:20:43:813 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:43:813 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F894)' ...
21:20:43:814 [05952] | INFO | Installing export hooks for 'C:\Windows\system32\dxgi.dll' ...
21:20:43:814 [05952] | INFO | > Found 6 match(es). Installing ...
21:20:43:820 [05952] | INFO | Installing delayed hooks for 'C:\Windows\system32\d3d10.dll' (Just loaded via 'LoadLibraryA("d3d10")') ...
21:20:43:821 [05952] | INFO | > Found 2 match(es). Installing ...
21:20:43:826 [05952] | INFO | Installing delayed hooks for 'C:\Windows\system32\d3d11.dll' (Just loaded via 'LoadLibraryA("d3d10")') ...
21:20:43:826 [05952] | INFO | > Found 2 match(es). Installing ...
21:20:43:831 [05952] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018F894)' ...
21:20:43:831 [05952] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
21:20:43:832 [05952] | INFO | Installing delayed hooks for 'C:\Windows\system32\d3d10_1.dll' (Just loaded via 'LoadLibraryW("d3d10_1.dll")') ...
21:20:43:832 [05952] | INFO | > Found 2 match(es). Installing ...
21:20:43:838 [05952] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018F894)' ...
21:20:43:838 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000, 1, 00000000, 0x80000000, 0018F34C, 1, 7, 00000000, 00000000, 0018F360, 00000000, 00000000)' ...
21:20:43:838 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018ED38)' ...
21:20:43:838 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:43:838 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018ED38)' ...
21:20:43:853 [05952] | INFO | > Using feature level 0xa000.
21:20:43:853 [05952] | WARN | Reference count for 'IDXGIDevice1' object 05F84378 is inconsistent: 3, but expected 1.
21:20:43:853 [05952] | WARN | Reference count for 'ID3D11Device' object 0296D028 is inconsistent: 1, but expected 0.
21:20:44:959 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F9DC)' ...
21:20:44:959 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:44:960 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F9DC)' ...
21:20:44:961 [05952] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018F9DC)' ...
21:20:44:962 [05952] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
21:20:44:962 [05952] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018F9DC)' ...
21:20:44:962 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000, 1, 00000000, 0x80000000, 0018F494, 1, 7, 00000000, 00000000, 0018F4A8, 00000000, 00000000)' ...
21:20:44:962 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EE80)' ...
21:20:44:962 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:44:962 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EE80)' ...
21:20:44:976 [05952] | INFO | > Using feature level 0xa000.
21:20:44:976 [05952] | WARN | Reference count for 'IDXGIDevice1' object 029C5B90 is inconsistent: 3, but expected 1.
21:20:44:976 [05952] | WARN | Reference count for 'ID3D11Device' object 0296D5A8 is inconsistent: 1, but expected 0.
21:20:46:034 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018A610)' ...
21:20:46:034 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:46:034 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018A610)' ...
21:20:46:037 [05952] | INFO | Redirecting 'D3D11CreateDevice(060160F8, 0, 00000000, 0, 0018A5F0, 1, 7, 0018A604, 0018A5F8, 00000000)' ...
21:20:46:037 [05952] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
21:20:46:037 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(060160F8, 0, 00000000, 0, 0018A5F0, 1, 7, 00000000, 00000000, 0018A604, 0018A5F8, 00000000)' ...
21:20:46:046 [05952] | INFO | > Using feature level 0xb000.
21:20:46:046 [05952] | WARN | Reference count for 'IDXGIDevice1' object 060D1308 is inconsistent: 2, but expected 1.
21:20:46:054 [05952] | INFO | Redirecting 'Direct3DCreate9(32)' ...
21:20:46:087 [05952] | INFO | Redirecting 'Direct3DCreate9Ex(32, 63822298)' ...
21:20:46:137 [05952] | INFO | Redirecting 'Direct3DCreate9(32)' ...
21:20:46:156 [05952] | INFO | Redirecting 'Direct3DCreate9(31)' ...
21:20:46:195 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 04AA7634)' ...
21:20:46:195 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:46:195 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 04AA7634)' ...
21:20:46:200 [05952] | INFO | Redirecting 'D3D10CreateDevice1(0605FDF8, 0, 00000000, 0x1, 41216, 32, 04AA763C)' ...
21:20:46:200 [05952] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
21:20:46:200 [05952] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(0605FDF8, 0, 00000000, 0x1, 0xa100, 32, 00000000, 00000000, 04AA763C)' ...
21:20:46:200 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(0605FDF8, 0, 00000000, 0x80000001, 0018F21C, 1, 7, 00000000, 00000000, 0018F230, 00000000, 00000000)' ...
21:20:46:211 [05952] | INFO | > Using feature level 0xa100.
21:20:46:211 [05952] | WARN | Reference count for 'IDXGIDevice1' object 02A1B970 is inconsistent: 3, but expected 1.
21:20:46:211 [05952] | WARN | Reference count for 'ID3D11Device' object 0296D1A8 is inconsistent: 1, but expected 0.
21:20:46:211 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EE84)' ...
21:20:46:211 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:46:211 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EE84)' ...
21:20:46:214 [05952] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018EE84)' ...
21:20:46:214 [05952] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
21:20:46:214 [05952] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018EE84)' ...
21:20:46:215 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000, 1, 00000000, 0x80000000, 0018E93C, 1, 7, 00000000, 00000000, 0018E950, 00000000, 00000000)' ...
21:20:46:215 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E328)' ...
21:20:46:215 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:46:215 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E328)' ...
21:20:46:226 [05952] | INFO | > Using feature level 0xa000.
21:20:46:226 [05952] | WARN | Reference count for 'IDXGIDevice1' object 06040BD8 is inconsistent: 3, but expected 1.
21:20:46:226 [05952] | WARN | Reference count for 'ID3D11Device' object 0296D1A8 is inconsistent: 1, but expected 0.
21:20:47:298 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EFCC)' ...
21:20:47:298 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:47:298 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EFCC)' ...
21:20:47:300 [05952] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018EFCC)' ...
21:20:47:300 [05952] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
21:20:47:300 [05952] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018EFCC)' ...
21:20:47:300 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000, 1, 00000000, 0x80000000, 0018EA84, 1, 7, 00000000, 00000000, 0018EA98, 00000000, 00000000)' ...
21:20:47:300 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E470)' ...
21:20:47:300 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:47:300 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E470)' ...
21:20:47:310 [05952] | INFO | > Using feature level 0xa000.
21:20:47:310 [05952] | WARN | Reference count for 'IDXGIDevice1' object 05F83E18 is inconsistent: 3, but expected 1.
21:20:47:310 [05952] | WARN | Reference count for 'ID3D11Device' object 0296D1A8 is inconsistent: 1, but expected 0.
21:20:48:376 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00189C00)' ...
21:20:48:376 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:48:376 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00189C00)' ...
21:20:48:378 [05952] | INFO | Redirecting 'D3D11CreateDevice(05A9D4E8, 0, 00000000, 0, 00189BE0, 1, 7, 00189BF4, 00189BE8, 00000000)' ...
21:20:48:379 [05952] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
21:20:48:379 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(05A9D4E8, 0, 00000000, 0, 00189BE0, 1, 7, 00000000, 00000000, 00189BF4, 00189BE8, 00000000)' ...
21:20:48:388 [05952] | INFO | > Using feature level 0xb000.
21:20:48:388 [05952] | WARN | Reference count for 'IDXGIDevice1' object 05C333E0 is inconsistent: 2, but expected 1.
21:20:48:396 [05952] | INFO | Redirecting 'Direct3DCreate9(32)' ...
21:20:48:430 [05952] | INFO | Redirecting 'Direct3DCreate9Ex(32, 63822298)' ...
21:20:48:476 [05952] | INFO | Redirecting 'Direct3DCreate9(32)' ...
21:20:48:496 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EEDC)' ...
21:20:48:496 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:48:496 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EEDC)' ...
21:20:48:499 [05952] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018EEDC)' ...
21:20:48:499 [05952] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
21:20:48:499 [05952] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018EEDC)' ...
21:20:48:499 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000, 1, 00000000, 0x80000000, 0018E994, 1, 7, 00000000, 00000000, 0018E9A8, 00000000, 00000000)' ...
21:20:48:499 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E380)' ...
21:20:48:499 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:48:499 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E380)' ...
21:20:48:510 [05952] | INFO | > Using feature level 0xa000.
21:20:48:510 [05952] | WARN | Reference count for 'IDXGIDevice1' object 060BED68 is inconsistent: 3, but expected 1.
21:20:48:510 [05952] | WARN | Reference count for 'ID3D11Device' object 0296D228 is inconsistent: 1, but expected 0.
21:20:49:576 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F024)' ...
21:20:49:576 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:49:576 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F024)' ...
21:20:49:578 [05952] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018F024)' ...
21:20:49:578 [05952] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
21:20:49:578 [05952] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018F024)' ...
21:20:49:578 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000, 1, 00000000, 0x80000000, 0018EADC, 1, 7, 00000000, 00000000, 0018EAF0, 00000000, 00000000)' ...
21:20:49:578 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E4C8)' ...
21:20:49:578 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:49:578 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E4C8)' ...
21:20:49:589 [05952] | INFO | > Using feature level 0xa000.
21:20:49:589 [05952] | WARN | Reference count for 'IDXGIDevice1' object 060BED68 is inconsistent: 3, but expected 1.
21:20:49:589 [05952] | WARN | Reference count for 'ID3D11Device' object 0296D228 is inconsistent: 1, but expected 0.
21:20:50:656 [05952] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00189C50)' ...
21:20:50:656 [05952] | INFO | > Passing on to 'CreateDXGIFactory1':
21:20:50:656 [05952] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00189C50)' ...
21:20:50:658 [05952] | INFO | Redirecting 'D3D11CreateDevice(05C5A1E0, 0, 00000000, 0, 00189C30, 1, 7, 00189C44, 00189C38, 00000000)' ...
21:20:50:658 [05952] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
21:20:50:658 [05952] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(05C5A1E0, 0, 00000000, 0, 00189C30, 1, 7, 00000000, 00000000, 00189C44, 00189C38, 00000000)' ...
21:20:50:667 [05952] | INFO | > Using feature level 0xb000.
21:20:50:667 [05952] | WARN | Reference count for 'IDXGIDevice1' object 06052EE8 is inconsistent: 2, but expected 1.
21:20:50:673 [05952] | INFO | Redirecting 'Direct3DCreate9(32)' ...
21:20:50:704 [05952] | INFO | Redirecting 'Direct3DCreate9Ex(32, 63822298)' ...
21:20:50:751 [05952] | INFO | Redirecting 'Direct3DCreate9(32)' ...
21:20:50:777 [05952] | INFO | Redirecting 'IDXGIFactory::CreateSwapChain(060E7CD0, 060BCDD8, 04AA764C, 04AA7640)' ...
21:20:50:777 [05952] | INFO | > Dumping swap chain description:
21:20:50:777 [05952] | INFO | +-----------------------------------------+-----------------------------------------+
21:20:50:777 [05952] | INFO | | Parameter | Value |
21:20:50:777 [05952] | INFO | +-----------------------------------------+-----------------------------------------+
21:20:50:777 [05952] | INFO | | Width | 1920 |
21:20:50:777 [05952] | INFO | | Height | 1080 |
21:20:50:777 [05952] | INFO | | RefreshRate | 60 1 |
21:20:50:777 [05952] | INFO | | Format | 28 |
21:20:50:777 [05952] | INFO | | ScanlineOrdering | 0 |
21:20:50:777 [05952] | INFO | | Scaling | 0 |
21:20:50:777 [05952] | INFO | | SampleCount | 1 |
21:20:50:777 [05952] | INFO | | SampleQuality | 0 |
21:20:50:777 [05952] | INFO | | BufferUsage | 96 |
21:20:50:777 [05952] | INFO | | BufferCount | 1 |
21:20:50:777 [05952] | INFO | | OutputWindow | 0038053E |
21:20:50:777 [05952] | INFO | | Windowed | FALSE |
21:20:50:777 [05952] | INFO | | SwapEffect | 0 |
21:20:50:777 [05952] | INFO | | Flags | 0x2 |
21:20:50:777 [05952] | INFO | +-----------------------------------------+-----------------------------------------+
21:20:51:426 [05952] | INFO | Recreated runtime environment on runtime 05BCEF38.
21:20:52:185 [03244] | INFO | Redirecting 'IDXGISwapChain::ResizeBuffers(05C55128, 1, 1600, 900, 28, 0x2)' ...
21:20:52:185 [03244] | INFO | Destroyed runtime environment on runtime 05BCEF38.
21:20:52:186 [03244] | INFO | Recreated runtime environment on runtime 05BCEF38.
21:20:52:388 [03244] | INFO | Redirecting 'IDXGISwapChain::ResizeBuffers(05C55128, 1, 1600, 900, 28, 0x2)' ...
21:20:52:388 [03244] | INFO | Destroyed runtime environment on runtime 05BCEF38.
21:20:52:390 [03244] | INFO | Recreated runtime environment on runtime 05BCEF38.
21:20:52:409 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\ArtifactColors.fx' ...
21:20:52:828 [03244] | WARN | > Successfully compiled with warnings:
S:\Program Files\Far Cry 2\bin\Shader@0x061A4040(84,43-82): warning X4008: floating point division by zero
S:\Program Files\Far Cry 2\bin\Shader@0x061A4040(84,43-82): warning X4008: floating point division by zero
S:\Program Files\Far Cry 2\bin\Shader@0x061A4040(84,43-82): warning X4008: floating point division by zero
S:\Program Files\Far Cry 2\bin\Shader@0x061A4040(84,43-82): warning X4008: floating point division by zero
S:\Program Files\Far Cry 2\bin\Shader@0x061A4040(84,43-82): warning X4008: floating point division by zero
21:20:52:834 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\BeforeAfter.fx' ...
21:20:52:855 [03244] | INFO | > Successfully compiled.
21:20:52:868 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Chromakey.fx' ...
21:20:52:877 [03244] | INFO | > Successfully compiled.
21:20:52:902 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Colourfulness.fx' ...
21:20:52:921 [03244] | INFO | > Successfully compiled.
21:20:52:936 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\CrossHair.fx' ...
21:20:52:961 [03244] | INFO | > Successfully compiled.
21:20:52:971 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Cursor.fx' ...
21:20:52:983 [03244] | INFO | > Successfully compiled.
21:20:53:012 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Deband.fx' ...
21:20:53:048 [03244] | INFO | > Successfully compiled.
21:20:53:050 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Depth_Tool.fx' ...
21:20:53:069 [03244] | INFO | > Successfully compiled.
21:20:53:084 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\DisplayLUT.fx' ...
21:20:53:089 [03244] | ERROR | Failed to compile 'D:\***\Dokumenty\reshade-shaders\Shaders\DisplayLUT.fx':
S:\Program Files\Far Cry 2\bin\Shader@0x063826C0(58,9-129): error X3020: dimension of conditional does not match value
D:\JMF\Dokumenty\reshade-shaders\Shaders\ReShade.fxh(66, 6): error: internal shader compilation failed
S:\Program Files\Far Cry 2\bin\Shader@0x063826C0(58,9-129): error X3020: dimension of conditional does not match value
D:\JMF\Dokumenty\reshade-shaders\Shaders\DisplayLUT.fx(30, 8): error: internal shader compilation failed
21:20:53:124 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\FilmicAnamorphSharpen.fx' ...
21:20:53:163 [03244] | INFO | > Successfully compiled.
21:20:53:164 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\FilmicGrade.fx' ...
21:20:53:178 [03244] | INFO | > Successfully compiled.
21:20:53:198 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\FilmicPass.fx' ...
21:20:53:237 [03244] | INFO | > Successfully compiled.
21:20:53:246 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\FilmicSharpen.fx' ...
21:20:53:270 [03244] | INFO | > Successfully compiled.
21:20:53:272 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Interlaced.fx' ...
21:20:53:290 [03244] | INFO | > Successfully compiled.
21:20:53:293 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Letterbox.fx' ...
21:20:53:306 [03244] | INFO | > Successfully compiled.
21:20:53:309 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\LUT.fx' ...
21:20:53:322 [03244] | INFO | > Successfully compiled.
21:20:53:326 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\MotionFocus.fx' ...
21:20:53:494 [03244] | INFO | > Successfully compiled.
21:20:53:500 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\MXAO.fx' ...
21:20:53:686 [03244] | INFO | > Successfully compiled.
21:20:53:691 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\PerfectPerspective.fx' ...
21:20:53:709 [03244] | INFO | > Successfully compiled.
21:20:53:716 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Prism.fx' ...
21:20:53:736 [03244] | INFO | > Successfully compiled.
21:20:53:743 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\RealGrain.fx' ...
21:20:53:768 [03244] | INFO | > Successfully compiled.
21:20:53:774 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\SimpleBloom.fx' ...
21:20:53:803 [03244] | INFO | > Successfully compiled.
21:20:53:807 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\SimpleGrain.fx' ...
21:20:53:823 [03244] | INFO | > Successfully compiled.
21:20:53:826 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\SMAA.fx' ...
21:20:53:979 [03244] | INFO | > Successfully compiled.
21:20:53:983 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\SunsetFilter.fx' ...
21:20:53:997 [03244] | INFO | > Successfully compiled.
21:20:54:001 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Technicolor.fx' ...
21:20:54:011 [03244] | INFO | > Successfully compiled.
21:20:54:018 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\TiltShift.fx' ...
21:20:54:051 [03244] | INFO | > Successfully compiled.
21:20:54:055 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Vibrance.fx' ...
21:20:54:066 [03244] | INFO | > Successfully compiled.
21:20:54:069 [03244] | INFO | Compiling 'D:\***\Dokumenty\reshade-shaders\Shaders\Vignette.fx' ...
21:20:54:096 [03244] | INFO | > Successfully compiled.
21:20:54:096 [03244] | INFO | Loading image files for textures ...
*edit
It seems like DirectX 10 compilator has a problem, that OpenGL hasn't, with conditionals of a vector value, like
texcoord.xy > LutSize.xy ?
texcoord.x > LutSize.x & texcoord.y > LutSize.y ?
*edit No.2
Problem has been fixed
github.com/Fubaxiusz/fubax-shaders/commi...72f5e9eb6a6804172dfa
Last edit: 5 years 8 months ago by Fu-Bama.
Please Log in or Create an account to join the conversation.
- brussell
Less
More
5 years 8 months ago - 5 years 8 months ago #2
by brussell
Replied by brussell on topic (Solved) Compilation error of ReShade.fxh in DX10
Since when does Far Cry 2 work with ReShade > v0.15? I have to try it again.
edit: Nice, it seems to work again since v3.3. Never thought it would ever get fixed.
This should also work for Avatar: The Game, since it uses the same engine (Dunia).
edit: Nice, it seems to work again since v3.3. Never thought it would ever get fixed.
This should also work for Avatar: The Game, since it uses the same engine (Dunia).
Last edit: 5 years 8 months ago by brussell.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
5 years 8 months ago #3
by crosire
Replied by crosire on topic (Solved) Compilation error of ReShade.fxh in DX10
Comparing vectors gives you a bool vector in return. "if" only accepts scalars, so you first need to use one of the "all" or "any" intrinsics to get a scalar bool from the vector.
bool2 compare = texcoord.xy > LutSize.xy;
bool all_components_true = all(compare);
if (all_components_true) { ... }
The following user(s) said Thank You: Fu-Bama
Please Log in or Create an account to join the conversation.
- brussell
Less
More
5 years 8 months ago - 5 years 8 months ago #4
by brussell
Replied by brussell on topic (Solved) Compilation error of ReShade.fxh in DX10
Slightly offtopic, but I'm not able to run Far Cry 2 in DX10 mode with the newest ReShade versions. I get errors in the log, which Fu-Bama doesn't:
Reshade compiles, but the game always reverts to dx9 mode. Any ideas?
(with Reshade v0.19 the dx10 mode worked when setting the ingame option to dx10 and using d3d9.dll, but now it won't anymore)
Warning: Spoiler!
00:09:21:943 [01716] | INFO | Initializing crosire's ReShade version '3.4.0.345' (32-bit) built on '2018-06-24 16:12:09' loaded from 'C:\GOG Games\Far Cry 2 Fortune's Edition\bin\dxgi.DLL' to 'C:\GOG Games\Far Cry 2 Fortune's Edition\bin\farcry2.exe' ...
00:09:21:943 [01716] | INFO | Registering hooks for 'C:\Windows\system32\d3d9.dll' ...
00:09:21:943 [01716] | INFO | > Libraries loaded.
00:09:21:943 [01716] | INFO | > Found 9 match(es). Installing ...
00:09:21:943 [01716] | INFO | Registering hooks for 'C:\Windows\system32\d3d10.dll' ...
00:09:21:943 [01716] | INFO | > Delayed.
00:09:21:943 [01716] | INFO | Registering hooks for 'C:\Windows\system32\d3d10_1.dll' ...
00:09:21:943 [01716] | INFO | > Delayed.
00:09:21:943 [01716] | INFO | Registering hooks for 'C:\Windows\system32\d3d11.dll' ...
00:09:21:943 [01716] | INFO | > Delayed.
00:09:21:943 [01716] | INFO | Registering hooks for 'C:\Windows\system32\dxgi.dll' ...
00:09:21:943 [01716] | INFO | > Delayed until first call to an exported function.
00:09:21:943 [01716] | INFO | Registering hooks for 'C:\Windows\system32\opengl32.dll' ...
00:09:21:943 [01716] | INFO | > Libraries loaded.
00:09:21:943 [01716] | INFO | > Found 360 match(es). Installing ...
00:09:21:943 [01716] | INFO | Registering hooks for 'C:\Windows\system32\user32.dll' ...
00:09:21:943 [01716] | INFO | > Libraries loaded.
00:09:21:943 [01716] | INFO | > Found 13 match(es). Installing ...
00:09:21:959 [01716] | INFO | Registering hooks for 'C:\Windows\system32\ws2_32.dll' ...
00:09:21:959 [01716] | INFO | > Libraries loaded.
00:09:21:959 [01716] | INFO | > Found 8 match(es). Installing ...
00:09:21:959 [01716] | INFO | Initialized.
00:09:21:959 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F894)' ...
00:09:21:959 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:21:959 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F894)' ...
00:09:21:959 [01716] | INFO | Installing export hooks for 'C:\Windows\system32\dxgi.dll' ...
00:09:21:959 [01716] | INFO | > Found 6 match(es). Installing ...
00:09:21:959 [01716] | INFO | Installing delayed hooks for 'C:\Windows\system32\d3d10.dll' (Just loaded via 'LoadLibraryA("d3d10")') ...
00:09:21:959 [01716] | INFO | > Found 2 match(es). Installing ...
00:09:21:959 [01716] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018F894)' ...
00:09:21:959 [01716] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
00:09:21:959 [01716] | INFO | Installing delayed hooks for 'C:\Windows\system32\d3d10_1.dll' (Just loaded via 'LoadLibraryW("d3d10_1.dll")') ...
00:09:21:959 [01716] | INFO | > Found 2 match(es). Installing ...
00:09:21:959 [01716] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018F894)' ...
00:09:21:959 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F5B8)' ...
00:09:21:959 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:21:959 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018F5B8)' ...
00:09:21:974 [01716] | WARN | > 'D3D10CreateDeviceAndSwapChain1' failed with error code 0xffffffff!
00:09:21:974 [01716] | INFO | Installing delayed hooks for 'C:\Windows\system32\d3d11.dll' (Just loaded via 'LoadLibraryA("API-MS-Win-Security-LSALookup-L1-1-0.dll")') ...
00:09:21:974 [01716] | INFO | > Found 2 match(es). Installing ...
00:09:23:082 [01716] | INFO | Redirecting 'Direct3DCreate9(32)' ...
00:09:24:158 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018A2F0)' ...
00:09:24:158 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:24:158 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018A2F0)' ...
00:09:24:174 [01716] | INFO | Redirecting 'D3D11CreateDevice(007EC4E0, 0, 00000000, 0, 0018A2D0, 1, 7, 0018A2E4, 0018A2D8, 00000000)' ...
00:09:24:174 [01716] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
00:09:24:174 [01716] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(007EC4E0, 0, 00000000, 0, 0018A2D0, 1, 7, 00000000, 00000000, 0018A2E4, 0018A2D8, 00000000)' ...
00:09:24:205 [01716] | INFO | > Using feature level 0xb000.
00:09:24:205 [01716] | WARN | Reference count for 'IDXGIDevice1' object 05C59818 is inconsistent: 2, but expected 1.
00:09:24:221 [01716] | INFO | Redirecting 'Direct3DCreate9(32)' ...
00:09:24:283 [01716] | INFO | Redirecting 'Direct3DCreate9Ex(32, 715A2298)' ...
00:09:24:439 [01716] | INFO | Redirecting 'RegisterClassW(0018F9AC)' ...
00:09:24:439 [01716] | INFO | Redirecting 'wglChoosePixelFormat(3A010447, 0018F984)' ...
00:09:24:439 [01716] | INFO | > Dumping pixel format descriptor:
00:09:24:439 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:24:439 [01716] | INFO | | Name | Value |
00:09:24:439 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:24:439 [01716] | INFO | | Flags | 0x25 |
00:09:24:439 [01716] | INFO | | ColorBits | 32 |
00:09:24:439 [01716] | INFO | | DepthBits | 16 |
00:09:24:439 [01716] | INFO | | StencilBits | 0 |
00:09:24:439 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:24:642 [01716] | INFO | > Returned format: 9
00:09:24:642 [01716] | INFO | Redirecting 'wglSetPixelFormat(3A010447, 9, 0018F984)' ...
00:09:24:642 [01716] | INFO | Redirecting 'wglCreateContext(3A010447)' ...
00:09:24:642 [01716] | INFO | > Passing on to 'wglCreateLayerContext' ...
00:09:24:642 [01716] | INFO | Redirecting 'wglCreateLayerContext(3A010447, 0)' ...
00:09:24:642 [01716] | INFO | > Returning OpenGL context: 00010000
00:09:24:642 [01716] | INFO | Redirecting 'wglMakeCurrent(3A010447, 00010000)' ...
00:09:24:782 [01716] | INFO | > Switched to new runtime 05576158.
00:09:24:782 [01716] | INFO | Redirecting 'wglMakeCurrent(00000000, 00000000)' ...
00:09:24:782 [01716] | INFO | > Cleaning up runtime 05576158 ...
00:09:24:782 [01716] | INFO | Redirecting 'wglDeleteContext(00010000)' ...
00:09:24:782 [01716] | INFO | Redirecting 'Direct3DCreate9(31)' ...
00:09:24:798 [01716] | INFO | Redirecting 'Direct3DCreate9(32)' ...
00:09:24:814 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EA64)' ...
00:09:24:814 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:24:814 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EA64)' ...
00:09:24:829 [01716] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018EA64)' ...
00:09:24:829 [01716] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
00:09:24:829 [01716] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018EA64)' ...
00:09:24:829 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E788)' ...
00:09:24:829 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:24:829 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E788)' ...
00:09:24:845 [01716] | WARN | > 'D3D10CreateDeviceAndSwapChain1' failed with error code 0xffffffff!
00:09:25:906 [01716] | INFO | Redirecting 'Direct3DCreate9(32)' ...
00:09:26:966 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 001894C0)' ...
00:09:26:966 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:26:966 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 001894C0)' ...
00:09:26:966 [01716] | INFO | Redirecting 'D3D11CreateDevice(020AD5F8, 0, 00000000, 0, 001894A0, 1, 7, 001894B4, 001894A8, 00000000)' ...
00:09:26:966 [01716] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
00:09:26:966 [01716] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(020AD5F8, 0, 00000000, 0, 001894A0, 1, 7, 00000000, 00000000, 001894B4, 001894A8, 00000000)' ...
00:09:27:013 [01716] | INFO | > Using feature level 0xb000.
00:09:27:013 [01716] | WARN | Reference count for 'IDXGIDevice1' object 05659748 is inconsistent: 2, but expected 1.
00:09:27:029 [01716] | INFO | Redirecting 'Direct3DCreate9(32)' ...
00:09:27:044 [01716] | INFO | Redirecting 'Direct3DCreate9Ex(32, 6E3B2298)' ...
00:09:27:107 [01716] | INFO | Redirecting 'RegisterClassW(0018EB7C)' ...
00:09:27:107 [01716] | INFO | Redirecting 'wglChoosePixelFormat(73010447, 0018EB54)' ...
00:09:27:107 [01716] | INFO | > Dumping pixel format descriptor:
00:09:27:107 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:27:107 [01716] | INFO | | Name | Value |
00:09:27:107 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:27:107 [01716] | INFO | | Flags | 0x25 |
00:09:27:107 [01716] | INFO | | ColorBits | 32 |
00:09:27:107 [01716] | INFO | | DepthBits | 16 |
00:09:27:107 [01716] | INFO | | StencilBits | 0 |
00:09:27:107 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:27:107 [01716] | INFO | > Returned format: 9
00:09:27:107 [01716] | INFO | Redirecting 'wglSetPixelFormat(73010447, 9, 0018EB54)' ...
00:09:27:122 [01716] | INFO | Redirecting 'wglCreateContext(73010447)' ...
00:09:27:122 [01716] | INFO | > Passing on to 'wglCreateLayerContext' ...
00:09:27:122 [01716] | INFO | Redirecting 'wglCreateLayerContext(73010447, 0)' ...
00:09:27:122 [01716] | INFO | > Returning OpenGL context: 00020000
00:09:27:122 [01716] | INFO | Redirecting 'wglMakeCurrent(73010447, 00020000)' ...
00:09:27:138 [01716] | INFO | > Switched to new runtime 056B2630.
00:09:27:138 [01716] | INFO | Redirecting 'wglMakeCurrent(00000000, 00000000)' ...
00:09:27:138 [01716] | INFO | > Cleaning up runtime 056B2630 ...
00:09:27:138 [01716] | INFO | Redirecting 'wglDeleteContext(00020000)' ...
00:09:27:138 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EABC)' ...
00:09:27:138 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:27:138 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018EABC)' ...
00:09:27:169 [01716] | INFO | Redirecting 'D3D10CreateDevice(00000000, 0, 00000000, 0, 29, 0018EABC)' ...
00:09:27:169 [01716] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
00:09:27:169 [01716] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(00000000, 0, 00000000, 0, 0xa000, 32, 00000000, 00000000, 0018EABC)' ...
00:09:27:169 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E7E0)' ...
00:09:27:169 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:27:169 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0018E7E0)' ...
00:09:27:185 [01716] | WARN | > 'D3D10CreateDeviceAndSwapChain1' failed with error code 0xffffffff!
00:09:28:246 [01716] | INFO | Redirecting 'Direct3DCreate9(32)' ...
00:09:29:306 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00189510)' ...
00:09:29:306 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:29:306 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00189510)' ...
00:09:29:322 [01716] | INFO | Redirecting 'D3D11CreateDevice(020AD9C0, 0, 00000000, 0, 001894F0, 1, 7, 00189504, 001894F8, 00000000)' ...
00:09:29:322 [01716] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
00:09:29:322 [01716] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(020AD9C0, 0, 00000000, 0, 001894F0, 1, 7, 00000000, 00000000, 00189504, 001894F8, 00000000)' ...
00:09:29:338 [01716] | INFO | > Using feature level 0xb000.
00:09:29:338 [01716] | WARN | Reference count for 'IDXGIDevice1' object 05659808 is inconsistent: 2, but expected 1.
00:09:29:353 [01716] | INFO | Redirecting 'Direct3DCreate9(32)' ...
00:09:29:384 [01716] | INFO | Redirecting 'Direct3DCreate9Ex(32, 6E3B2298)' ...
00:09:29:447 [01716] | INFO | Redirecting 'RegisterClassW(0018EBD4)' ...
00:09:29:447 [01716] | INFO | Redirecting 'wglChoosePixelFormat(43010423, 0018EBAC)' ...
00:09:29:447 [01716] | INFO | > Dumping pixel format descriptor:
00:09:29:447 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:29:447 [01716] | INFO | | Name | Value |
00:09:29:447 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:29:447 [01716] | INFO | | Flags | 0x25 |
00:09:29:447 [01716] | INFO | | ColorBits | 32 |
00:09:29:447 [01716] | INFO | | DepthBits | 16 |
00:09:29:447 [01716] | INFO | | StencilBits | 0 |
00:09:29:447 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:29:447 [01716] | INFO | > Returned format: 9
00:09:29:447 [01716] | INFO | Redirecting 'wglSetPixelFormat(43010423, 9, 0018EBAC)' ...
00:09:29:447 [01716] | INFO | Redirecting 'wglCreateContext(43010423)' ...
00:09:29:447 [01716] | INFO | > Passing on to 'wglCreateLayerContext' ...
00:09:29:447 [01716] | INFO | Redirecting 'wglCreateLayerContext(43010423, 0)' ...
00:09:29:447 [01716] | INFO | > Returning OpenGL context: 00030000
00:09:29:447 [01716] | INFO | Redirecting 'wglMakeCurrent(43010423, 00030000)' ...
00:09:29:478 [01716] | INFO | > Switched to new runtime 0409E0C8.
00:09:29:478 [01716] | INFO | Redirecting 'wglMakeCurrent(00000000, 00000000)' ...
00:09:29:478 [01716] | INFO | > Cleaning up runtime 0409E0C8 ...
00:09:29:478 [01716] | INFO | Redirecting 'wglDeleteContext(00030000)' ...
00:09:30:554 [01716] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00189BB0)' ...
00:09:30:554 [01716] | INFO | > Passing on to 'CreateDXGIFactory1':
00:09:30:554 [01716] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00189BB0)' ...
00:09:30:586 [01716] | INFO | Redirecting 'D3D11CreateDevice(020B6B28, 0, 00000000, 0, 00189B90, 1, 7, 00189BA4, 00189B98, 00000000)' ...
00:09:30:586 [01716] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
00:09:30:586 [01716] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(020B6B28, 0, 00000000, 0, 00189B90, 1, 7, 00000000, 00000000, 00189BA4, 00189B98, 00000000)' ...
00:09:30:601 [01716] | INFO | > Using feature level 0xb000.
00:09:30:601 [01716] | WARN | Reference count for 'IDXGIDevice1' object 0565A948 is inconsistent: 2, but expected 1.
00:09:30:617 [01716] | INFO | Redirecting 'Direct3DCreate9(32)' ...
00:09:30:648 [01716] | INFO | Redirecting 'Direct3DCreate9Ex(32, 6E972298)' ...
00:09:30:710 [01716] | INFO | Redirecting 'IDirect3D9::CreateDevice(023B07E0, 0, 1, 0005049C, 0x40, 11559110, 180F09F8)' ...
00:09:30:710 [01716] | INFO | > Dumping presentation parameters:
00:09:30:710 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:30:710 [01716] | INFO | | Parameter | Value |
00:09:30:710 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:30:710 [01716] | INFO | | BackBufferWidth | 1920 |
00:09:30:710 [01716] | INFO | | BackBufferHeight | 1080 |
00:09:30:710 [01716] | INFO | | BackBufferFormat | 21 |
00:09:30:710 [01716] | INFO | | BackBufferCount | 0 |
00:09:30:710 [01716] | INFO | | MultiSampleType | 0 |
00:09:30:710 [01716] | INFO | | MultiSampleQuality | 0 |
00:09:30:710 [01716] | INFO | | SwapEffect | 1 |
00:09:30:710 [01716] | INFO | | DeviceWindow | 0005049C |
00:09:30:710 [01716] | INFO | | Windowed | FALSE |
00:09:30:710 [01716] | INFO | | EnableAutoDepthStencil | FALSE |
00:09:30:710 [01716] | INFO | | AutoDepthStencilFormat | 75 |
00:09:30:710 [01716] | INFO | | Flags | 0 |
00:09:30:710 [01716] | INFO | | FullScreen_RefreshRateInHz | 60 |
00:09:30:710 [01716] | INFO | | PresentationInterval | 0x1 |
00:09:30:710 [01716] | INFO | +-----------------------------------------+-----------------------------------------+
00:09:30:820 [01716] | INFO | Recreated runtime environment on runtime 0569D9D8.
00:09:31:114 [01236] | INFO | Compiling 'C:\GOG Games\Far Cry 2 Fortune's Edition\bin\ReShade.fx' ...
00:09:31:884 [01236] | INFO | > Successfully compiled.
00:09:31:884 [01236] | INFO | Loading image files for textures ...
00:09:50:746 [01716] | INFO | Destroyed runtime environment on runtime 0569D9D8.
00:09:50:746 [01716] | WARN | Reference count for 'IDirect3DDevice9' object 05666DF8 is inconsistent: 971, but expected 0.
00:09:50:786 [01716] | INFO | Exiting ...
00:09:50:786 [01716] | INFO | Uninstalling 453 hook(s) ...
00:09:50:786 [01716] | INFO | Exited.
Reshade compiles, but the game always reverts to dx9 mode. Any ideas?
(with Reshade v0.19 the dx10 mode worked when setting the ingame option to dx10 and using d3d9.dll, but now it won't anymore)
Last edit: 5 years 8 months ago by brussell.
Please Log in or Create an account to join the conversation.