Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Daniel Kluss <codepilot at gmail.com> Nov 12, 2005
- 558 views
sampler2DRect might be nvidia specific, let me see if I can find the ati alternitive. and float4 can just be replaced with vec4. Dan Vincent wrote: > > cklester wrote: > > > > Daniel Kluss wrote: > > > > > > This should fix the problem. > > > > Here's a snippet from ex.err: > > > > C:\apps\euphoria\atifixgpgpu\log.txt:15383 in procedure > > glBindFramebufferEXT() > > > > A machine-level exception occurred during execution of this statement > > target = 36160 > > framebuffer = 0 > > > > ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:922 in function > > CreateGLWindow() > > > > title = {78'N',101'e',72'H',101'e',39''',115's',32' > > ',70'F',105'i',114'r', > > 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' ', > > 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} > > width = 640 > > height = 480 > > bits = 16 > > fullscreenflag = 1 > > PixelFormat = 5 > > wc = 1251984 > > dwExStyle = 262144 > > dwStyle = 2147483648 > > WindowRect = 1003536 > > err = 1966964 > > pfd = 1251984 > > dm = 11522848 > > possible_addresses = {0,2,4,6,8,10,12,13,15,17,19,20,22,24,26,27,29,31} > > i = 23 > > i = <no value> > > > > > > -=ck > > "Programming in a state of EUPHORIA." > > <a > > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> > > Did you assign a one to the "use_ati_fix" constant? That sort of fixed it for > me... The program opens a OpenGL window with a pretty background fill > gradient, > however the interpreter window prints compiler error messages: > > <snip> > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > </snip> > > I'm not sure what is happening, but it consumes 100% CPU and 13 MB memory. > > > Regards, > Vincent