diff options
| author | Yong He <yonghe@outlook.com> | 2020-12-03 08:23:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-03 08:23:05 -0800 |
| commit | 44c0a56974b664e50b2cb8cb6f10740b19c4e02f (patch) | |
| tree | d6141003be376bdb2c0037178b649b6b2aae673e /tests/compute/global-type-param2.slang | |
| parent | ad5dda9261bae63e32bcb914b109fcb5c92faf25 (diff) | |
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 <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'tests/compute/global-type-param2.slang')
| -rw-r--r-- | tests/compute/global-type-param2.slang | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/compute/global-type-param2.slang b/tests/compute/global-type-param2.slang index d731e356a..39701f16f 100644 --- a/tests/compute/global-type-param2.slang +++ b/tests/compute/global-type-param2.slang @@ -1,11 +1,13 @@ //TEST(smoke,compute):COMPARE_COMPUTE: -//TEST_INPUT: cbuffer(data=[0.5 0 0 0], stride=4): -//TEST_INPUT: cbuffer(data=[1.0], stride=4): -//TEST_INPUT: Texture2D(size=4, content = zero): -//TEST_INPUT: Texture2D(size=4, content = one): -//TEST_INPUT: Sampler: -//TEST_INPUT: Sampler: -//TEST_INPUT: ubuffer(data=[0], stride=4):out + +//TEST_INPUT: ubuffer(data=[0], stride=4):out,name outputBuffer +//TEST_INPUT: cbuffer(data=[0.5 0 0 0], stride=4):name existingBuffer +//__disabled__TEST_INPUT: object(type=Impl):name impl +//TEST_INPUT: root_constants(data=[1.0], stride=4):name impl.base +//TEST_INPUT: Texture2D(size=4, content = zero):name tex1 +//TEST_INPUT: Texture2D(size=4, content = one):name impl.tex +//TEST_INPUT: Sampler:name sampler +//TEST_INPUT: Sampler:name impl.sampler //TEST_INPUT: type Impl |
