Emulator Issues #4749
closedBeyond Good & Evil Graphic Critical Error
0%
Description
What is the expected output? What do you see instead?
CRITICAL ERROR
Failed to compile ps (41) : error C1008: undefined variable "ERROR"
//Pixel Shader for TEV stages
//2 TEV stages, 2 texgens, 0 IND stages
uniform sampler2D samp0 : register(s0), samp1 : register(s1), samp2 : register(s2), samp3 : register(s3), samp4 : register(s4), samp5 : register(s5), samp6 : register(s6), samp7 : register(s7);
uniform float4 color[4] : register(c0);
uniform float4 k[4] : register(c4);
uniform float4 alphaRef[1] : register(c8);
uniform float4 texdim[8] : register(c9);
uniform float4 czbias[2] : register(c17);
uniform float4 cindscale[2] : register(c19);
uniform float4 cindmtx[6] : register(c21);
uniform float4 cfog[3] : register(c27);
void main(
out float4 ocol0 : COLOR0,
out float depth : DEPTH,
in float4 rawpos : WPOS,
in float4 colors_0 : COLOR0,
in float4 colors_1 : COLOR1,
in float3 uv0 : TEXCOORD0,
in float3 uv1 : TEXCOORD1,
in float4 clipPos : TEXCOORD2 ) {
float4 c0 = color[1], c1 = color[2], c2 = color[3], prev = float4(0.0f, 0.0f, 0.0f, 0.0f), textemp = float4(0.0f, 0.0f, 0.0f, 0.0f), rastemp = float4(0.0f, 0.0f, 0.0f, 0.0f), konsttemp = float4(0.0f, 0.0f, 0.0f, 0.0f);
float3 comp16 = float3(1.0f, 255.0f, 0.0f), comp24 = float3(1.0f, 255.0f, 255.0f*255.0f);
float4 alphabump=0;
float3 tevcoord;
float2 wrappedcoord, tempcoord;
float4 cc0, cc1, cc2, cprev,crastemp,ckonsttemp;
clipPos = float4(rawpos.x, rawpos.y, clipPos.z, clipPos.w);
uv0.xy = uv0.xy * texdim[0].zw;
uv1.xy = uv1.xy * texdim[1].zw;
rastemp = colors_0.rgba;
crastemp = frac(rastemp * (255.0f/256.0f)) * (256.0f/255.0f);
tevcoord.xy = uv0.xy;
textemp = tex2D(samp0,tevcoord.xy * texdim[0].xy).rgba;
prev.rgb = saturate((textemp.rgb)(crastemp.rgb));
prev.a = saturate(textemp.acrastemp.a);
tevcoord.xy = uv1.xy;
textemp = tex2D(samp1,tevcoord.xy * texdim[1].xy).rgba;
konsttemp = float4(0.25f,0.25f,0.25f, ERROR);
ckonsttemp = frac(konsttemp * (255.0f/256.0f)) * (256.0f/255.0f);
cprev = prev;
prev.rgb = saturate((prev.rgb)+float3(0.0f, 0.0f, 0.0f));
prev.a = saturate(textemp.a+cprev.a*(1.
Did the game ever work correctly (i.e. not have this problem) on an
earlier version of dolphin?
Works perfectly during the 30 first minutes
What steps will reproduce the problem?
When I change of map, in the game. Not all the time.
Or when i launch the game, it's unpredictable.
What version of dolphin are you using (32bit/64bit along with the
version as it appears in the title bar: "R 4779", "R 6403M", "3.0", etc)?
Dolphin : r7683
MAC os Lion
2 GHz Intel Core i7
AMD Radeon HD 6490M 256 MB
5) Please provide any additional information below.
I saw on another topic, some people talking about this fix : LC_ALL=C ./Dolphini don't understand how it works. PLease help !