MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

CMPXCHG8B
MAME Fan
Reged: 08/24/11
Posts: 5
Send PM
Re: HLSL versus GLSL?
02/05/12 12:07 PM


Huh.

Thanks for clearing that up. I've never heard of cross-platform feature parity being called "Firefox compatibility", but I suppose it makes sense.

I've been reading up on HLSL (which I see is part of the Direct X API much in the way GLSL is part of OpenGL). It appears as though the "HLSL" support in MAME isn't anything MAME specific (I thought perhaps it was a custom shader language implemented by MAME)- but rather a series of built-in settings that optionally source from an INI file and some code to load up the relevant HLSL shaders (*.fx files) into Direct3D.

So I suppose the equivalent to this, and the answer to my question (which may have been unclear) is that HLSL *is* GLSL, as far as SDLMAME is concerned. If one were to port the "HLSL" functionality from MAME under Windows to SDLMAME, then that functionality would exist as a series of GLSL shaders *and* the relevant code in MAME to read in the options and maintain as you say "Firefox Compatibility". The only real issue would be making sure that the GLSL equivalents achieve 99.5% the same thing under SDLMAME as they would under Windows given the same settings.

Question for R. Belmont, in case he rolls around again: Are you actively working on porting (converting?) the HLSL related code and shaders to SDLMAME? You sounded like you wanted to, but something was holding you back.

-CMPX







Entire thread
Subject Posted by Posted on
* HLSL versus GLSL? CMPXCHG8B 02/04/12 10:53 AM
. * Re: HLSL versus GLSL? R. Belmont  02/04/12 05:27 PM
. * Re: HLSL versus GLSL? etabeta  02/04/12 08:23 PM
. * Re: HLSL versus GLSL? R. Belmont  02/04/12 08:28 PM
. * Re: HLSL versus GLSL? CMPXCHG8B  02/05/12 06:35 AM
. * Re: HLSL versus GLSL? Heihachi_73  02/05/12 11:29 AM
. * Re: HLSL versus GLSL? CMPXCHG8B  02/05/12 12:07 PM
. * Re: HLSL versus GLSL? R. Belmont  02/06/12 03:21 AM
. * Re: HLSL versus GLSL? CMPXCHG8B  02/06/12 05:52 AM
. * Re: HLSL versus GLSL? StilettoAdministrator  02/06/12 06:17 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 178 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 6675