Code Monkey home page Code Monkey logo

Comments (3)

hekota avatar hekota commented on June 19, 2024

I have verified that it does not repro on x64 (pre-release Windows build 23H2 version 26016.1001).

from directxshadercompiler.

jenatali avatar jenatali commented on June 19, 2024

FYI @hekota @damyanp, this was a bug in WARP's arm64 code generation backend. Essentially, in the arm64 ISA, there's multiple variations of add instructions, and depending on which one is used, register 31 has a different meaning, either the stack pointer, or an always-zero value. WARP used the wrong one and ended up producing pointers that were 0-based instead of stack-based.

I coincidentally fixed this a few weeks ago due to a report on the DirectX Discord server (https://discord.com/channels/590611987420020747/596046911010504754/1227755899037286512). I confirmed that this test is passing on latest WARP bits on arm64, but crashes if I revert that fix. I'm hoping to get fixed binaries available via the WARP NuGet 1.0.12 soon.

from directxshadercompiler.

jenatali avatar jenatali commented on June 19, 2024

Fixed binaries are available in https://www.nuget.org/packages/Microsoft.Direct3D.WARP/1.0.12.

from directxshadercompiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.