SPIRV-Cross/reference/opt/shaders-msl
Chip Davis b29f83c383 MSL: Add options to control emission of fragment outputs.
Like with `point_size` when not rendering points, Metal complains when
writing to a variable using the `[[depth]]` qualifier when no depth
buffer be attached. In that case, we must avoid emitting `FragDepth`,
just like with `PointSize`.

I assume it will also complain if there be no stencil attachment and the
shader write to `[[stencil]]`, or it write to `[[color(n)]]` but there
be no color attachment at n.
2020-04-13 15:29:11 -05:00
..
amd Updates for pull request #1162 2019-09-24 14:35:25 -04:00
asm MSL: Support ClipDistance as an input stage variable. 2019-12-02 13:19:42 +01:00
comp MSL: Add native array test for composite array initialization. 2020-02-24 13:34:51 +01:00
desktop-only MSL: Support ClipDistance as an input stage variable. 2019-12-02 13:19:42 +01:00
flatten MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
frag MSL: Add options to control emission of fragment outputs. 2020-04-13 15:29:11 -05:00
intel Updates for pull request #1162 2019-09-24 14:35:25 -04:00
legacy/vert Updates for pull request #1162 2019-09-24 14:35:25 -04:00
tesc MSL: Declare arrays with proper type wrapper. 2019-10-26 17:57:34 +02:00
tese MSL: Declare struct type explicitly. 2019-10-26 16:21:46 +02:00
vert MSL: Reinstate workaround for returning arrays. 2020-02-24 13:04:10 +01:00
vulkan Move all .invalid shaders into no-opt folders. 2019-11-05 13:19:19 -05:00