SPIRV-Cross/shaders-msl/asm
Chip Davis 7ef52b04c3 MSL: Work around broken cube texture gradients on Apple Silicon.
To date, all released Apple Silicon GPUs incorrectly interpret the
gradient vectors when sampling a cube texture. Specifically, they ignore
one of the three partial derivatives in each gradient depending on the
selected major axis, and they expect the remaining derivatives to be
partially transformed.

h/t @lexaknyazev for the code used in the `spvGradientCube()` function.

Fixes 8 tests under `dEQP-VK.glsl.texture_functions.texturegrad.*`.
2023-11-27 15:03:26 -08:00
..
comp MSL: Deduplicate function constants. 2023-02-17 10:43:50 -08:00
frag MSL: Work around broken cube texture gradients on Apple Silicon. 2023-11-27 15:03:26 -08:00
tesc MSL: Add support for processing more than one patch per workgroup. 2020-07-23 17:59:54 -05:00
tese MSL: Force unnamed array builtin attributes to have a name. 2019-02-20 22:16:51 -06:00
vert Add tests for OpSpecConstantOp ops OpQuantizeToF16 and OpSRem. 2021-09-05 16:51:04 -04:00