From 44c0a56974b664e50b2cb8cb6f10740b19c4e02f Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 3 Dec 2020 08:23:05 -0800 Subject: Add shader object parameter binding to renderer_test. (#1622) * Add shader object parameter binding to renderer_test. * remove multiple-definitions.hlsl * Fix cuda implementation. Co-authored-by: Tim Foley --- tests/compute/global-type-param-array.slang | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/compute/global-type-param-array.slang') diff --git a/tests/compute/global-type-param-array.slang b/tests/compute/global-type-param-array.slang index ac514901f..f763f49fd 100644 --- a/tests/compute/global-type-param-array.slang +++ b/tests/compute/global-type-param-array.slang @@ -1,6 +1,7 @@ //TEST(compute):COMPARE_COMPUTE: -//TEST_INPUT: cbuffer(data=[1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0], stride=4): -//TEST_INPUT: ubuffer(data=[0], stride=4):out + +//TEST_INPUT: cbuffer(data=[1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0], stride=4):name impl +//TEST_INPUT: ubuffer(data=[0], stride=4):out,name outputBuffer //TEST_INPUT: type Pair, Pair , Base> > RWStructuredBuffer outputBuffer; -- cgit v1.2.3