Open greglockwood opened 11 years ago
I was initially able to get it working with Firefox 22.0, but not in Chrome or Chrome Canary on Windows.
I have the same problem.
Error: Could not link, max varying:10
precision mediump float;
#define ucol vec4
uniform vec4 ps;
uniform vec4 sz;
uniform float fg;
uniform sampler2D T;
vec2 f;
uniform vec2 s;
uniform ucol N_g;
varying vec4 rv_;
vec4 r;
vec4 _f(){
vec3 v = vec3(floor(ps.z+(ps.x+r.x)*sz.x),floor(ps.w+(ps.y+r.y)*sz.y-sz.z),ps.z+(ps.x+r.z)*sz.x);
vec4 c = vec4((texture2D(T,vec2((fg),0.))));
;
if(f.x<v.x+0.5*sz.x){
vec2 d = vec2(f.x-(v.x+sz.x),f.y-(v.y+0.5*sz.y));
;
if(d.y<0.&&mod(r.w,2.)==1.)return vec4(c);
;
if(d.y>0.&&mod(r.w,4.)>=2.)return vec4(c);
return vec4(c.xyz,sqrt(d.x*d.x+d.y*d.y)>9.?0.:c.w);
;
}
else ;
if(f.x>v.z-0.5*sz.x){
vec2 d = vec2(f.x-(v.z-sz.x),f.y-(v.y+0.5*sz.y));
;
if(d.y<0.&&mod(r.w,8.)>=4.)return vec4(c);
;
if(d.y>0.&&mod(r.w,16.)>=8.)return vec4(c);
return vec4(c.xyz,sqrt(d.x*d.x+d.y*d.y)>9.?0.:c.w);
;
}
return vec4(c);
;
}
void main(void){
r = rv_;
f = vec2(gl_FragCoord.x,s.y-gl_FragCoord.y);
gl_FragColor = _f();
}
On Windows 7 x64 with Chrome Version 29.0.1547.0 dev-m
Same problem here:
Windows 7 x64 with Chrome Version: 30.0.1599.10 beta-m
+1
:+1: Same problem here!
Same Problem, Win 7 ,x86, Chrome Version 29.0.1547.66 m
Same here.
Actually, I can't seem to get Tracegl working at all. I even created a very simple app to test with just an index.html page and a single js file with a simple alert in it. I'm using Chrome v. 29.0.1547.66 on a Windows 7 machine.
I can go to the app with http://localhost:2080, no problem, but I can not get http://localhost:2000 do show me anything but the error:
Uncaught Error: Could not link, max varying:10
precision mediump float;
#define ucol vec4
uniform vec4 ps;
uniform vec4 sz;
uniform float fg;
uniform sampler2D T;
vec2 f;
uniform vec2 s;
uniform ucol N_g;
varying vec4 rv_;
vec4 r;
vec4 _f(){
vec3 v = vec3(floor(ps.z+(ps.x+r.x)*sz.x),floor(ps.w+(ps.y+r.y)*sz.y-sz.z),ps.z+(ps.x+r.z)*sz.x);
vec4 c = vec4((texture2D(T,vec2((fg),0.))));
;
if(f.x<v.x+0.5*sz.x){
vec2 d = vec2(f.x-(v.x+sz.x),f.y-(v.y+0.5*sz.y));
;
if(d.y<0.&&mod(r.w,2.)==1.)return vec4(c);
;
if(d.y>0.&&mod(r.w,4.)>=2.)return vec4(c);
return vec4(c.xyz,sqrt(d.x*d.x+d.y*d.y)>9.?0.:c.w);
;
}
else ;
if(f.x>v.z-0.5*sz.x){
vec2 d = vec2(f.x-(v.z-sz.x),f.y-(v.y+0.5*sz.y));
;
if(d.y<0.&&mod(r.w,8.)>=4.)return vec4(c);
;
if(d.y>0.&&mod(r.w,16.)>=8.)return vec4(c);
return vec4(c.xyz,sqrt(d.x*d.x+d.y*d.y)>9.?0.:c.w);
;
}
return vec4(c);
;
}
void main(void){
r = rv_;
f = vec2(gl_FragCoord.x,s.y-gl_FragCoord.y);
gl_FragColor = _f();
}
I only purchased this today. If I can't get it working then it doesn't even help me solve 1 bug, and therefore is definitely not worth the few cups of coffee it cost me.
I'm getting the same issue. A blank page pops up on Chrome, but it seems tow ork fine with Firefox. Any fixes?
It's been a long time now. Frankly I'm a bit irritated. I bought tracegl only to immediately encounter this bug.
The developer appears to have abandoned us.
I sent an email yesterday, and this is the response I got:
"Hi Ishmael,
Yeah this problem is caused by a fix for other videocards, i have no easy way to detect which type you are to switch. I can try to get you a custom build, let me think about it."
I'll post any information I get on this thread.
+1 on this, having the same issue. Version 33.0.1707.0 dev-m
+1
+1
My work around was to use Firefox
I wouldn't mind having to specify the card explicitly if it can get it working...
+1
+1 here. Macbook pro,
Intel HD Graphics 4000:
Chipset Model: Intel HD Graphics 4000 Type: GPU Bus: Built-In VRAM (Total): 1024 MB Vendor: Intel (0x8086) Device ID: 0x0166 Revision ID: 0x0009 Displays:
+1 AMD Radeon HD 7570M
+1! Uncaught Error: Could not link, max varying:15
Chrome 33 / OSX, Intel HD 4000
Should I assume this issue will remain unresolved? Having the same issue here..
same issue
got it working by workaround of commenting out the exception throw as suggested, and inserting a "return" at top of trace.gl update function
The change from @emnh also worked for me
I am encountering the following error on attempting to connect to a large project using a proxy:
"Could not link, max varying:10".
I am using Google Chrome Canary on Windows, and according to http://www.browserleaks.com/webgl the max varying vectors is indeed 10.
This error is occurring when trying to link the shader for the listView, in particular the selectRect shader.
Any clues on how to proceed from here?