From d282701ba76e9883d2b7be39ee614fe3bb4f5165 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Mon, 25 Nov 2024 16:05:13 +0200 Subject: Support interpolation modifiers for WGSL (#5641) * wgsl: Support interpolation modifiers * Move struct key decorations to flattened structs. ** This includes interpolation mode decorations, which must be in the flattened struct. * Emit interpolation attribute. * Enable tests/render/nointerpolation.hlsl for WGSL, as a result. This closes #5625. * Add new expected output for 'nointerpolation' test --- tests/render/nointerpolation.hlsl | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/render/nointerpolation.hlsl') diff --git a/tests/render/nointerpolation.hlsl b/tests/render/nointerpolation.hlsl index a8d0c85e0..d514379d0 100644 --- a/tests/render/nointerpolation.hlsl +++ b/tests/render/nointerpolation.hlsl @@ -1,6 +1,4 @@ //TEST(smoke):COMPARE_HLSL_RENDER: -// WGSL: nointerpolate doesn't work #5625 -//DISABLE_TEST(smoke):COMPARE_HLSL_RENDER: -wgpu // TODO: Investigate Metal failure //DISABLE_TEST(smoke):COMPARE_HLSL_RENDER: -mtl -- cgit v1.2.3