SPIRV-Cross/reference/opt/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 Only declare typed initializer list for non-array types. 2018-09-10 10:04:17 +02:00
basic.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
binary-func-unpack-pack-arguments.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
binary-unpack-pack-arguments.frag Regenerate MSL shaders to fix conflicts from merge. 2018-06-12 11:51:56 -04:00
bitcasting.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
builtins.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
composite-extract-forced-temporary.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
constant-array.frag MSL: Support copying array of arrays. 2018-09-12 09:54:55 +02:00
constant-composites.frag MSL: Support copying array of arrays. 2018-09-12 09:54:55 +02:00
control-dependent-in-branch.desktop.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04: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 CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
flush_params.frag Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01:00
for-loop-init.frag Update glslang/SPIRV-Tools on Travis. 2018-03-24 04:16:18 +01:00
fp16-packing.frag MSL: Handle interpolation qualifiers. 2018-09-05 12:02:07 -05:00
fp16.desktop.frag Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01:00
front-facing.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
gather-dref.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04: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 CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04: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 MSL: Support copying array of arrays. 2018-09-12 09:54:55 +02:00
mix.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
mrt-array.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04: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 Access chain into packed vectors as arrays. 2018-03-13 12:13:33 +01:00
pls.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04: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 Use declared binding in SPIR-V as a fallback for explicit MSL binds. 2018-04-04 12:25:11 +02: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 MSL: Handle interpolation qualifiers. 2018-09-05 12:02:07 -05:00
sampler-image-arrays.msl2.frag MSL: Handle interpolation qualifiers. 2018-09-05 12:02:07 -05:00
sampler-ms.frag Update test files 2018-01-29 06:40:45 -08:00
sampler.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
separate-image-sampler-argument.frag Use declared binding in SPIR-V as a fallback for explicit MSL binds. 2018-04-04 12:25:11 +02:00
shadow-compare-global-alias.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
spec-constant-block-size.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
spec-constant-ternary.frag Support ternary expressions in OpSpecConstantOp. 2018-06-25 09:49:13 +02:00
swizzle.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
texel-fetch-offset.frag Need to make sure the fetch expression is uint. 2018-08-07 16:02:17 +02:00
texture-multisample-array.msl21.frag MSL: Support texture2d_ms_array. 2018-09-03 11:02:31 +02:00
texture-proj-shadow.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
ubo_layout.frag Update tests. 2018-03-05 16:34:42 +01:00
unary-enclose.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04: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