From f4d5372d3354e62770b076b47892b5172223e98a Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Wed, 12 Mar 2025 13:44:57 +0200 Subject: Migrate render-test away from deprecated compile request API (#6514) * Add a simple interface parameter test Since there's no documentation, it's nice to have a simple test case in order to experiment with this feature of the testing framework. * Add shader entry point attributes to tests * Fix specialization arguments for tests - Add some missing arguments - Rremove one extraneous argument. * Stop using deprecated compile request in render-test Use a session object instead of the deprecated compile request object. This closes issue #4760. --- tests/render/nointerpolation.hlsl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/render/nointerpolation.hlsl') diff --git a/tests/render/nointerpolation.hlsl b/tests/render/nointerpolation.hlsl index d514379d0..145bd3bed 100644 --- a/tests/render/nointerpolation.hlsl +++ b/tests/render/nointerpolation.hlsl @@ -41,6 +41,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -66,6 +67,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { FragmentStageOutput output; -- cgit v1.2.3