commit | 12c155f303c69ddf9172e665f6d0b76ff632ca50 | [log] [tgz] |
---|---|---|
author | John Kessenich <cepheus@frii.com> | Tue Jun 30 07:52:05 2020 -0600 |
committer | John Kessenich <cepheus@frii.com> | Tue Jun 30 07:52:05 2020 -0600 |
tree | d992d1682b6509bd2d13ca8f2d32259e7bce41ae | |
parent | 90f1d6ab58653c2b5ad327567e7a2841385894c6 [diff] |
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.