Giter VIP home page Giter VIP logo

Comments (6)

cdavis5e avatar cdavis5e commented on August 23, 2024 1

Oh, but it turns out we already do this! (I just need to let it be used in MSL 1.2.)

It should actually be safe to turn on shaderSampledImageArrayDynamicIndexing for Metal 1.2 or higher right now. Possibly shaderStorageImageArrayDynamicIndexing as well, with the caveat that it won't work for images that are written to.

from moltenvk.

cdavis5e avatar cdavis5e commented on August 23, 2024 1

Or maybe it will work for written images. The docs lied to me!

from moltenvk.

kruseborn avatar kruseborn commented on August 23, 2024 1

That sounds great, enabling shaderSampledImageArrayDynamicIndexing is enough for us at the moment.

from moltenvk.

kruseborn avatar kruseborn commented on August 23, 2024

This feature would really be appreciated, any plans for it?

from moltenvk.

billhollings avatar billhollings commented on August 23, 2024

@cdavis5e With your latest resource indexing enhancements...you are probably closer to this than I at present. Any thoughts about the viability of this enhancement?

from moltenvk.

cdavis5e avatar cdavis5e commented on August 23, 2024

We'd need to have SPIRV-Cross translate arrays of textures to metal::array objects. This is supported as of Metal 1.2. Unfortunately, this is somewhat complicated by the fact that arrays of samplers aren't supported until Metal 2.0. This is a problem primarily for combined image/sampler objects--with MSL 1.2, we'd be able to have an array of the image parts, but not the sampler parts.

from moltenvk.

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.