[Bug 89580] Implement a NIR -> vec4 pass

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 27 22:37:43 PDT 2015


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

--- Comment #8 from Eduardo Lima Mitev <elima at igalia.com> ---
Hi Jason, just to keep you updated with our progress, we are done implementing
most of the core functionality:

- Control-flow (impl, block, loop, jump, if, etc)
- Most intrinsics that are relevant in the vertex shader; except load_ubo,
atomic counters, and indirect versions of uniforms, input and output. We are
deferring indirects until a later stage and a better understanding of it. There
is a known bug in the setup of uniforms values that I'm currently dealing with.
- Most ALU operations. We are currently testing them extensively, fixing bugs,
etc; so this is ongoing work.

Texture related instructions are still missing. We will probably start working
on them by the end of this week.
I also have pending to revisit the way we emit constant values.

Regarding global values, we have been working on it using the code in
brw_fs_nir as reference. But we were not able to find any example that requires
this support. As far as we see the combination of
nir_lower_global_vars_to_local and inlining of functions can handle all of
them. As a test/hack, we removed the lowering, but that is needed to support
nir_intrinsic_load_var and store_var, that were not previously supported on
brw_fs_nir. As a final test, we removed the support for globals in brw_fs_nir
(variable nir_globals, and
their usage), and run piglit (all test suite), without finding any regression.
Are you aware of any specific case in which handling globals is still needed?

This week we will start running specific piglit/dEQP tests on our branch to get
a better picture of where we stand. I foresee a lot of new tasks coming from
these runs. Do you have any advice as to what (sub)set of tests we could try to
cover first?

As usual, we have a snapshot of our (dirty) git tree at
https://github.com/Igalia/mesa/commits/nir-vec4

Thanks!

-- 
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/20150428/7d052c92/attachment.html>


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