wgpu/naga/tests/out/msl
Jim Blandy 2ad95b2774 [naga wgsl-in] Allow override expressions as local var initializers.
Allow `LocalVariable::init` to be an override expression.

Note that this is unrelated to WGSL compliance. The WGSL front end
already accepts any sort of expression as an initializer for
`LocalVariable`s, but initialization by an override expression was
handled in the same way as initialization by a runtime expression, via
an explicit `Store` statement.

This commit merely lets us skip the `Store` when the initializer is an
override expression, producing slightly cleaner output in some cases.
2024-04-05 18:07:41 +02:00
..
abstract-types-const.msl [naga] Rename abstract-types snapshots abstract-types-const. 2023-12-06 10:35:21 +01:00
abstract-types-operators.msl [naga wgsl] Let unary operators accept and produce abstract types. 2023-12-14 10:54:46 +01:00
abstract-types-var.msl [naga wgsl-in] Automatic conversions for local var initializers. 2023-12-06 10:35:21 +01:00
access.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
array-in-ctor.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
array-in-function-return-type.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
atomicOps.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
binding-arrays.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bitcast.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bits.msl Bitfield Fixes (#5305) 2024-02-29 20:50:42 +00:00
boids.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-image-restrict.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-image-rzsw.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-restrict.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-zero-atomic.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-zero.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
break-if.msl [naga wgsl-in] Fix parsing break ifs 2024-01-08 10:50:38 +01:00
collatz.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
const-exprs.msl [naga] Teach the constant evaluator vector/vector operators. 2023-12-12 12:48:10 +01:00
constructors.msl [const-eval] fix evaluation of bool constuctors 2024-04-05 18:07:41 +02:00
control-flow.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
do-while.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
dualsource.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
empty-global-name.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
empty.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
extra.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
fragment-output.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
functions.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
globals.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
image.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
int64.msl Add shader I64 and U64 support (#5154) 2024-03-12 12:34:06 +01:00
interface.msl Add more metal keywords (#4707) 2023-11-17 17:02:36 +01:00
interpolate.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
math-functions.msl feat(const_eval): impl. sign with new component_wise_signed 2024-01-30 10:53:03 +01:00
msl-varyings.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
operators.msl [naga] Change operators.wgsl to use values that matter. 2023-12-12 12:48:10 +01:00
overrides-ray-query.msl [naga] Adjust RayQuery statements in override processing. 2024-04-05 18:07:41 +02:00
overrides.msl [naga wgsl-in] Allow override expressions as local var initializers. 2024-04-05 18:07:41 +02:00
padding.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
policy-mix.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
quad-vert.msl [spv-in] Remove providing "perVertexStruct" for certain unnamed inputs 2024-02-15 18:12:25 +01:00
quad.msl fix(msl-out): emit and init struct member padding always 2023-11-22 03:54:16 -07:00
ray-query.msl Add more metal keywords (#4707) 2023-11-17 17:02:36 +01:00
resource-binding-map.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
shadow.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
skybox.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
standard.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
struct-layout.msl test(naga): add struct-layout test 2023-11-22 03:54:16 -07:00
texture-arg.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
unnamed-gl-per-vertex.msl Add test case to naga/spv-in for an unnamed glPerVertex struct 2024-02-15 18:12:25 +01:00
workgroup-uniform-load.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
workgroup-var-init.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00