SPIRV-Cross/reference/shaders-msl-no-opt/asm/frag
Hans-Kristian Arntzen 5b952d2cbf MSL: Rethink how opaque descriptors are passed to leaf functions.
We were passing arrays by value which the compiler fails to optimize,
causing abyssal performance. To fix this, we need to consider that
descriptors can be in constant or const device address spaces.

Also, lone descriptors are passed by value, so we explicitly remove address
space qualifiers.

One failure case is when shader passes a texture/sampler array as an
argument. It's all UniformConstant in SPIR-V, but in MSL it might be
thread, const device or constant, so that won't work ...
Global variable use works fine though, and that should cover 99.9999999%
of use cases.
2022-01-18 14:40:52 +01:00
..
component-insert-packed-expression.asm.frag MSL: Fix OpCompositeInsert and OpVectorInsertDynamic. 2020-09-02 10:27:39 +02:00
copy-memory-block-like-thread-local.asm.frag MSL: Support synthetic functions in function constants. 2021-09-28 19:10:16 -04:00
empty-struct-in-struct.asm.frag Implement constant empty struct correctly on all backends. 2019-10-26 16:10:11 +02:00
fixup-entry-point-identifier.nomain.asm.frag MSL: Handle reserved identifiers for entry point. 2021-01-04 09:40:11 +01:00
image-fetch-uint-coord.asm.frag Updates for pull request #1162 2019-09-24 14:35:25 -04:00
image-gather.asm.frag MSL: Fix regression in image gather handling. 2020-11-06 16:21:30 +01:00
image-type-normal-comparison-usage.asm.frag Updates for pull request #1162 2019-09-24 14:35:25 -04:00
input-attachment-unused-frag-coord.asm.frag MSL: Rethink how opaque descriptors are passed to leaf functions. 2022-01-18 14:40:52 +01:00
modf-frexp-scalar-access-chain-output.asm.frag Updates for pull request #1162 2019-09-24 14:35:25 -04:00
only-initializer-frag-depth.asm.frag Add test for pure initializer gl_FragDepth. 2021-01-07 15:32:15 +01:00
phi.zero-initialize.asm.frag Add support for forcefully zero-initialized variables. 2020-03-26 13:38:27 +01:00
pixel-interlock-callstack.msl2.asm.frag MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
pixel-interlock-control-flow.msl2.asm.frag MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
pixel-interlock-split-functions.msl2.asm.frag MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
private-initializer-direct-store.asm.frag MSL: Deal correctly with initializers on Private variables. 2020-04-21 11:20:49 +02:00
reserved-function-identifier.asm.frag Handle reserved identifiers for functions. 2021-01-04 10:00:12 +01:00
scalar-select.spv14.asm.frag Handle SPIR-V 1.4 selection constructs. 2021-06-28 12:23:44 +02:00
subgroup-arithmetic-cast.msl21.asm.frag MSL: Deal with sign on wave min/max. 2020-01-09 12:35:18 +01:00
switch-block-case-fallthrough.asm.invalid.frag Updates for pull request #1162 2019-09-24 14:35:25 -04:00
texture-access.swizzle.asm.frag Deal better with CompositeExtract from constant composite. 2021-01-22 12:30:16 +01:00
usage-tracking-modf-io-pointer.asm.frag Handle Modf/Frexp in more cases. 2021-11-07 11:36:44 +01:00
vector-shuffle-undef-index.asm.frag Updates for pull request #1162 2019-09-24 14:35:25 -04:00