From dcc7c6f009afc0f55e79ced050b772ea9d3b25ae Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Thu, 21 Nov 2024 21:42:29 +0200 Subject: Enable some rendering tests (#5623) * render-test: Add copy-source usage for render targets I found that Slang-RHI/WGPU was not able to copy from render targets to staging buffers. This helps to address issue #4943. * Add entries to render API util infos Entries for glsl-cross and glsl-rewrite are added. Without glsl-cross, slang-test fails to select a back-end, and winds up crashing when tests/render/cross-compile-entry-point.slang is enabled tests/render/cross-compile0.hlsl fails similarly without glsl-rewrite. * Enable some rendering tests * Add expected test outputs --- tests/render/nointerpolation.hlsl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/render/nointerpolation.hlsl') diff --git a/tests/render/nointerpolation.hlsl b/tests/render/nointerpolation.hlsl index 0819849ac..a8d0c85e0 100644 --- a/tests/render/nointerpolation.hlsl +++ b/tests/render/nointerpolation.hlsl @@ -1,5 +1,8 @@ -//DISABLED_TEST(smoke):COMPARE_HLSL_RENDER: -//DISABLED_TEST(smoke):COMPARE_HLSL_RENDER: -dx12 +//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 // Confirm that the `nointerpolation` modifier // makes it through Slang codegen with the -- cgit v1.2.3