Silk.NET/documentation
Beyley Thomas 007d1607bb
WebGPU bindings (#1114)
* Initial Generation

* Update generation to remove Impl suffix

* WebGPUTest: Get API, create instance, get adapter, device, and create shader, plus error handling

* WebGPU: WGPUBindGroupLayout -> BindGroupLayout

* Begin porting https://github.com/gfx-rs/wgpu-native/tree/master/examples/compute

* Almost get compute working

* WGPU extension

* Actually commit the generator.json changes

* Properly support IsDeviceExtensionPresent and TryGetDeviceExtension

* Add WGPU extension to solution

* Add Silk.NET.Windowing.Extensions.WebGPU to create surface from window

* Fix naming of Silk.NET.Windowing.Extensions.WebGPU

* Formatting

* WebGPUTriangle: Get surface

* Add android support to WebGPU windowing extension

* Make WebGPU surface creation take a IView instead of an IWindow

* Create adapter and device

* WebGPUTriangle: Shader creation

* WebGPUTriangle: Create pipeline

* TEMPORARY FIX: make Wgpu.gen.cs *manually* be an extension of the right type
@Perksey help pls

* HACK: manually import namespace, this struct is either in the wrong namespace or in the wrong project

* Get triangle on screen

* Hack to fix missing wgpuGetProcAddress function in wgpu-native

* WebGPUTriangle: Manually free all resources

* Dawn extension, V1

* Make WebGPU extensions generate with the right core name

* Make function pointer wrappers generate with the right namespace

* Implement getting of Dawn extension, and add to solution

* Add beginning of disposal wrapper

* Dont generate double structs and enums

* Dont write duplicate functions

* Remove accidental print statements

* Dont duplicate overloads too

* WebGPU Disposal: Fix disposal wrapper for TextureView

* WebGPU Disposal: Add almost all remaining objects

* WebGPUWindow: Add optional Instance parameter

* Fore matting

* Format WebGPU experiments

* Fix WebGPU compute test
NOTE: this currently only works on wgpu, not Dawn

* Properly generate enum types in fields

* Fix examples to use proper enums

* Make WebGPU surface creation an extension method on IView

* Some formatting in WebGPUTriangle to fix warnings

* WebGPUTriangle: Remove useless string concatenation in warning message

* why

* WebGPUWindow: Move to platform not supported exctepion

* Move WebGPU surface creation to Silk.NET.WebGPU

* Fix class name being wrong in clang backend

* WebGPUSurface: Formatting

* Update Assimp binaries (#1129)

* Update Vulkan Loader binaries (#1128)

* Update GLFW binaries (#1127)

* GlfwWindow: Various fixes
Apply WindowOptions.IsContextControlDisabled/ShouldSwapAutomatically
Dont set context version window hints if theres no API
Dont set OpenGLForwardCompat or OpenGLDebugContext on non-OpenGL
Dont set context profile on non-OpenGL
Use Glfw.DontCare in more places
Some reformatting

* Begin working on textured quad example

* Update ImageSharp from 2.1.0 -> 2.1.3

* texture ON screen

* WebGPUTexturedQuad: Move shader to separate file

* Port CoreRTTest to latest ImageSharp
Does this test even need to exist still???

* Remove unnessesary hack in GlfwWindow
Turns out i read the source wrong

* WebGPUTexturedQuad: 2d projection matrix to keep the quad the same size always

* Move WebGPUTexturedQuad to the lab

* Fix formatting in ProjectWriter

* Move TypeMapper to TryGetValue

* Fix formatting in ClassWriter

* BuildTools: Remove ClassName from Project

* BuildTools: More formatting fixes

* Fix more gneneera hsith

* Make core project check smarter

* WebGPUSurface: Add support for WASM/HTML Canvas surface creation
Now, we dont actually support WASM yet, but this code is here for that time (soon hopefully!)

* Update src/Core/Silk.NET.BuildTools/Cpp/Clang.cs

Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>

* Formatting fixes

* i didnt actually save the file (i dont use vscode that much i dont like how it doesnt save automatically)

* Fix generator.cs issues

* Clang: properly set flow for const pointers

* Fix surface creation and update WebGPU examples

* Update src/Core/Silk.NET.BuildTools/Generator.cs

Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>

* formatting fix i forgot to commit thanks vscode

* Fix WebGPU compute test

* Make Disposal project follow the rest of the extensions

* Add flag to prevent obsolete enum generation

* TypeMapper: Make TypeMapper native name check more thorough

* Update WebGPU compute sample to latest bindings

* Fix webgpu compute test again

Co-authored-by: silkdotnet <85832961+silkdotnet@users.noreply.github.com>
Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>
2022-11-09 19:06:33 +00:00
..
deprecation-notices Create VulkanViews.md 2020-05-01 14:23:49 +01:00
proposals WebGPU bindings (#1114) 2022-11-09 19:06:33 +00:00
readme This is the November 2021 Update (v2.10.0) (#671) 2021-11-06 00:15:09 +00:00
structure-chaining Vulkan struct chaining (#706) 2021-12-03 11:31:39 +00:00