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/half-structured-buffer.slang | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/compute/half-structured-buffer.slang') diff --git a/tests/compute/half-structured-buffer.slang b/tests/compute/half-structured-buffer.slang index 08323913e..abccfb32a 100644 --- a/tests/compute/half-structured-buffer.slang +++ b/tests/compute/half-structured-buffer.slang @@ -2,8 +2,6 @@ //Disable on Dx12 for now - because writing to structured buffer produces unexpected results //TEST_DISABLED(compute):COMPARE_COMPUTE:-dx12 -compute -use-dxil -profile cs_6_2 -render-features half -//TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], stride=16):out - struct Thing { uint pos; @@ -11,6 +9,7 @@ struct Thing half4 color; }; +//TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], stride=16):out,name outputBuffer RWStructuredBuffer outputBuffer; [numthreads(4, 1, 1)] -- cgit v1.2.3