Skip to content

Commit aca600d

Browse files
semi-reasonable performance
1 parent 6a1c8be commit aca600d

101 files changed

Lines changed: 11983 additions & 6685 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ImageSharp.Drawing.sln

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageSharp.Drawing.WebGPU",
341341
EndProject
342342
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebGPUWindowDemo", "samples\WebGPUWindowDemo\WebGPUWindowDemo.csproj", "{2541FDCD-78AC-40DB-B5E3-6A715DC132BA}"
343343
EndProject
344+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageSharp.Drawing.WebGPU.ShaderGen", "src\ImageSharp.Drawing.WebGPU.ShaderGen\ImageSharp.Drawing.WebGPU.ShaderGen.csproj", "{C7606104-5D58-4670-912C-3F336606B02D}"
345+
EndProject
344346
Global
345347
GlobalSection(SolutionConfigurationPlatforms) = preSolution
346348
Debug|Any CPU = Debug|Any CPU
@@ -423,6 +425,18 @@ Global
423425
{2541FDCD-78AC-40DB-B5E3-6A715DC132BA}.Release|x64.Build.0 = Release|Any CPU
424426
{2541FDCD-78AC-40DB-B5E3-6A715DC132BA}.Release|x86.ActiveCfg = Release|Any CPU
425427
{2541FDCD-78AC-40DB-B5E3-6A715DC132BA}.Release|x86.Build.0 = Release|Any CPU
428+
{C7606104-5D58-4670-912C-3F336606B02D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
429+
{C7606104-5D58-4670-912C-3F336606B02D}.Debug|Any CPU.Build.0 = Debug|Any CPU
430+
{C7606104-5D58-4670-912C-3F336606B02D}.Debug|x64.ActiveCfg = Debug|Any CPU
431+
{C7606104-5D58-4670-912C-3F336606B02D}.Debug|x64.Build.0 = Debug|Any CPU
432+
{C7606104-5D58-4670-912C-3F336606B02D}.Debug|x86.ActiveCfg = Debug|Any CPU
433+
{C7606104-5D58-4670-912C-3F336606B02D}.Debug|x86.Build.0 = Debug|Any CPU
434+
{C7606104-5D58-4670-912C-3F336606B02D}.Release|Any CPU.ActiveCfg = Release|Any CPU
435+
{C7606104-5D58-4670-912C-3F336606B02D}.Release|Any CPU.Build.0 = Release|Any CPU
436+
{C7606104-5D58-4670-912C-3F336606B02D}.Release|x64.ActiveCfg = Release|Any CPU
437+
{C7606104-5D58-4670-912C-3F336606B02D}.Release|x64.Build.0 = Release|Any CPU
438+
{C7606104-5D58-4670-912C-3F336606B02D}.Release|x86.ActiveCfg = Release|Any CPU
439+
{C7606104-5D58-4670-912C-3F336606B02D}.Release|x86.Build.0 = Release|Any CPU
426440
EndGlobalSection
427441
GlobalSection(SolutionProperties) = preSolution
428442
HideSolutionNode = FALSE
@@ -452,6 +466,7 @@ Global
452466
{23859314-5693-4E6C-BE5C-80A433439D2A} = {1799C43E-5C54-4A8F-8D64-B1475241DB0D}
453467
{061582C2-658F-40AE-A978-7D74A4EB2C0A} = {815C0625-CD3D-440F-9F80-2D83856AB7AE}
454468
{2541FDCD-78AC-40DB-B5E3-6A715DC132BA} = {528610AC-7C0C-46E8-9A2D-D46FD92FEE29}
469+
{C7606104-5D58-4670-912C-3F336606B02D} = {815C0625-CD3D-440F-9F80-2D83856AB7AE}
455470
EndGlobalSection
456471
GlobalSection(ExtensibilityGlobals) = postSolution
457472
SolutionGuid = {5F8B9D1F-CD8B-4CC5-8216-D531E25BD795}

samples/WebGPUWindowDemo/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static unsafe class Program
2828
{
2929
private const int WindowWidth = 800;
3030
private const int WindowHeight = 600;
31-
private const int BallCount = 50;
31+
private const int BallCount = 500;
3232

3333
// Silk.NET WebGPU API and windowing handles.
3434
private static WebGPU wgpu;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
; Shipped analyzer releases
2+
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
3+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
; Unshipped analyzer release
2+
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
3+
4+
### New Rules
5+
6+
Rule ID | Category | Severity | Notes
7+
--------|----------|----------|-------
8+
WGSLGEN001 | WGSL | Error | WgslSourceGenerator
9+
WGSLGEN002 | WGSL | Error | WgslSourceGenerator
10+
WGSLGEN003 | WGSL | Error | WgslSourceGenerator
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project Sdk="Microsoft.NET.Sdk">
3+
<PropertyGroup>
4+
<OutputType>Library</OutputType>
5+
<TargetFramework>netstandard2.0</TargetFramework>
6+
<Nullable>enable</Nullable>
7+
<LangVersion>latest</LangVersion>
8+
<ImplicitUsings>disable</ImplicitUsings>
9+
<IsPackable>false</IsPackable>
10+
<IncludeBuildOutput>false</IncludeBuildOutput>
11+
<IsAotCompatible>false</IsAotCompatible>
12+
<EnableAotAnalyzer>false</EnableAotAnalyzer>
13+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
14+
<NoWarn>$(NoWarn);RS1036;SA1513;SA1600;SA1633</NoWarn>
15+
<EnforceExtendedAnalyzerRules>false</EnforceExtendedAnalyzerRules>
16+
</PropertyGroup>
17+
18+
<ItemGroup>
19+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.14.0" PrivateAssets="all" />
20+
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="all" />
21+
</ItemGroup>
22+
</Project>

0 commit comments

Comments
 (0)