Shaders failed to compile on macOS High Sierra [r734]

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Shaders failed to compile on macOS High Sierra [r734]

Postby christian776 » Sun Jun 17, 2018 6:41 pm

I guess this was to be expected, but shader compilation fails on macOS High Sierra due to the poor OpenGL support.

I've just was able to compile Supermodel r734 but when running LA Machineguns, I've got the following errors.

Code: Select all
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2011-2018 by Bart Trzynadlowski, Nik Henson, Ian Curtis,
                       Harry Tuttle, and Spindizzi

    Title:          L.A. Machineguns: Rage of the Machines (Japan)
    ROM Set:        lamachin
    Developer:      Sega
    Year:           1998
    Stepping:       2.1
    Extra Hardware:

Error: Vertex shader failed to compile. Your OpenGL driver said:
ERROR: 0:9: ';' : syntax error: syntax error

Error: Fragment shader failed to compile. Your OpenGL driver said:
ERROR: 0:40: ';' : syntax error: syntax error

Error: Failed to link shader objects. Your OpenGL driver said:
ERROR: One or more attached shaders not successfully compiled


ERROR: 0:14: ';' : syntax error: syntax error

ERROR: 0:21: ';' : syntax error: syntax error

ERROR: One or more attached shaders not successfully compiled

ERROR: 0:14: ';' : syntax error: syntax error

ERROR: 0:12: ';' : syntax error: syntax error

ERROR: One or more attached shaders not successfully compiled
christian776
 
Posts: 21
Joined: Sun Mar 26, 2017 2:04 pm

Re: Shaders failed to compile on macOS High Sierra [r734]

Postby Ian » Mon Jun 18, 2018 1:00 am

Try removing the ; after the last } in the r3dframebuffer shaders. No idea why it ended up there or why the NVidia glsl compiler doesn't complain about it. Should be 4 to remove, one for each shader. That's before the glsl bracket at the end.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Shaders failed to compile on macOS High Sierra [r734]

Postby Ian » Mon Jun 18, 2018 4:57 am

try r735
hopefully should fix the issues
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Shaders failed to compile on macOS High Sierra [r734]

Postby christian776 » Mon Jun 18, 2018 12:47 pm

thanks, that worked flawlessly !
christian776
 
Posts: 21
Joined: Sun Mar 26, 2017 2:04 pm


Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 0 guests

cron