Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: A Mesa Branch Provides GLSL IR To TGSI Translator

  1. #11

    Default

    Quote Originally Posted by Plombo View Post
    I've just pushed to my branch again. Before, the translator still generated Mesa IR that wasn't ultimately used, but still depended on some information from it. Now, that information has been moved elsewhere in the translator, so I was able to remove the generation of Mesa IR instructions completely.
    I tested it with r300g but it crashes with:
    Code:
    tgsi/tgsi_ureg.c:801:ureg_emit_src: Assertion `src.File != TGSI_FILE_OUTPUT' failed.
    Click here for full backtrace.

  2. #12
    Join Date
    Sep 2010
    Posts
    146

    Default

    Quote Originally Posted by oibaf View Post
    I tested it with r300g but it crashes with:
    Code:
    tgsi/tgsi_ureg.c:801:ureg_emit_src: Assertion `src.File != TGSI_FILE_OUTPUT' failed.
    Click here for full backtrace.
    That looks like a general issue, not a driver issue. What program are you running?

  3. #13

    Default

    Quote Originally Posted by Plombo View Post
    That looks like a general issue, not a driver issue. What program are you running?
    0 A.D. game. It doesn't crash with master branch of standard mesa. Also note that my RV530 only support GLSL 1.20 (dunno if your branch require a GLSL 1.30 compatible card).

  4. #14

    Default

    OK, the crash only appears when compiling your code with --enable-debug . Then 0ad starts fine, however it's missing water (e.g. in Oasis map).

  5. #15
    Join Date
    Sep 2010
    Posts
    146

    Default

    Quote Originally Posted by oibaf View Post
    0 A.D. game. It doesn't crash with master branch of standard mesa. Also note that my RV530 only support GLSL 1.20 (dunno if your branch require a GLSL 1.30 compatible card).
    Okay, thanks. I think I know what's going on from your error message; it's the absence of a Mesa IR function that was removing reads of output registers. I'm working on it now, and I'll test it with 0 A.D. when I'm done.

  6. #16
    Join Date
    Sep 2010
    Posts
    146

    Default

    It should be fixed now by commit f259e14dbff03a79a343. Thanks for reporting it!

    Now to figure out what broke Nexuiz in the same commit that broke 0 A.D.

  7. #17

    Thumbs up

    Quote Originally Posted by Plombo View Post
    It should be fixed now by commit f259e14dbff03a79a343. Thanks for reporting it!

    Now to figure out what broke Nexuiz in the same commit that broke 0 A.D.
    OK, I confirm the crash is fixed. 0ad water is still not rendered.

  8. #18
    Join Date
    Sep 2010
    Posts
    146

    Default

    Wow, I just spent several hours of my life tracking down the issue with the Nexuiz title screen and the 0 A.D. water (same issue), and the patch that finally fixed it is a whopping 13 lines long.

    Anyway, both are now fixed by a14d10973e77895c9c4f.

  9. #19
    Join Date
    Oct 2009
    Location
    .ca
    Posts
    402

    Default

    Quote Originally Posted by Plombo View Post
    Wow, I just spent several hours of my life tracking down the issue with the Nexuiz title screen ...
    <OT>
    Speaking of which, it's xonotic test weekend: http://forums.xonotic.org/showthread...1750&pid=23895
    </OT>

  10. #20
    Join Date
    Aug 2007
    Posts
    6,625

    Default

    @Plombo

    Which apps/games look differently with your special mesa branch? How often do you update from mesa master? Should games run faster?

Posting Permissions

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