wgpu/naga/tests/out/msl
Jamie Nicol baecb5fbf1
[wgsl-in] Ensure textureSampleLevel's level argument is an integer for depth textures (#6529)
Until now we accepted a float, as is the case for non-depth textures.
This makes us compliant with the spec.

The validator is updated to expect an Sint or Uint when the ImageClass
is ImageClass::Depth. The SPIR-V frontend converts the LOD argument
from float to Sint (assuming that it is representable), likewise The
SPIR-V backend now converts the LOD from either Sint or Uint to
Float. HLSL and MSL backends require no changes as they implicitly do
that conversion. GLSL does not support non-compare LOD samples,
therefore no changes are required.
2024-11-18 12:05:04 +00:00
..
6438-conflicting-idents.msl fix(msl-out): use namer for <fun>{Input,Output} structs 2024-10-22 10:14:26 -04:00
abstract-types-const.msl [naga wgsl-in] Proper singular generic in vec and matrix (#6189) 2024-09-02 14:04:51 +02: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] Proper singular generic in vec and matrix (#6189) 2024-09-02 14:04:51 +02:00
access.msl [naga] Move array-by-value snapshot tests to index-by-value.wgsl. 2024-10-11 08:27:15 -07: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
atomicCompareExchange.msl [naga msl-out] Implement atomicCompareExchangeWeak for MSL backend (#6265) 2024-10-10 12:45:24 +02:00
atomicOps-int64-min-max.msl [naga, hal] miscellaneous fixes for Atomic64 support (#5952) 2024-07-13 19:17:59 -07:00
atomicOps.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
binding-arrays.msl remove BoundsCheckPolicies.image_store 2024-07-26 10:44:22 -07:00
bitcast.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bits.msl Add parsing support for un/pack4xI/U8 2024-05-14 17:57:04 +02:00
boids.msl [naga msl-out] Defeat the MSL compiler's infinite loop analysis. 2024-09-18 11:01:51 -04:00
bounds-check-image-restrict.msl remove BoundsCheckPolicies.image_store 2024-07-26 10:44:22 -07:00
bounds-check-image-rzsw.msl remove BoundsCheckPolicies.image_store 2024-07-26 10:44:22 -07:00
bounds-check-restrict.msl [naga] Extend snapshot tests for bounds checks. 2024-10-08 11:53:15 -07:00
bounds-check-zero-atomic.msl [naga] Extend snapshot tests for bounds checks. 2024-10-08 11:53:15 -07:00
bounds-check-zero.msl [naga] Extend snapshot tests for bounds checks. 2024-10-08 11:53:15 -07:00
break-if.msl [naga msl-out] Defeat the MSL compiler's infinite loop analysis. 2024-09-18 11:01:51 -04:00
collatz.msl [naga msl-out] Defeat the MSL compiler's infinite loop analysis. 2024-09-18 11:01:51 -04:00
const-exprs.msl [naga] Teach the constant evaluator vector/vector operators. 2023-12-12 12:48:10 +01:00
constructors.msl [naga wgsl-in] Proper singular generic in vec and matrix (#6189) 2024-09-02 14:04:51 +02:00
control-flow.msl [naga msl-out] Defeat the MSL compiler's infinite loop analysis. 2024-09-18 11:01:51 -04:00
cross.msl test(wgsl): check that vec3 args. are accepted in cross built-in 2024-08-28 13:26:54 -04:00
do-while.msl [naga msl-out] Defeat the MSL compiler's infinite loop analysis. 2024-09-18 11:01:51 -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
fetch_depth.msl [spv-in] sampling from depth textures returns a scalar and is splatted (#6384) 2024-10-11 20:24:16 +02: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 [wgsl-in] Ensure textureSampleLevel's level argument is an integer for depth textures (#6529) 2024-11-18 12:05:04 +00: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_compat.msl test(wgsl): test explicit center with {perspective,linear} interpolation 2024-09-04 15:08:56 -04:00
interpolate.msl test(wgsl): test explicit center with {perspective,linear} interpolation 2024-09-04 15:08:56 -04:00
math-functions.msl [naga] Implement quantizeToF16 (#6519) 2024-11-12 12:05:19 +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-atomicCompareExchangeWeak.msl [naga msl-out] Implement atomicCompareExchangeWeak for MSL backend (#6265) 2024-10-10 12:45:24 +02:00
overrides-ray-query.msl [naga msl-out] Defeat the MSL compiler's infinite loop analysis. 2024-09-18 11:01:51 -04:00
overrides.msl [naga] add Expression::Override to needs_pre_emit 2024-04-22 08:38:31 -07:00
padding.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
phony_assignment.msl [naga] Handle phony statements properly by treating them as named expressions (#6328) 2024-09-27 14:52:53 -07:00
policy-mix.msl [naga wgsl-in] Proper singular generic in vec and matrix (#6189) 2024-09-02 14:04:51 +02: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 [naga msl-out] Defeat the MSL compiler's infinite loop analysis. 2024-09-18 11:01:51 -04:00
resource-binding-map.msl Move naga to subfolder 2023-10-25 14:25:04 -04:00
shadow.msl [naga msl-out] Defeat the MSL compiler's infinite loop analysis. 2024-09-18 11:01:51 -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
subgroup-operations-s.msl ADD metal namespace for uint4 (#6417) 2024-10-17 11:45:29 +02:00
subgroup-operations.msl ADD metal namespace for uint4 (#6417) 2024-10-17 11:45:29 +02: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
vertex-pulling-transform.msl Add an experimental vertex pulling flag to Metal pipelines. 2024-05-30 13:08:59 +02: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