[Bug 89580] New: Implement a NIR -> vec4 pass

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 14 09:42:17 PDT 2015


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

            Bug ID: 89580
           Summary: Implement a NIR -> vec4 pass
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: jason at jlekstrand.net
        QA Contact: intel-3d-bugs at lists.freedesktop.org

In order to use NIR for everything in the i965 backend (which we would like to
do), we need to write a NIR -> vec4 pass.  Most of the work should be fairly
straightforward.  The brw_fs_nir.cpp and brw_vec4_visitor.cpp files should
provide a pretty good template of what needs to be done.  A grep for
INTEL_USE_NIR should show you how we actually plumb it through for the FS
backend.  It would probably be good to start with Vertex shaders on HSW or IVB
as SNB- has issues with booleans and we already have NIR doing scalar VS on
BDW.

It may be a bit tricky to get NIR to generate comparable code quality. 
However, we can only even start looking into that once we get decent NIR ->
vec4 pass so don't worry about that for now.  I (Jason) will act as the primary
contact for anyone working on this but I'm also going to Cc Matt Turner as he
knows vec4 better than I do.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150314/7f8ae489/attachment.html>


More information about the intel-3d-bugs mailing list