<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 10/18/19 4:15 PM, Greg Roth wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADq7soJNrfnmr3oqd+TqRAxPBrQ6t_RhFk+RbDfZt7EQJKWJNQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I confess I got a bit sidelined on this by some
        other projects, but I'm at a point where I can take it up again.
        <div><br>
        </div>
        <div>The status is that I can parse the DXIL produced by DXC for
          a simple passthrough shader, but I can't generate the spir-v
          yet.</div>
      </div>
    </blockquote>
    <p>Are you using LLVM to parse the DXIL bitcode? I've been able to
      parse the IL fully that way, but haven't done anything related to
      codegen.</p>
    <p>Most of the (little) time I've spent so far as been coming up
      with an algorithm to convert DXIL's unstructured control flow to
      something which conforms to SPIR-V's structured model.<br>
    </p>
    <blockquote type="cite"
cite="mid:CADq7soJNrfnmr3oqd+TqRAxPBrQ6t_RhFk+RbDfZt7EQJKWJNQ@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>I didn't think that was sufficient progress to wrap into a
          patch and get feedback on, but if you'd like to see it, I can
          polish it up and do so.</div>
      </div>
    </blockquote>
    <p>If you have a repo somewhere it could be interesting to take a
      look.</p>
    <p>Cheers,<br>
      Hans-Kristian<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:CADq7soJNrfnmr3oqd+TqRAxPBrQ6t_RhFk+RbDfZt7EQJKWJNQ@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Greg<br>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div><span><br>
                      </span></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Oct 18, 2019 at 8:10
          AM Hans-Kristian Arntzen <<a
            href="mailto:post@arntzen-software.no"
            moz-do-not-send="true">post@arntzen-software.no</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi.
          There's this thread from September <br>
          (<a
href="https://www.winehq.org/pipermail/wine-devel/2019-September/150657.html"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.winehq.org/pipermail/wine-devel/2019-September/150657.html</a>)
          <br>
          (Sorry, can't reply to it directly, as I wasn't on the ML at
          the time). <br>
          I'd like to dig into DXIL translation, but there is risk of
          duplicating <br>
          work.<br>
          <br>
          Greg: Got any status update?<br>
          <br>
          Cheers,<br>
          Hans-Kristian<br>
          <br>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>