Results 1 to 6 of 6

Thread: Ryan Gordon's MojoShader Sees New Mojo

  1. #1
    Join Date
    Jan 2007
    Posts
    15,434

    Default Ryan Gordon's MojoShader Sees New Mojo

    Phoronix: Ryan Gordon's MojoShader Sees New Mojo

    There's renewed efforts going into MojoShader, the project by Ryan Gordon for dealing with Direct3D HLSL shaders on non-Direct3D non-Windows platforms...

    http://www.phoronix.com/vr.php?view=MTA5NDI

  2. #2
    Join Date
    Dec 2010
    Location
    MA, USA
    Posts
    1,447

    Default

    does wine use this? if not, i'm sure its more effective than whatever they're using.

  3. #3
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    365

    Default

    Wine's not using it but I'm sure that whatever Wine does is better than MojoShader.

    Plus, Wine needs to do some special shader processing IIRC to get certain states processed correctly.

  4. #4

    Default

    deleted

    (for limit)

  5. #5
    Join Date
    Sep 2011
    Posts
    35

    Default

    As is my understanding from the spare description of MojoShader, this is not a run-time tool but rather it is used when compiling code. Thus it is for porting, not for compatibly layers such as wine. However, maybe it would be useful for winelib.

  6. #6
    Join Date
    Jun 2006
    Posts
    3,046

    Default

    Quote Originally Posted by zerothis View Post
    As is my understanding from the spare description of MojoShader, this is not a run-time tool but rather it is used when compiling code. Thus it is for porting, not for compatibly layers such as wine. However, maybe it would be useful for winelib.
    You mis-read things. This is supposed to allow you to code for HLSL and have it convert it on the fly to GLSL. AMD's got tech similar to this that they gave out the key guts to a while back- it's what they use to code their demos with these days. In the case of MojoShader, it's taking the compiled shader code from HLSL and moving it over to GLSL assembly. In the case of AMD's stuff, it worked at the source level, meaning that you could feed it a shader script and have it present the GLSL compiler in the driver with transformed HLSL code.
    Last edited by Svartalf; 05-06-2012 at 02:22 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •