Message #2062616 - Error in shader compilation: info: %s %s %s

Kind #970: Error in shader compilation: info: %s %s %s

Game: MONSTER HUNTER FREEDOM UNITEā„¢ (ULUS10391_1.01)

Error in shader compilation: info: Compile failed.
ERROR: 0:208: '*' :  Wrong operand types. No operation '*' exists that takes a left-hand operand of type 'uniform 2-component vector of float' and a right operand of type 'const int' (and there is no acceptable conversion)
ERROR: 0:329: 'assign' :  cannot convert from 'const int' to 'float'
ERROR: 0:333: 'assign' :  cannot convert from 'const int' to 'float'
ERROR: 0:334: 'assign' :  cannot convert from 'const int' to 'float'
ERROR: 0:408: '*' :  Wrong operand types. No operation '*' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (and there is no acceptable conversion)
ERROR: 0:410: '*' :  Wrong operand types. No operation '*' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (and there is no acceptable conversion)
WARNING: 0:253: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results
1 compilation warnings.

6 compilation errors. No code generated.


postshader
#ifdef GL_ES
precision mediump float;
#endif
//================
//SMOOTHING FILTERS
//================
#define FXAA         1
//================
#define GAUSS_SQ     1
#define Gsmoothing   4
//================
//OTHER FILTERS
//================
#define BLOOM        1         //bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/
#define MIKU         0
#define samples      1
#define quality      0.1
#define Bpower       0.1
//================
#define NATURALC     1
#define ncpower      0.7
//================
#define SHADEBOOST   1         //color correction from GSdx/pcsx2 plugin, initially taken from http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=21057 
#define saturation   1.1
#define brightness   0.95
#define contrast     1
#define red          1
#define green        1
#define blue         1.15
//Shadeboost presets:
#define SEPIA        0
#define GRAYSCALE    0
#define NEGATIVE     0
#define PSPCOLORS    0
//Simple color swap:
#define rgbRBG       0
#define rgbBGR       0
#define rgbBRG       0
#define rgbGRB       0
#define rgbGBR       0
//================
#define GAMMA        1	   	//simple gamma function after reading http://filmicgames.com/archives/299
#define	correction   0.8
//================
#define VIGNETTE     1
#define vsize        2
#define VIpos        0.1
#define deVi         0
//======================================================================================================================================================================
//~packed together, corrected to fit requirements of popular with PPSSPP AMD legacy drivers v11.11(if it works on that, it will on almost anything lol),
// currently meet requirements of GLSL version 100 meaning it will probably run on anything unless the driver is horribly broken
// partially written, ported to glsl where required and tested by LunaMoo (Moon Cow?;p),
// other credits mentioned earlier, any more info / required licenses can be found below.




/*
  FXAA shader, GLSL code adapted from:
  http://horde3d.org/wiki/index.php5?title=Shading_Technique_-_FXAA
  Whitepaper describing the technique:
  http://developer.download.nvidia.com/assets/gamedev/files/sdk/11/FXAA_WhitePaper.pdf
*/

/*
	4xGLSL HqFilter shader, Modified to use in PPSSPP. Grabbed from:
	http://forums.ngemu.com/showthread.php?t=76098

	by guest(r) ([email protected])
	License: GNU-GPL

	Shader notes: looks better with sprite games
*/

#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif

uniform sampler2D sampler0;
uniform vec4 u_time;


//===========
// The inverse of the texture dimensions along X and Y
uniform vec2 u_texelDelta;
uniform vec2 u_pixelDelta;
varying vec2 v_texcoord0;
varying vec4 v_texcoordNC0;
varying vec4 v_texcoordNC1;
varying vec4 v_texcoordNC2;
varying vec4 v_texcoordNC3;
varying vec2 omega;

//===========
//===========
#if(FXAA==1)
vec3 proc

Status: new. 1 hits from 2022-03-22 06:03:53 to 2022-03-22 06:03:53 UTC. Message #2062616.

Individual reports are stored since 2026-11-12, the newest 100 per message; none for this message yet. Older hits only exist as the counters above. Hover a cell for details.