diff options
| author | Yong He <yonghe@outlook.com> | 2024-10-08 13:29:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-08 13:29:57 -0700 |
| commit | c42a9faad8d84f7bd05457d5f8e1fe45d6eecfa2 (patch) | |
| tree | f6b5a249074882755e0232b1c9560118b7ccd6b2 /tests/wgsl | |
| parent | 50f44c178de4c614dc45fc48938e6881c0373f6a (diff) | |
Overhaul docgen tool and setup CI to generate stdlib reference. (#5232)
* Overhaul docgen tool and setup CI to generate stdlib reference.
* Fix build error.
* Write parsed doc for all decls.
* fix.
* fix callout.
* Fix.
* Fix comment.
* Fix.
* Delete obsolete doc tests.
* Fix.
* Categorize functions and types.
* Fix CI.
* Update comments.
Diffstat (limited to 'tests/wgsl')
| -rw-r--r-- | tests/wgsl/texture-gather.slang | 8 | ||||
| -rw-r--r-- | tests/wgsl/texture-load.slang | 6 | ||||
| -rw-r--r-- | tests/wgsl/texture-sampler-less.slang | 8 | ||||
| -rw-r--r-- | tests/wgsl/texture.slang | 8 |
4 files changed, 15 insertions, 15 deletions
diff --git a/tests/wgsl/texture-gather.slang b/tests/wgsl/texture-gather.slang index a95428a1d..b77ec9f8f 100644 --- a/tests/wgsl/texture-gather.slang +++ b/tests/wgsl/texture-gather.slang @@ -69,7 +69,7 @@ TextureCubeArray<uint4> tCubeArray_u32v4; // depth __generic<let sampleCount:int=0, let format:int=0> -typealias Depth2D = __TextureImpl< +typealias Depth2D = _Texture< float, __Shape2D, 0, // isArray @@ -82,7 +82,7 @@ typealias Depth2D = __TextureImpl< >; __generic<let sampleCount:int=0, let format:int=0> -typealias Depth2DArray = __TextureImpl< +typealias Depth2DArray = _Texture< float, __Shape2D, 1, // isArray @@ -95,7 +95,7 @@ typealias Depth2DArray = __TextureImpl< >; __generic<let sampleCount:int=0, let format:int=0> -typealias DepthCube = __TextureImpl< +typealias DepthCube = _Texture< float, __ShapeCube, 0, // isArray @@ -108,7 +108,7 @@ typealias DepthCube = __TextureImpl< >; __generic<let sampleCount:int=0, let format:int=0> -typealias DepthCubeArray = __TextureImpl< +typealias DepthCubeArray = _Texture< float, __ShapeCube, 1, // isArray diff --git a/tests/wgsl/texture-load.slang b/tests/wgsl/texture-load.slang index cc49b8709..3e69ac5cf 100644 --- a/tests/wgsl/texture-load.slang +++ b/tests/wgsl/texture-load.slang @@ -81,7 +81,7 @@ Texture2DArray<uint4> t2DArray_u32v4; // depth __generic<let sampleCount:int=0, let format:int=0> -typealias Depth2D = __TextureImpl< +typealias Depth2D = _Texture< float, __Shape2D, 0, // isArray @@ -94,7 +94,7 @@ typealias Depth2D = __TextureImpl< >; __generic<let sampleCount:int=0, let format:int=0> -typealias Depth2DMS = __TextureImpl< +typealias Depth2DMS = _Texture< float, __Shape2D, 0, // isArray @@ -107,7 +107,7 @@ typealias Depth2DMS = __TextureImpl< >; __generic<let sampleCount:int=0, let format:int=0> -typealias Depth2DArray = __TextureImpl< +typealias Depth2DArray = _Texture< float, __Shape2D, 1, // isArray diff --git a/tests/wgsl/texture-sampler-less.slang b/tests/wgsl/texture-sampler-less.slang index 893e867b7..249803526 100644 --- a/tests/wgsl/texture-sampler-less.slang +++ b/tests/wgsl/texture-sampler-less.slang @@ -44,7 +44,7 @@ Sampler2DArray<float4> t2DArray_f32v4; SamplerCubeArray<float4> tCubeArray_f32v4; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias CombinedDepth2d = __TextureImpl< +typealias CombinedDepth2d = _Texture< T, __Shape2D, 0, // isArray @@ -57,7 +57,7 @@ typealias CombinedDepth2d = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias CombinedDepth2d_array = __TextureImpl< +typealias CombinedDepth2d_array = _Texture< T, __Shape2D, 1, // isArray @@ -70,7 +70,7 @@ typealias CombinedDepth2d_array = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias CombinedDepthcube = __TextureImpl< +typealias CombinedDepthcube = _Texture< T, __ShapeCube, 0, // isArray @@ -83,7 +83,7 @@ typealias CombinedDepthcube = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias CombinedDepthcube_array = __TextureImpl< +typealias CombinedDepthcube_array = _Texture< T, __ShapeCube, 1, // isArray diff --git a/tests/wgsl/texture.slang b/tests/wgsl/texture.slang index 49f730eeb..be098c9ca 100644 --- a/tests/wgsl/texture.slang +++ b/tests/wgsl/texture.slang @@ -36,7 +36,7 @@ Texture2DArray<float4> t2DArray_f32v4; TextureCubeArray<float4> tCubeArray_f32v4; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depth2d = __TextureImpl< +typealias depth2d = _Texture< T, __Shape2D, 0, // isArray @@ -49,7 +49,7 @@ typealias depth2d = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depth2d_array = __TextureImpl< +typealias depth2d_array = _Texture< T, __Shape2D, 1, // isArray @@ -62,7 +62,7 @@ typealias depth2d_array = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depthcube = __TextureImpl< +typealias depthcube = _Texture< T, __ShapeCube, 0, // isArray @@ -75,7 +75,7 @@ typealias depthcube = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depthcube_array = __TextureImpl< +typealias depthcube_array = _Texture< T, __ShapeCube, 1, // isArray |
