Skip to content
Commit 7fda34c4 authored by Jim Blandy's avatar Jim Blandy Committed by Dzmitry Malyshau
Browse files

[glsl-out] Add version checks for qualifiers.

Use `back::glsl::features::FeaturesManager` to detect which qualifiers the given
module actually uses, and check them against the requested GLSL version.

The `linear` and `sample` qualifiers for fragment shader inputs are not
supported in all versions of GLSL that Naga can generate.
parent ec6ef38d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment