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

generator: pSampleMask setter should write NULL if slice is empty #432

Merged
merged 1 commit into from
May 11, 2021

Commits on May 10, 2021

  1. generator: pSampleMask setter should write NULL if slice is empty

    As per [1] no explicit length field is available for `pSampleMask`, this
    is based on `ceil(rasterizationSamples/32)` instead.  It is valid to not
    set an array for `pSampleMask` (under normal circumestances this is
    signaled by setting the length to zero, and the array pointer is
    ignored) but this has to happen by setting the pointer to `NULL`.
    
    [1]: #256
    MarijnS95 committed May 10, 2021
    Configuration menu
    Copy the full SHA
    c7921ed View commit details
    Browse the repository at this point in the history