SPIRV-Cross/reference/opt/shaders-msl/frag
Hans-Kristian Arntzen eaf7afed97 MSL: Support argument buffers and image swizzling.
Change aux buffer to swizzle buffer.
There is no good reason to expand the aux buffer, so name it
appropriately.

Make the code cleaner by emitting a straight pointer to uint rather than
a dummy struct which only contains a single unsized array member anyways.

This will also end up being very similar to how we implement swizzle
buffers for argument buffers.

Do not use implied binding if it overflows int32_t.
2019-05-18 10:30:06 +02:00
..
16bit-constants.frag Always value-cast FP16 constants instead of using literals. 2019-02-20 12:30:01 +01:00
argument-buffers.msl2.argument.frag MSL: Emit correct SSBO constness for argument buffers. 2019-03-15 12:05:35 +01:00
array-lut-no-loop-variable.frag Only declare typed initializer list for non-array types. 2018-09-10 10:04:17 +02:00
array-of-texture-swizzle.msl2.argument.discrete.swizzle.frag MSL: Support argument buffers and image swizzling. 2019-05-18 10:30:06 +02:00
array-of-texture-swizzle.msl2.swizzle.frag MSL: Support argument buffers and image swizzling. 2019-05-18 10:30:06 +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
buffer-read-write.frag MSL: Support native texture_buffer type, throw error on atomics. 2019-04-23 12:21:43 +02:00
buffer-read-write.texture-buffer-native.msl21.frag MSL: Cast texture_buffer index to uint. 2019-04-23 12:46:48 +02:00
builtins.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
complex-expression-in-access-chain.frag Register implied expression reads in OpLoad/OpAccessChain. 2019-01-04 14:56:12 +01: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 Rewrite how IDs are iterated over. 2019-01-10 12:52:56 +01:00
constant-composites.frag Rewrite how IDs are iterated over. 2019-01-10 12:52:56 +01:00
control-dependent-in-branch.desktop.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
depth-greater-than.frag MSL: Split out early_fragment_tests. 2018-11-12 16:20:49 +01:00
depth-less-than.frag MSL: Split out early_fragment_tests. 2018-11-12 16:20:49 +01:00
dual-source-blending.frag Support dual-source blending on GLSL and MSL. 2018-04-03 16:04:49 +02:00
early-fragment-tests.frag MSL: Split out early_fragment_tests. 2018-11-12 16:20:49 +01: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 and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
fp16-packing.frag MSL: Handle interpolation qualifiers. 2018-09-05 12:02:07 -05:00
fp16.desktop.invalid.frag Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
fragment-component-padding.pad-fragment.frag MSL: Add option to pad fragment outputs. 2019-01-14 15:11:52 +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
helper-invocation.msl21.frag Support gl_HelperInvocation on GLSL and MSL. 2018-11-28 15:18:43 +01:00
illegal-name-test-0.frag Add more illegal name replacement in MSL. 2018-04-03 15:36:35 +02:00
in_block.frag MSL: Support global I/O block and struct Input/Output usage. 2018-09-13 16:04:24 +02:00
in_mat.frag Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02: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 MSL: Support global I/O block and struct Input/Output usage. 2018-09-13 16:04:24 +02:00
interpolation-qualifiers.frag MSL: Handle interpolation qualifiers. 2018-09-05 12:02:07 -05:00
lut-promotion.frag Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +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
nonuniform-qualifier.msl2.frag Fix nonuniform test for MSL. 2019-05-13 15:14:18 +02: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 Use a hook to emit a local for the sample position. 2018-09-17 11:51:09 -05:00
sample-position.frag Use a hook to emit a local for the sample position. 2018-09-17 11:51:09 -05:00
sampler-1d-lod.frag MSL: Handle interpolation qualifiers. 2018-09-05 12:02:07 -05:00
sampler-compare-cascade-gradient.frag MSL: Workaround missing gradient2d() for sampler_compare. 2019-01-07 10:01:00 +01:00
sampler-compare-cascade-gradient.ios.frag MSL: Workaround missing gradient2d() for sampler_compare. 2019-01-07 10:01:00 +01: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
shader-arithmetic-8bit.frag MSL: Fix another test incompatibility. 2019-01-30 17:22:38 +01:00
shadow-compare-global-alias.invalid.frag Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
spec-constant-block-size.frag Update tests. 2018-11-01 11:23:48 +01:00
spec-constant-ternary.frag Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
switch-unsigned-case.frag Fix unsigned switch case selectors. 2018-11-26 10:36:50 +01: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 HLSL/MSL: Fix texture projection with Dref. 2019-01-28 10:25:13 +01: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