SPIRV-Cross/shaders-msl/frag
Chip Davis 39bc101e82 MSL: Handle the SamplePosition builtin.
This is somewhat tricky, because in MSL this value is obtained through a
function, `get_sample_position()`. Since the call expression is an
rvalue, it can't be passed by reference, so functions get a copy
instead.

This was the last piece preventing us from turning on sample-rate
shading support in MoltenVK.
2018-09-13 09:34:28 -05:00
..
array-lut-no-loop-variable.frag Disallow arrays and structs from becoming loop variables. 2018-03-07 14:54:11 +01:00
basic.frag Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
binary-func-unpack-pack-arguments.frag Unpack expressions when used in functions on MSL. 2018-06-11 10:56:45 +02:00
binary-unpack-pack-arguments.frag Also unpack regular unary/binary operations on MSL. 2018-06-11 16:23:09 +02:00
bitcasting.frag CompilerMSL map many GLSL functions to MSL functions. 2017-05-19 18:14:08 -04:00
builtins.frag CompilerMSL enhancements. 2017-06-30 19:10:46 -04:00
composite-extract-forced-temporary.frag Enhance MSL testing and add numerous MSL test cases. 2017-01-30 22:55:21 -05:00
constant-array.frag Enhance MSL testing and add numerous MSL test cases. 2017-01-30 22:55:21 -05:00
constant-composites.frag Do not declare constant composites inline in HLSL. 2018-02-02 10:12:26 +01:00
control-dependent-in-branch.desktop.frag Handle control-dependent temporaries. 2018-03-12 17:34:54 +01:00
dual-source-blending.frag Support dual-source blending on GLSL and MSL. 2018-04-03 16:04:49 +02:00
false-loop-init.frag Add test for false loop init. 2018-01-23 21:15:09 +01:00
flush_params.frag Enhance MSL testing and add numerous MSL test cases. 2017-01-30 22:55:21 -05:00
for-loop-init.frag Fix execution order for for-loop emission. 2017-02-04 10:07:20 +01:00
fp16-packing.frag Implement packHalf2x16/unpackHalf2x16 on MSL. 2018-03-12 17:51:14 +01:00
fp16.desktop.frag Disable double test in MSL FP16 tests. 2018-03-07 11:36:26 +01:00
front-facing.frag Add IsFrontFace support to HLSL. 2018-02-15 12:42:56 +01:00
gather-dref.frag Fix GatherDref on GLSL. 2018-04-30 12:45:23 +02:00
gather-offset.frag Compiler MSL default gather offset when component specified. 2018-04-30 16:30:29 -04:00
illegal-name-test-0.frag Add more illegal name replacement in MSL. 2018-04-03 15:36:35 +02:00
in_block.frag Assign block locations to members in MSL. 2017-06-21 09:55:46 +02:00
in_mat.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
inf-nan-constant.frag Support special float constants (NaN/Inf). 2018-02-23 13:06:20 +01:00
input-attachment-ms.frag Support passing implicit frag_coord arguments down to functions. 2018-02-10 10:55:09 +01:00
input-attachment.frag Support passing implicit frag_coord arguments down to functions. 2018-02-10 10:55:09 +01:00
interpolation-qualifiers-block.frag Handle interpolation qualifiers on the entire struct, too. 2018-09-06 12:29:42 -05:00
interpolation-qualifiers.frag MSL: Handle interpolation qualifiers. 2018-09-05 12:02:07 -05:00
lut-promotion.frag Add some tests for LUT promotion. 2018-07-05 14:14:18 +02:00
mix.frag Enhance MSL testing and add numerous MSL test cases. 2017-01-30 22:55:21 -05:00
mrt-array.frag Properly flatten MRT outputs in MSL. 2018-03-13 14:03:35 +01:00
packed-expression-vector-shuffle.frag Deal with packed expressions in more scenarios. 2018-05-25 10:57:02 +02:00
packing-test-3.frag Add some more MSL test shaders. 2018-03-05 16:42:38 +01:00
pls.frag Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
readonly-ssbo.frag Add test for reading SSBO from fragment shader on MSL. 2018-05-25 10:20:17 +02:00
sample-depth-separate-image-sampler.frag Fix depth image usage in MSL for separate image/samplers. 2018-02-10 10:55:10 +01:00
sample-mask.frag CompilerMSL support gl_SampleMask and convert it to scalar uint from array. 2018-02-13 14:44:40 -05:00
sample-position-func.frag MSL: Handle the SamplePosition builtin. 2018-09-13 09:34:28 -05:00
sample-position.frag MSL: Handle the SamplePosition builtin. 2018-09-13 09:34:28 -05:00
sampler-1d-lod.frag Ignore LOD when sampling 1D textures in MSL. 2018-04-04 09:26:53 +02:00
sampler-image-arrays.msl2.frag Add test for sampler image arrays. 2018-04-04 09:41:20 +02:00
sampler-ms.frag Enhance MSL testing and add numerous MSL test cases. 2017-01-30 22:55:21 -05:00
sampler.frag Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
separate-image-sampler-argument.frag Fix separate sampler images in MSL. 2017-05-07 12:36:14 +02:00
shadow-compare-global-alias.frag Fix depth compare textures when used in functions without argument. 2018-04-10 12:31:13 +02:00
spec-constant-block-size.frag Support spec constant array size in blocks. 2018-02-23 15:11:45 +01:00
spec-constant-ternary.frag Support ternary expressions in OpSpecConstantOp. 2018-06-25 09:49:13 +02:00
swizzle.frag Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01:00
texel-fetch-offset.frag MSL: Fix support for texelFetchOffset. 2018-08-07 15:28:04 +02:00
texture-multisample-array.msl21.frag MSL: Support texture2d_ms_array. 2018-09-03 11:02:31 +02:00
texture-proj-shadow.frag Fix issue #239: compilation of shaders-msl/frag/texture-proj-shadow.frag. 2017-08-11 14:54:58 -04:00
ubo_layout.frag Enhance MSL testing and add numerous MSL test cases. 2017-01-30 22:55:21 -05:00
unary-enclose.frag Fix unary enclosures. 2017-07-24 10:17:19 +02:00
write-depth-in-function.frag MSL: Add test case for gl_FragDepth when used in function. 2018-08-29 09:21:48 +02:00