Giter Club home page Giter Club logo

Comments (6)

umar456 avatar umar456 commented on July 24, 2024

I was planning on using spvBinaryParse like this and calling the passes individually. This should be easily generalizable in a fixture.

from spirv-tools.

umar456 avatar umar456 commented on July 24, 2024

I tried a couple of approaches to get around this. One approach was to pass the *Pass function pointers to the ValidateInstructions function. Another was to ignore the errors based on the type of flags passed into the ValidateState_t::diag function. I don't think either of these approaches solved the problem we have been experiencing.

The only solution would be to parse the entire binary for each of the passes. This will allow us to test for each type of pass independently. This will obviously be slower but might solve this issue.

Thoughts?

from spirv-tools.

dekimir avatar dekimir commented on July 24, 2024

@umar456 I don't like the idea of needless repeated parsing. Is it not possible to fix the test assemblies not to trigger unrelated validations? A lot of the time it's something trivial, like missing OpMemoryModel.

from spirv-tools.

dekimir avatar dekimir commented on July 24, 2024

@umar456 is it OK if we assign this to someone on our team?

from spirv-tools.

umar456 avatar umar456 commented on July 24, 2024

sure

from spirv-tools.

antiagainst avatar antiagainst commented on July 24, 2024

In master as b6ccd0d.

from spirv-tools.

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.