Giter Club home page Giter Club logo

Comments (2)

moudgils avatar moudgils commented on July 23, 2024

O3DE's min spec was Iphone 8 (A11 Bionic, from 2017) I think. Basically it is complaining that the shader in question has a SRG (i.e Argument Buffer) that is going over the allowed limit of 31 for an A10 chip. On A11 chip the limit is 96 - https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf. Not an easy issue to address. You will have to essentially cut features that can help reduce the buffer and texture usage to 31 for the given shaders. I took a quick peek at the basepbr shader and there is some bloat related to light types for the ViewSRG (which is the offending AB I think) that are not applicable to mobile (ViewSrg_m_diskLights, ViewSrg_m_capsuleLights, ViewSrg_m_quadLights, ViewSrg_m_polygonLights, ViewSrg_m_polygonLightPoints). You could look into removing this for mobile pipeline but will require an investigation from a rendering engineer to do it properly without breaking other pipelines. The shader pipeline is not as friendly with different SRG layouts. We may run into other restrictions with A10 as we have never run O3de on A10 internally.

from o3de.

moudgils avatar moudgils commented on July 23, 2024

One option to try is to simply macro out m_diskLights, m_capsuleLights, m_quadLights, m_polygonLights, m_polygonLightPoints form the shaders but just know that this will break any pipeline that does support area lights. So as long as folks do not use Main render pipeline this could be a hacky solution.

from o3de.

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.