GithubHelp home page GithubHelp logo

Comments (4)

MarijnS95 avatar MarijnS95 commented on July 18, 2024

It doesn't help that the casing is wrong in the SPIR-V grammar JSON:

https://github.com/KhronosGroup/SPIRV-Headers/blob/dafead1765f6c1a5f9f8a76387dcb2abe4e54acd/include/spirv/unified1/spirv.core.grammar.json#L9015

https://github.com/KhronosGroup/SPIRV-Headers/blob/dafead1765f6c1a5f9f8a76387dcb2abe4e54acd/include/spirv/unified1/spirv.core.grammar.json#L9130

from rspirv.

MarijnS95 avatar MarijnS95 commented on July 18, 2024

By the way, shouldn't the U in Ui be capitalized as well?

from rspirv.

XAMPPRocky avatar XAMPPRocky commented on July 18, 2024

By the way, shouldn't the U in Ui be capitalized as well?

Good question, I don't think so based on how these formats are cased in GLSL, you can see it's specified as rgb10_a2 and rgb10_a2ui, which to me would imply that you're supposed to treat a2 and a2ui as whole words.

https://www.khronos.org/opengl/wiki/Image_Load_Store

from rspirv.

MarijnS95 avatar MarijnS95 commented on July 18, 2024

Hmm, complicated. @XAMPPRocky are we looking at this from a Rust naming conventions or GLSL/SPIR-V naming perspective? That link implies the entire thing to be lowercase while the autogenerator here seems to take the grammar name verbatim.

from rspirv.

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.