Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support vectorized Select in OpenGLCompute backend #6371

Merged

Commits on Oct 30, 2021

  1. Support vectorized Select in OpenGLCompute backend

    The ternary operator in GLSL does not work with vector types. While the
    mix function have overloads to boolean vectors, it is only supported in
    version 4.5, so it is not exactly portable. To work around this, we use
    the ternary operator on all elements of the vector type.
    
    Necessary for halide#6348.
    OmarEmaraDev committed Oct 30, 2021
    Configuration menu
    Copy the full SHA
    e86b79b View commit details
    Browse the repository at this point in the history