Results 1 to 5 of 5

Thread: No New GLSL Compiler For Mesa, But Optimized IR

  1. #1
    Join Date
    Jan 2007
    Posts
    14,566

    Default No New GLSL Compiler For Mesa, But Optimized IR

    Phoronix: No New GLSL Compiler For Mesa, But Optimized IR

    Beyond the news of a new Radeon shader compiler for Mesa and Gallium3D, there is some other Mesa news this morning too, which is both good and bad. Intel's Ian Romanick has announced on his blog that his new GLSL (GL Shading Language) compiler for Mesa was doomed for failure and as a result it's pretty much off of the table right now...

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

  2. #2
    Join Date
    Aug 2007
    Location
    Poland
    Posts
    215

    Default

    Shouldn't there be "Intel" in the news topic?
    It looks a bit confusing reading this news and the new shader compiler for R300 just after it.

  3. #3
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,425

    Default

    I don't *think* Ian's work is Intel-specific. I'm still learning Mesa internals but the changes seem to be in the hardware-independent part of the tree, which parses ARB_fragment_program and ARB_vertex_program shader source then spits out the appropriate IR and related information to the HW driver.
    Last edited by bridgman; 07-25-2009 at 05:58 PM.

  4. #4
    Join Date
    Aug 2007
    Location
    Poland
    Posts
    215

    Default

    Thanks for yours reply.

    So, does it mean that there's problem in implementing new shader compiler code for R300, too or I've missunderstood it?
    Are the optimizeations for other cards (like radeons), too?

    [sorry for my English]

  5. #5
    Join Date
    Aug 2008
    Posts
    77

    Default

    No. These parts are entirely independent.

    Ian's work is in the "front-end", i.e. the code that translates API calls into Mesa's internal representation for programs (gl_program structures).

    The R300 shader rework is in the "back-end", i.e. the code that translates Mesa's (or Gallium's) internal representation for programs into something the hardware understands.

Posting Permissions

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