From 74f60d03a50b69eb985cdaa892556ed93b6f218a Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sun, 31 Dec 2023 16:32:01 +0100 Subject: [PATCH] Improve DefaultThreadGroupSizes XML docs --- .../Enums/DefaultThreadGroupSizes.cs | 60 +++++++++++++++---- 1 file changed, 47 insertions(+), 13 deletions(-) diff --git a/src/ComputeSharp/Attributes/Enums/DefaultThreadGroupSizes.cs b/src/ComputeSharp/Attributes/Enums/DefaultThreadGroupSizes.cs index 8bb5b55f..ff4600f0 100644 --- a/src/ComputeSharp/Attributes/Enums/DefaultThreadGroupSizes.cs +++ b/src/ComputeSharp/Attributes/Enums/DefaultThreadGroupSizes.cs @@ -12,7 +12,11 @@ public enum DefaultThreadGroupSizes /// Indicates a shader dispatch only along the X axis. /// /// - /// This applies to using or . + /// This applies to using: + /// + /// . + /// . + /// /// X = 1 << 0, @@ -20,8 +24,13 @@ public enum DefaultThreadGroupSizes /// Indicates a shader dispatch only along the Y axis. /// /// - /// This applies to using or , - /// but only as long as the input dispatch size on both the X and Z axes is 1. Using any other combination will not be able to leverage the precompiled shader bytecode. + /// This applies to using: + /// + /// . + /// . + /// + /// But only as long as the input dispatch size on both the X and Z axes is 1. + /// Using any other combination will not be able to leverage the precompiled shader bytecode. /// Y = 1 << 1, @@ -29,8 +38,13 @@ public enum DefaultThreadGroupSizes /// Indicates a shader dispatch only along the Z axis. /// /// - /// This applies to using or , - /// but only as long as the input dispatch size on both the X and Y axes is 1. Using any other combination will not be able to leverage the precompiled shader bytecode. + /// This applies to using: + /// + /// . + /// . + /// + /// But only as long as the input dispatch size on both the X and Y axes is 1. + /// Using any other combination will not be able to leverage the precompiled shader bytecode. /// Z = 1 << 2, @@ -38,9 +52,15 @@ public enum DefaultThreadGroupSizes /// Indicates a shader dispatch along the X and Y axes. /// /// - /// This applies to using , , - /// , , - /// or . + /// This applies to using: + /// + /// . + /// . + /// . + /// . + /// . + /// .. + /// /// XY = X | Y, @@ -48,8 +68,13 @@ public enum DefaultThreadGroupSizes /// Indicates a shader dispatch along the X and Z axes. /// /// - /// This applies to using or , - /// but only as long as the input dispatch size on the Y axis 1. Using any other combination will not be able to leverage the precompiled shader bytecode. + /// This applies to using: + /// + /// . + /// . + /// + /// But only as long as the input dispatch size on the Y axis 1. + /// Using any other combination will not be able to leverage the precompiled shader bytecode. /// XZ = X | Z, @@ -57,8 +82,13 @@ public enum DefaultThreadGroupSizes /// Indicates a shader dispatch along the Y and Z axes. /// /// - /// This applies to using or , - /// but only as long as the input dispatch size on the X axis 1. Using any other combination will not be able to leverage the precompiled shader bytecode. + /// This applies to using: + /// + /// . + /// . + /// + /// But only as long as the input dispatch size on the X axis 1. + /// Using any other combination will not be able to leverage the precompiled shader bytecode. /// YZ = Y | Z, @@ -66,7 +96,11 @@ public enum DefaultThreadGroupSizes /// Indicates a shader dispatch along the X, Y and Z axes. /// /// - /// This applies to using or . + /// This applies to using: + /// + /// . + /// . + /// /// XYZ = X | Y | Z } \ No newline at end of file