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/cross-compile-entry-point.slang | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/render/cross-compile-entry-point.slang') diff --git a/tests/render/cross-compile-entry-point.slang b/tests/render/cross-compile-entry-point.slang index 816acbe1f..d8cb687c5 100644 --- a/tests/render/cross-compile-entry-point.slang +++ b/tests/render/cross-compile-entry-point.slang @@ -1,5 +1,4 @@ -// //TEST(render):COMPARE_HLSL_CROSS_COMPILE_RENDER: -// //TEST(render):COMPARE_HLSL_CROSS_COMPILE_RENDER: -dx12 +//TEST(render):COMPARE_HLSL_CROSS_COMPILE_RENDER: // This is a test to ensure that we can cross-compile a complete entry point. -- cgit v1.2.3