Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: The Gallium3D R600 Driver Now Has Texture Support

  1. #11
    Join Date
    Oct 2008
    Posts
    3,029

    Default

    You can kind of think of it as java bytecode, if that helps. Or assembly code. Then all the various hardware backends just have to be able to translate that into something the hardware understands, rather than having to worry about parsing GLSL or anything.

  2. #12
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    Quote Originally Posted by chrisrock View Post
    "Intermediate representation (IR)"
    http://www.mesa3d.org/shading.html
    So IR is a term for, well, imtermediate representation and TGSI is an IR?

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

    Default

    Exactly. Mesa IR, TGSI, LLVM IR and the "il" used in our proprietary driver stack are all different IRs.

    Some IR's use a "stream" format (something that looks like source code) intended primarily as an human-readable interface between layers (TGSI, il), others use a more structured format which allows compiler phases to run optimization passes on the IR directly (Mesa IR), still others offer multiple representations (LLVM).

  4. #14
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    Quote Originally Posted by bridgman View Post
    Exactly. Mesa IR, TGSI, LLVM IR and the "il" used in our proprietary driver stack are all different IRs.
    Ah OK. For a second there I thought that my understanding of Gallium was not correct

    IL means intermediate layer then, right? :P

    Some IR's use a "stream" format (something that looks like source code) intended primarily as an human-readable interface between layers
    Like X.org's protocol parser implementation? Or is that something else altogether?

  5. #15
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,385

    Default

    Quote Originally Posted by V!NCENT View Post
    IL means intermediate layer then, right? :P
    Intermediate Language

    Quote Originally Posted by V!NCENT View Post
    Like X.org's protocol parser implementation? Or is that something else altogether?
    I haven't looked at that part of X for maybe 20 years, will let someone else answer

    A simpler example would be a C compiler that generates assembler source code then passes it to an assembler for conversion to something the CPU can execute.

Posting Permissions

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