Coder Social home page Coder Social logo

glslsmith's People

Contributors

aaronghost avatar afd avatar

Watchers

 avatar

Forkers

afd

glslsmith's Issues

Upgrade the install script

Upgrade the install script to match with the different updates especially with the choice of the shader embedding language

Implement the "close to the edge" idea for eliminating unnecessary undefined behaviour checks

  • For each UB suppression where we have the ability to check whether it was necessary (loop limiter, array bounds clamp, safe math wrapper, but I guess not the evaluation order suppressions), have a way to associate a unique id with it

  • Implement a mode where each check will write a boolean to an SSBO array index to indicate whether the check was needed. For wrappers this will require more parameter passing (or generation of a separate wrapper per wrapper call site)

Add AmberScript back end

It would be useful to be able to generate AmberScript and run the Amber binary instead of ShaderTrap.

This would require:

  • Having an option to request that SSBOs are homogeneous - i.e., so that they don't mix different data types (all float data, all int data or all uint data)
  • Generating the GLSL code in a comment (lines start with #) and have the SPIR-V assembly be used as the actual shader text
  • Invoking Amber in the right way so that it dumps the relevant SSBOs into files

Clearly generation and reduction should still take place at the GLSL source level.

Disable (or add possibility to disable) generation of coherent, etc.

The Mali compiler correctly complains about parameter passing of qualifiers such as coherent.

It would be good to:

  • File a glslang issue related to this, as it would probably be good for glslang to give an error or warning here
  • Disable the generation of these qualifiers in GLSLsmith, or have the option for them to be disabled

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.