<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add FP64 support to the i965 shader backends"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92760#c51">Comment # 51</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add FP64 support to the i965 shader backends"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92760">bug 92760</a>
              from <span class="vcard"><a class="email" href="mailto:itoral@igalia.com" title="Iago Toral <itoral@igalia.com>"> <span class="fn">Iago Toral</span></a>
</span></b>
        <pre>I noticed that nir_lower_locals_to_regs can insert MOVs of 64-bit things and we
need to catch these in our double splitting pass for the vec4 backend. However,
I am a bit confused here because nir_lower_locals_to_regs injects nir_registers
and not SSA definitions so the double splitting pass can't handle the generated
NIR after it at the moment:

decl_reg vec4 64 r0[4]
(...)
vec4 64 ssa_6 = intrinsic load_ubo (ssa_0, ssa_5) () ()
r0[3] = imov ssa_6
(...)
vec4 64 ssa_12 = imov r0[0 + ssa_11]

If this is correct and expected, then I guess we will have to amend the double
splitting pass to handle nir_registers as well, right?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>