diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-17 08:58:47 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-17 08:58:47 -0700 |
| commit | 15aba2fe81fea44969e036e181a4cf252ff41963 (patch) | |
| tree | 489534f470b3d2dcbb61660458bf473e0a2c0552 /.gitignore | |
| parent | eecb6c56da5792010e88f2a0d6d1503244b081a4 (diff) | |
Handle `flat` interpolation cases in cross compilation
Fixes #104
- Map HLSL `nointerpolation` to GLSL `flat`
- When lowering a `struct` type varying input/output, look for interpolation modifiers along the "chain" from the leaf field up to the original shader input variable (and take the first one found)
- Not sure if this is strictly needed, but it seems like a reasonable policy
- Add `flat` to varying input of integer type, with no other interpolation modifier
- Note: I do *not* do anything to ignore a manually imposed interpolation modifier that might be incorrect
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 2e654c7bb..9267cfca3 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ intermediate/ *.expected.png *.actual.png tests/render/*.expected +tests/cross-compile/*.expected # files generated by other shader compilers *.spv |
