Welcome, Guest.
Username: Password: Remember me

TOPIC: Compile errors? Mastereffect

Compile errors? Mastereffect 2 years 1 week ago #1

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
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
Are you updated to the latest AMD drivers? Does this happen with all effects in MasterEffect turned off ("USE_..." set to 0 inside the fx)?
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 =)
Cheers, crosire =)
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #3

Hi please read my post again. I disabled everything.

Tracelog:
bpaste.net/raw/9d2d8c9faefa
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
"turning shaders off" can mean a lot of things =), pressing scrolllock to disable their rendering (which is what I thought you meant), removing the shader file, etc.
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.
Cheers, crosire =)
Last Edit: 2 years 1 week ago by crosire.
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #5

Sorry about it I was lazy. Here:
bpaste.net/raw/6688d781a434
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #6

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
This is still not MasterEffect. It is still the example shader. Has to go to "D:\TODELETE\ReShade.fx".
Cheers, crosire =)
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #7

So it was PeaZip being stupid. (still doesn't work, just peazip didn't overwrite the .fx file)

bpaste.net/raw/9fa646c36cca
Last Edit: 2 years 1 week ago by f94585.
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #8

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
Strange, strange, strange: =)

ERROR: 0:6: 'textureOffset' : no matching overloaded function found (using implicit conversion)
Error in line 6:
vec4 _textureBias(sampler2D s, vec4 c) { return textureOffset(s, c.xy, ivec2(0), c.w); }
Aha. So the calling signature looks like this: "textureOffset(sampler2D (s), vec2 (c.xy), ivec2 (ivec2(0)), float (c.w))". The driver says it cannot find an overload matching that signature. Let's check that: www.opengl.org/sdk/docs/man/html/textureOffset.xhtml:
gvec4 textureOffset(
	gsampler2D sampler,
	vec2 P,
	ivec2 offset,
	[float bias]);
Funny how that matches that signature a 100%. So the code ReShade generated there is correct and spec conform. Your driver on the other hand is not.
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?
Cheers, crosire =)
Last Edit: 2 years 1 week ago by crosire.
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #9

Please read, carefully, my original post. I am on an Intel HD4000 on an i5-4430.]\

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.
Last Edit: 2 years 1 week ago by f94585.
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #10

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
Oh. I read that "HD4000" thing as a AMD Radeon HD 4000 series card, not an Intel HD 4000, sorry (please be a bit more specific in such situations, I'm no mind reader. Also, I don't see where you are naming your driver version there, which is what I was actually asking for =P).
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.
Cheers, crosire =)
Last Edit: 2 years 1 week ago by crosire.
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #11

Hey, thanks. So I installed the latest version suggested by the intel driver updater (15). Ran the installer, checked the driver version and it says it's version 10 of the graphics driver:


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.
Last Edit: 2 years 1 week ago by f94585.
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #12

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
Alright. Well I guess that star means there are some limitations and stuff they don't support, which apparently includes biased texture sampling (which is the reason for that compiler error, it's only a single error, the rest are just followups of the first).
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).
Cheers, crosire =)
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 1 week ago #13

software.intel.com/sites/default/files/m...aphics-dev-guide.pdf

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 ^^
Last Edit: 2 years 1 week ago by f94585.
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 6 days ago #14

How is that Intel workaround going? The game has it's own shaders now, so ReShade doesn't make the screen go black. Here's the latest tracelog(though I assume nothing changed):
bpaste.net/raw/c0f04927f077
Last Edit: 2 years 6 days ago by f94585.
The administrator has disabled public write access.

Compile errors? Mastereffect 2 years 3 days ago #15

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
Removed the "tex2Dbias" function from 0.15.0, so that should be fixed there. Also reported this to Intel, so to have a chance they get their driver fixed and I can include it again.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: Wicked Sick

Compile errors? Mastereffect 2 years 2 days ago #16

Right, I'll be waiting for the release. Thanks! Pretty good work ;)
Last Edit: 2 years 2 days ago by f94585.
The administrator has disabled public write access.