diff options
| author | Yong He <yonghe@outlook.com> | 2023-08-10 13:19:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-10 13:19:37 -0700 |
| commit | 60ebadab1ec269c7017148a028307a9b5f32b1d4 (patch) | |
| tree | d6e02ae04c06f4fb433eb36df1f40e0a9c97ab07 /tests/bugs | |
| parent | d4e72a93e13ab880b2f355fb7fb5d55cf0113c3d (diff) | |
Allow member lookup through modified type. (#3091)
* Allow member lookup through modified type.
* Disable `lockFileSync` test.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/gh-3086.slang | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs/gh-3086.slang b/tests/bugs/gh-3086.slang new file mode 100644 index 000000000..a4e9025c4 --- /dev/null +++ b/tests/bugs/gh-3086.slang @@ -0,0 +1,11 @@ +//TEST:SIMPLE(filecheck=CHECK): -entry MainCs -stage compute -profile glsl_450 -target spirv +//CHECK: EntryPoint + +[vk::image_format("rgba8")] +RWTexture2D < unorm float4 > DstColor ; + +[ numthreads ( 64 , 1 , 1 ) ] +void MainCs ( uint3 Gid : SV_GroupID , uint GI : SV_GroupIndex , uint3 GTid : SV_GroupThreadID , uint3 DTid : SV_DispatchThreadID ) +{ + DstColor [ 0 ] = float4 ( lerp ( DstColor [ 0 ].rgb, float3( 0, 0, 0 ), 1.0 ) , 1.0f ) ; +} |
