[Mesa-dev] [Bug 98128] nir/tests/control_flow_tests.cpp:79:73: error: ‘nir_loop_first_cf_node’ was not declared in this scope

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 6 21:42:53 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98128

            Bug ID: 98128
           Summary: nir/tests/control_flow_tests.cpp:79:73: error:
                    ‘nir_loop_first_cf_node’ was not declared in this
                    scope
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: cwabbott0 at gmail.com, jason at jlekstrand.net

mesa: f96945c5b5c3a52685e76795f03f75c75fb62fc7 (master 12.1.0-devel)

  CXX      nir/tests/nir_tests_control_flow_tests-control_flow_tests.o
nir/tests/control_flow_tests.cpp: In member function ‘virtual void
nir_cf_test_delete_break_in_loop_Test::TestBody()’:
nir/tests/control_flow_tests.cpp:79:73: error: ‘nir_loop_first_cf_node’ was not
declared in this scope
    nir_block *block_1 = nir_cf_node_as_block(nir_loop_first_cf_node(loop));
                                                                         ^

2ed17d46de045404042f13c6591895a1cf31b167 is the first bad commit
commit 2ed17d46de045404042f13c6591895a1cf31b167
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Oct 5 19:08:57 2016 -0700

    nir: Make nir_foo_first/last_cf_node return a block instead

    One of NIR's invariants is that control flow lists always start and end
    with blocks.  There's no good reason why we should return a cf_node from
    these functions since we know that it's always a block.  Making it a block
    lets us remove a bunch of code.

    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>

:040000 040000 0ecfd382f1e2c6fafb103838f5da4f711b8eeebd
1ed04a96ce72361430d8e7fbfcf62557745a5ecf M      src
bisect run success

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161006/b52d808e/attachment.html>


More information about the mesa-dev mailing list