863ea23...
by
John Kessenich <email address hidden>
SPIRV-Tools and tests: Update to location-validation in SPIRV-Tools.
This introduces five new "Validation failures":
- baseResults/hlsl.semantic.vert: issue with gl_ClipDistance/CullDistance
- baseResults/spv.430.vert: issue gl_ClipDistance
- baseResults/spv.450.tesc: still unknown
- baseResults/spv.dataOut.frag: gl_FragData should not be supported, problem with front end
- baseResults/spv.meshShaderPerViewUserDefined.mesh: seems okay, maybe a problem with SPIRV-Tools
f6facfa...
by
John Kessenich <email address hidden>
Tests: More broadly use automapping binding/location.
This adds or changes binding/location decorations in 100s of shaders.
It also allows more output (spv.register.autoassign.rangetest.frag)
due to allowing ioMap() to fail.
b112fac...
by
John Kessenich <email address hidden>
HLSL: Catch error cases earlier, preventing a later assert.
Add `GenericCodeGen` and `MachineIndependent` static library targets.
Privately import both of these into the `glslang` target.
Privately import `MachineIndependent` into the `SPIRV` target.
This is done to break the dependency of `libglslang.so` non-public APIs from `libspirv.so`,
which will become problematic once `glslang` hides its non-public symbols.
8f4251a...
by
John Kessenich <email address hidden>
Merge pull request #2297 from ben-clayton/fpic
CMake: Compile with -fPIC when building SOs
12c155f...
by
John Kessenich <email address hidden>
SPV: RelaxedPrecision: use the result precision for texture sampling.
Fix #2298.
The AST has two precisions, an operation precision and a result precision.
Actual use of GLSL with mediump samplers wants the result precision, so
pick that up instead of the operation precision.
90f1d6a...
by
John Kessenich <email address hidden>
Merge pull request #2296 from ben-clayton/err-unresolved