wgpu/naga/tests/out/hlsl
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.hlsl test: add regr. cvg. for conflicting idents. in shader I/O and locals 2024-10-22 10:14:26 -04:00
6438-conflicting-idents.ron test: add regr. cvg. for conflicting idents. in shader I/O and locals 2024-10-22 10:14:26 -04:00
access.hlsl [hlsl-out] add support for restricting indexing to avoid OOB accesses 2024-10-23 16:51:44 +02:00
access.ron [naga] Move array-by-value snapshot tests to index-by-value.wgsl. 2024-10-11 08:27:15 -07:00
array-in-ctor.hlsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
array-in-ctor.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
atomicOps-int64-min-max.hlsl [naga, hal] miscellaneous fixes for Atomic64 support (#5952) 2024-07-13 19:17:59 -07:00
atomicOps-int64-min-max.ron Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
atomicOps-int64.hlsl [naga, hal] miscellaneous fixes for Atomic64 support (#5952) 2024-07-13 19:17:59 -07:00
atomicOps-int64.ron Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
atomicOps.hlsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
atomicOps.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
binding-arrays.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
binding-arrays.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bitcast.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
bitcast.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bits.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
bits.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
boids.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
boids.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
break-if.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
break-if.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
collatz.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
collatz.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
const-exprs.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
const-exprs.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
constructors.hlsl [hlsl-out] Fix accesses on zero value expressions (#5587) 2024-04-24 10:40:08 +02:00
constructors.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
control-flow.hlsl [naga hlsl-out glsl-out] Work around backend loop/switch bugs. 2024-07-23 18:12:19 -07:00
control-flow.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
cross.hlsl test(wgsl): check that vec3 args. are accepted in cross built-in 2024-08-28 13:26:54 -04:00
cross.ron test(wgsl): check that vec3 args. are accepted in cross built-in 2024-08-28 13:26:54 -04:00
do-while.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
do-while.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
dualsource.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
dualsource.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
empty-global-name.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
empty-global-name.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
empty.hlsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
empty.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
f64.hlsl [naga] Support casting to f64 in the constant evaluator. 2023-11-23 12:17:21 +01:00
f64.ron [naga wgsl] Experimental 64-bit floating-point literals. 2023-11-23 12:17:21 +01:00
fetch_depth.hlsl [spv-in] sampling from depth textures returns a scalar and is splatted (#6384) 2024-10-11 20:24:16 +02:00
fetch_depth.ron [spv-in] sampling from depth textures returns a scalar and is splatted (#6384) 2024-10-11 20:24:16 +02:00
fragment-output.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
fragment-output.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
functions.hlsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
functions.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
globals.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
globals.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
hlsl-keyword.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
hlsl-keyword.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
image.hlsl [wgsl-in] Ensure textureSampleLevel's level argument is an integer for depth textures (#6529) 2024-11-18 12:05:04 +00:00
image.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
int64.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
int64.ron Add shader I64 and U64 support (#5154) 2024-03-12 12:34:06 +01:00
interface.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
interface.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
interpolate_compat.hlsl test(wgsl): test explicit center with {perspective,linear} interpolation 2024-09-04 15:08:56 -04:00
interpolate_compat.ron feat(wgsl): add first and either sampling for @interpolate(flat, …) (#6181) 2024-08-30 15:08:00 +00:00
interpolate.hlsl test(wgsl): test explicit center with {perspective,linear} interpolation 2024-09-04 15:08:56 -04:00
interpolate.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
inv-hyperbolic-trig-functions.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
inv-hyperbolic-trig-functions.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
math-functions.hlsl [naga] Implement quantizeToF16 (#6519) 2024-11-12 12:05:19 +01:00
math-functions.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
operators.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
operators.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
overrides.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
overrides.ron [spv/msl/hlsl-out] support pipeline constant value replacements 2024-04-05 18:07:41 +02:00
padding.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
padding.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
phony_assignment.hlsl [naga] Handle phony statements properly by treating them as named expressions (#6328) 2024-09-27 14:52:53 -07:00
phony_assignment.ron [naga] Handle phony statements properly by treating them as named expressions (#6328) 2024-09-27 14:52:53 -07:00
push-constants.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
push-constants.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
quad-vert.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
quad-vert.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
quad.hlsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
quad.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
shadow.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
shadow.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
skybox.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
skybox.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
standard.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
standard.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
struct-layout.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
struct-layout.ron test(naga): add struct-layout test 2023-11-22 03:54:16 -07:00
subgroup-operations-s.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
subgroup-operations-s.ron Subgroup Operations (#5301) 2024-04-17 15:25:52 -04:00
subgroup-operations.hlsl Subgroup Operations (#5301) 2024-04-17 15:25:52 -04:00
subgroup-operations.ron Subgroup Operations (#5301) 2024-04-17 15:25:52 -04:00
texture-arg.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
texture-arg.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
unconsumed_vertex_outputs_frag.hlsl Allow unconsumed inputs in fragment shaders (#5531) 2024-07-04 09:08:46 +02:00
unconsumed_vertex_outputs_frag.ron Allow unconsumed inputs in fragment shaders (#5531) 2024-07-04 09:08:46 +02:00
unconsumed_vertex_outputs_vert.hlsl Allow unconsumed inputs in fragment shaders (#5531) 2024-07-04 09:08:46 +02:00
unconsumed_vertex_outputs_vert.ron Allow unconsumed inputs in fragment shaders (#5531) 2024-07-04 09:08:46 +02:00
unnamed-gl-per-vertex.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
unnamed-gl-per-vertex.ron Add test case to naga/spv-in for an unnamed glPerVertex struct 2024-02-15 18:12:25 +01:00
workgroup-uniform-load.hlsl [hlsl-out] add support for restricting indexing to avoid OOB accesses 2024-10-23 16:51:44 +02:00
workgroup-uniform-load.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
workgroup-var-init.hlsl [naga hlsl-out] Use Baked for baked expressions. 2024-06-21 09:56:40 +02:00
workgroup-var-init.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00