Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: Testing Out Mesa's GLSL-To-TGSI Translator

  1. #21
    Join Date
    Jun 2009
    Posts
    2,927

    Default

    Quote Originally Posted by Plombo View Post
    It won't affect it at all. ir_to_mesa is still there, and it isn't going away any time soon.
    Yes, but how are Gallium drivers going to make advantage of all the Intel work then? If Mesa IR is completely bypassed, then it can't be used directly.

    Can it be easily ported?

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

    Default

    Quote Originally Posted by Shining Arcanine View Post
    Proofreading is important. It is unprofessional if there are glaring errors.
    You know, most human brains actualy read the first and last letter in each word, check all the letters in the middle (without being in any order) and then recognise the word.

    If this realy bothers you then I have to wonder how damaged you brain actually is...

  3. #23
    Join Date
    Jul 2010
    Posts
    449

    Default

    You know, most human brains actualy read the first and last letter in each word, check all the letters in the middle (without being in any order) and then recognise the word.

    If this realy bothers you then I have to wonder how damaged you brain actually is...
    Taht olny wkros if ebvdoyery kowns the croerct slepling to bigen wtih. Just because words can be understood that doesn't make them easy to read.

    Spelling words correctly is surely a good thing - it makes communication easier. It seems clear that to some extent you agree; otherwise why would you put (most of) the letters in the words of your quoted post in the correct order? How do you write your CV?

    With that said, we all come here because it offers us something that we cannot get elsewhere (or possibly not so easily), and for that I think a few typographical errors are a small price to pay

  4. #24
    Join Date
    Jun 2009
    Posts
    2,927

    Default

    Quote Originally Posted by V!NCENT View Post
    You know, most human brains actualy read the first and last letter in each word, check all the letters in the middle (without being in any order) and then recognise the word.

    If this realy bothers you then I have to wonder how damaged you brain actually is...
    Try that with your next job application.

    Don't forget to mention the "damaged brain" part.


  5. #25

    Default

    Moreover, an article can be 100% grammatically and syntactically correct and still be hard to read or just yuck. Communication and writing are skills. For some people they come natural, while other people could use a little teaching.

    As for any other job, if you want to make a living out of writing articles then I think it's important that you are skilled in what you are doing. I think it would be beneficial, not just for his readers, but also for himself, if Michael would sign up for a writing course.

  6. #26

    Default

    Quote Originally Posted by AnonymousCoward View Post
    Moreover, an article can be 100% grammatically and syntactically correct and still be hard to read or just yuck. Communication and writing are skills. For some people they come natural, while other people could use a little teaching.

    As for any other job, if you want to make a living out of writing articles then I think it's important that you are skilled in what you are doing. I think it would be beneficial, not just for his readers, but also for himself, if Michael would sign up for a writing course.
    The whole issue just comes down to time... Why I quickly run spell check and why I'll just skim through the article as proofreading. Not that I am going through in great detail and then failing, but I simply don't have any more time to spend.

  7. #27
    Join Date
    Sep 2010
    Posts
    146

    Default

    Quote Originally Posted by oibaf View Post
    Will mesa_to_tgsi be removed, then?
    No, it's still needed for assembly and texenv shaders. If Intel ever finishes their work to generate GLSL IR for all the shaders in Mesa, then it could possibly be removed.

    Quote Originally Posted by oibaf View Post
    EDIT: Is glsl-to-tgsi still missing the optimizations done in mesa IR? Would porting them to glsl-to-tgsi improve generated shaders?
    The only Mesa IR optimization that I ported to glsl_to_tgsi is simplify_cmp(). But with that said, most of the optimization problems in glsl_to_tgsi were resolved when I wrote a more advanced dead code elimination pass. There is only one Mesa IR optimization missing from glsl_to_tgsi that I've found to actually make a difference in the shader output: the pass that eliminates extra moves to output registers. But that's actually just covering up a problem in the GLSL compiler - the pass should really be implemented there.

    Quote Originally Posted by pingufunkybeat View Post
    Yes, but how are Gallium drivers going to make advantage of all the Intel work then? If Mesa IR is completely bypassed, then it can't be used directly.

    Can it be easily ported?
    Which Intel work? The GLSL compiler obviously passes through glsl_to_tgsi just like it does ir_to_mesa. They don't actively do any work on prog_optimize, which contains the Mesa IR optimization passes. If you mean ir_to_mesa, then yes, changes to ir_to_mesa can be easily ported to glsl_to_tgsi. Although Intel doesn't make that many changes to ir_to_mesa; it's mostly bugfixes at this point.
    Last edited by Plombo; 07-22-2011 at 11:09 AM.

Posting Permissions

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