SPIRV-Cross/reference/opt/shaders-ue4/asm/frag
Bill Hollings 40141ffddf MSL: Selectively enable fast-math in MSL code to match Vulkan CTS results.
Based on CTS testing, math optimizations between MSL and Vulkan are inconsistent.
In some cases, enabling MSL's fast-math compilation option matches Vulkan's math
results. In other cases, disabling it does. Broadly enabling or disabling fast-math
across all shaders results in some CTS test failures either way.

To fix this, selectively enable/disable fast-math optimizations in the MSL code,
using metal::fast and metal::precise function namespaces, where supported, and
the [[clang::optnone]] function attribute otherwise.

Adjust SPIRV-Cross unit test reference shaders to accommodate these changes.
2021-09-22 18:58:31 -04:00
..
depth-compare.asm.frag MSL: Selectively enable fast-math in MSL code to match Vulkan CTS results. 2021-09-22 18:58:31 -04:00
global-constant-arrays.asm.frag MSL: Selectively enable fast-math in MSL code to match Vulkan CTS results. 2021-09-22 18:58:31 -04:00
padded-float-array-member-defef.asm.frag MSL: Selectively enable fast-math in MSL code to match Vulkan CTS results. 2021-09-22 18:58:31 -04:00
sample-mask-not-array.asm.frag MSL: Selectively enable fast-math in MSL code to match Vulkan CTS results. 2021-09-22 18:58:31 -04:00
subpass-input.ios.framebuffer-fetch.asm.frag MSL: Adjust FragCoord for sample-rate shading. 2020-11-23 10:30:24 -06:00
subpass-input.msl23.framebuffer-fetch.asm.frag MSL: Adjust FragCoord for sample-rate shading. 2020-11-23 10:30:24 -06:00
texture-atomics.asm.argument.msl2.frag MSL: Support atomic access to images from argument buffers. 2020-10-13 02:37:18 -05:00
texture-atomics.asm.frag Roll SPIRV-Tools, SPIRV-Headers and GLSLang. 2020-05-21 15:21:41 -04:00
texture-atomics.asm.graphics-robust-access.frag Roll SPIRV-Tools, SPIRV-Headers and GLSLang. 2020-05-21 15:21:41 -04:00