Compile errors? Mastereffect
- f94585
- Topic Author
18/02/2015 15:26:49,536 [19900] | INFO | Initializing Crosire's ReShade version '0.14.0.684' built on '2015-01-31 19:57:10' loaded from "D:\TODELETE\OPENGL32.DLL" to "D:\TODELETE\iceball.exe" ...
18/02/2015 15:26:49,560 [19900] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
18/02/2015 15:26:49,561 [19900] | INFO | > Delayed.
18/02/2015 15:26:49,561 [19900] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
18/02/2015 15:26:49,561 [19900] | INFO | > Delayed.
18/02/2015 15:26:49,561 [19900] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
18/02/2015 15:26:49,561 [19900] | INFO | > Delayed.
18/02/2015 15:26:49,561 [19900] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
18/02/2015 15:26:49,561 [19900] | INFO | > Delayed.
18/02/2015 15:26:49,561 [19900] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
18/02/2015 15:26:49,561 [19900] | INFO | > Delayed.
18/02/2015 15:26:49,561 [19900] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
18/02/2015 15:26:49,561 [19900] | INFO | > Delayed.
18/02/2015 15:26:49,561 [19900] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
18/02/2015 15:26:49,561 [19900] | INFO | > Delayed.
18/02/2015 15:26:49,561 [19900] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
18/02/2015 15:26:49,561 [19900] | INFO | > Libraries loaded.
18/02/2015 15:26:49,570 [19900] | INFO | > Found 4 match(es). Installing ...
18/02/2015 15:26:49,621 [19900] | INFO | > Installed 4 hook(s).
18/02/2015 15:26:49,621 [19900] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
18/02/2015 15:26:49,621 [19900] | INFO | > Libraries loaded.
18/02/2015 15:26:49,623 [19900] | INFO | > Found 8 match(es). Installing ...
18/02/2015 15:26:49,727 [19900] | INFO | > Installed 8 hook(s).
18/02/2015 15:26:49,728 [19900] | INFO | Initialized.
18/02/2015 15:26:49,728 [19900] | INFO | Installing delayed hooks for "C:\Windows\system32\opengl32.dll" ...
18/02/2015 15:26:49,757 [19900] | INFO | > Found 360 match(es). Installing ...
18/02/2015 15:26:49,757 [19900] | INFO | > Installed 360 hook(s).
18/02/2015 15:26:49,758 [19900] | INFO | Redirecting 'RegisterClassA(0028EDC8)' ...
18/02/2015 15:26:50,073 [19900] | INFO | Redirecting 'wglChoosePixelFormat(E0012C1D, 00CE353C)' ...
18/02/2015 15:26:50,080 [19900] | INFO | Redirecting 'wglSetPixelFormat(E0012C1D, 5, 00CE353C)' ...
18/02/2015 15:26:50,080 [19900] | INFO | Redirecting 'wglCreateContext(E0012C1D)' ...
18/02/2015 15:26:50,095 [19900] | INFO | Redirecting 'wglMakeCurrent(E0012C1D, 00010000)' ...
18/02/2015 15:26:50,452 [19900] | INFO | > Switched to new runtime 04DE6D28.
18/02/2015 15:26:50,457 [19900] | INFO | Recreated effect environment on runtime 04DE6D28.
18/02/2015 15:26:50,472 [19900] | INFO | Redirecting 'wglChoosePixelFormatARB(E0012C1D, 0028F31C, 0028F42C, 1, 0028F2AC, 0028F2A8)' ...
18/02/2015 15:26:50,472 [19900] | INFO | Redirecting 'wglMakeCurrent(00000000, 00000000)' ...
18/02/2015 15:26:50,472 [19900] | INFO | > Cleaning up runtime 04DE6D28 ...
18/02/2015 15:26:50,472 [19900] | INFO | Redirecting 'wglDeleteContext(00010000)' ...
18/02/2015 15:26:50,475 [19900] | INFO | Redirecting 'wglSetPixelFormat(05011490, 22, 00CE353C)' ...
18/02/2015 15:26:50,475 [19900] | INFO | Redirecting 'wglCreateContext(05011490)' ...
18/02/2015 15:26:50,482 [19900] | INFO | Redirecting 'wglMakeCurrent(05011490, 00020000)' ...
18/02/2015 15:26:50,484 [19900] | INFO | > Switched to new runtime 04E58D98.
18/02/2015 15:26:50,488 [19900] | INFO | Recreated effect environment on runtime 04E58D98.
18/02/2015 15:26:50,488 [19900] | INFO | Redirecting 'wglMakeCurrent(05011490, 00020000)' ...
18/02/2015 15:26:50,694 [19900] | INFO | Detected modification to "D:\TODELETE\stdout.txt". Reloading ...
18/02/2015 15:26:50,760 [19900] | INFO | Loading effect from "D:\TODELETE\ReShade.fx" ...
18/02/2015 15:26:50,793 [19900] | ERROR | Failed to compile effect on context 04E58D98:
ERROR: 0:6: 'textureOffset' : no matching overloaded function found (using implicit conversion)
ERROR: 0:35: 'samplerColor' : undeclared identifier
ERROR: 0:35: 'texture' : no matching overloaded function found (using implicit conversion)
ERROR: 0:35: 'assign' : cannot convert from 'const float' to 'out 4-component vector of float'
ERROR: 0:44: 'samplerTarget' : undeclared identifier
ERROR: 0:44: 'texture' : no matching overloaded function found (using implicit conversion)
ERROR: 0:44: '=' : cannot convert from 'const float' to '4-component vector of float'
ERROR: 0:47: 'samplerDepth' : undeclared identifier
ERROR: 0:47: 'texture' : no matching overloaded function found (using implicit conversion)
ERROR: 0:56: '_param_texcoord' : undeclared identifier
ERROR: 0:56: 'MainVS' : no matching overloaded function found (using implicit conversion)
18/02/2015 15:26:57,657 [19900] | INFO | Redirecting 'wglMakeCurrent(00000000, 00000000)' ...
18/02/2015 15:26:57,657 [19900] | INFO | > Cleaning up runtime 04E58D98 ...
18/02/2015 15:26:57,658 [19900] | INFO | Redirecting 'wglDeleteContext(00020000)' ...
18/02/2015 15:26:57,741 [19900] | INFO | Exiting ...
18/02/2015 15:26:57,741 [19900] | INFO | Uninstalling 414 hook(s) ...
18/02/2015 15:26:58,429 [19900] | INFO | Exited.
HD4000 on an i5-4430
Tried both manual and auto install, tried sweetfx too. Tried turning shaders off, doesn't work.
The game:
github.com/iamgreaser/iceball
Please Log in or Create an account to join the conversation.
- crosire
Could you please upload and post a tracelog (rename the "opengl32.log" to "opengl32.tracelog" and run again), it contains the transcompiled shaders by ReShade, which is where these errors are indexing into. Thanks
Please Log in or Create an account to join the conversation.
- f94585
- Topic Author
Please Log in or Create an account to join the conversation.
- crosire
Anyway, this is not MasterEffect you are compiling there, it's the example shader that comes with standalone ReShade. Where did you put MasterEffect? It should go besides ReShade into the game folder.
Please Log in or Create an account to join the conversation.
- f94585
- Topic Author
bpaste.net/raw/6688d781a434
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- f94585
- Topic Author
bpaste.net/raw/9fa646c36cca
Please Log in or Create an account to join the conversation.
- crosire
ERROR: 0:6: 'textureOffset' : no matching overloaded function found (using implicit conversion)
vec4 _textureBias(sampler2D s, vec4 c) { return textureOffset(s, c.xy, ivec2(0), c.w); }
gvec4 textureOffset(
gsampler2D sampler,
vec2 P,
ivec2 offset,
[float bias]);
Now this works just fine on other AMD drivers, so again, are you running the latest ones? Which version? Does it fully support OpenGL4.3?
Please Log in or Create an account to join the conversation.
- f94585
- Topic Author
SORRY I thought I was running the latest intel driver, but the system restore from a few weeks ago must've reset it. I'll test it tomorrow.
Please Log in or Create an account to join the conversation.
- crosire
And for Intel it's especially important to be on latest drivers. As said, ReShade requires at least OpenGL4.3 (preferably higher) and intels support for it is a bit slow (not sure if they managed to fully do it up until now). So it might not work even with up to date drivers.
Please Log in or Create an account to join the conversation.
- f94585
- Topic Author
Well, maybe it's just a different naming convention for driver package(which includes audio drivers) and graphics package. Nevertheless, as you can see it says it supports oGL 4.3, with an asterisk next to "OpenGL". I don't know what it refers to and couldn't find anything about it.
Here's the tracelog:
bpaste.net/raw/7b17b2d01c98
Maybe Intel GPUs need some extra gl calls to enable 4.3? It could be that some extensions are missing (wouldn't be the first time, eh?) but that doesn't really explain all those errors. But then again my understanding of this all is super surface-level.
Please Log in or Create an account to join the conversation.
- crosire
I can either try and implement a workaround for Intel cards or simply remove support for biased sampling altogether (couldn't find a single shader using it yet, so I guess that's fine).
Please Log in or Create an account to join the conversation.
- f94585
- Topic Author
Here's the dev guide for this GPU("series").
And uh... well here's the GLExtensions Viewer output:
bpaste.net/show/ea82bb9cb9ac
EDIT: Not running vista, running on 8.1/tux dualboot... The author of the program is an spastic surely ^^
Please Log in or Create an account to join the conversation.
- f94585
- Topic Author
bpaste.net/raw/c0f04927f077
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- f94585
- Topic Author
Please Log in or Create an account to join the conversation.