Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMASharp rebase #1253

Merged
merged 254 commits into from
Jan 23, 2023
Merged

VMASharp rebase #1253

merged 254 commits into from
Jan 23, 2023

Conversation

Beyley
Copy link
Contributor

@Beyley Beyley commented Jan 23, 2023

Summary of the PR

Rebase the vmasharp branch onto main

Perksey and others added 30 commits September 3, 2021 21:21
* Update common.props

* Update bindings for 2.8

* Update common.props

* Update common.props

* Fix build
* Added net6.0 target

* Added a NativeMemoryPtr to GlobalMemory

* Added NativeMemoryPtr usage to Free and Allocate in GlobalMemory

* Some preprocessor changes

* Changed preprocessors in Silk.NET.Core
* Update global.json

* Update build.yml

* Update deploy.yml
* Stop always generating & building legacy solutions

* Fixed broken references

Co-authored-by: ThomasMiz <32400648+ThomasMiz@users.noreply.github.com>
* File-level namespaces, WIP DXVA

* More DXVA work

* Revert ClassWriter changes

* Upversion ClangSharp

* Remove Debugger.Break

* Update log message

* Bugfixes after clang upgrade

* Clang change

* Rollback clang upgrade

* Add evntrace.h to generator.json (via a Native header in Silk.NET.Core)

* Rollback file-level namespaces

* Regeneration checkpoint, fix nested anonymous bug

* Workaround some decls giving birth to themselves

* Fix functionless definition being preferred

* Fix anonymous fields not being written

* Win32Extras, add more TFMs for MSFT bindings, fix fusion reactor on NS21

* Remove file-level namespaces, SourceLink tweaks

* Remove RESERVED

* Add CharSet to structs w/ chars (fixes bugs on older platforms)

* Fix #626

* Release notes & look in the MainModule directory in DefaultPathResolver
* License header moved to .editorconfig

* sln file reverted
* Fix incorrect character encoding in SdlKeyboard

* remove unneeded variable

* Fixed is not needed

* Use default & comment

* Update src/Input/Silk.NET.Input.Sdl/SdlKeyboard.cs

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

* Unconstrained

* warnings suppressed

* WIP: Adding BigInteger and Complex

* Keeping adding

* #if-ed unavailable API

* Other unavailable API #ifed

* I love typos

* Abs for Complex added. Tests

* Tests added

* notnull constraint added

* Suppress moved out of #if

* MathFPort constraints changed to notnull
* Scalar.As added BigInteger and Complex

Now T4-backed

* but i included those files????

* Working on intermediate casts

* Fixing intermediate casts

* PR review fixes

* PR comments

* Update src/Maths/Silk.NET.Maths/Scalar.As.tt

Co-authored-by: Kai Jellinghaus <contact@kaij.tech>

* Ran the template

Co-authored-by: Kai Jellinghaus <contact@kaij.tech>
* Added and implemented IViewProperties.Samples

* Added Samples to ViewImplementationBase

* Set window-framebuffer related attribs before SDL window creation
* Scalar bitwise things

* A few tests

* Double to be reinterpreted as ulong
* Update Proposal - Bitwise - Scalar.md

* Update Proposal - Vectorization - SIMD.md

* AllBitsSet added
* Build improvements & dynamic Windows SDK resolution (backport from 3.0)

* Changes to some code formatting

* Fix build errors

* Fix build error

* Enhanced typedef-powered renaming

* Fix #652

* Marshal generic pointers in COM vtable wrapper functions

* String generation improvements (fixes #630)

* Sanity check, remove JetBrains.Annotations
* Update CODEOWNERS

* Update CODEOWNERS

* Update CODEOWNERS
* Packaging improvements, NuGet readmes, and 2.10 release notes

* Fix GitHub README rendering issues

* Attempt to fix whitespace

* push push push push push push push

* Actually fix whitespace

* Update common.props

* Update Directory.Build.props
* Stop mutating image in OpenGL tutorials and use inverted UV instead

* Removed unused files
* Update global.json

* Update build.yml

* Update deploy.yml
Perksey and others added 22 commits December 2, 2022 13:31
* Add EGL display and surface to INativeWindow

* Update src/Windowing/Silk.NET.GLFW/GlfwNativeWindow.cs

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

* Update INativeWindow.cs

* Update SdlNativeWindow.cs

* Update src/Core/Silk.NET.Core/Contexts/INativeWindow.cs

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

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

Updates the requirements on [Microsoft.DotNet.ILCompiler](https://github.com/dotnet/runtime) to permit the latest version.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v7.0.0-preview.1.22076.8...v7.0.1)

---
updated-dependencies:
- dependency-name: Microsoft.DotNet.ILCompiler
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.0 to 17.4.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.4.0...v17.4.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [Nuke.Common](https://github.com/nuke-build/nuke) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/nuke-build/nuke/releases)
- [Changelog](https://github.com/nuke-build/nuke/blob/develop/CHANGELOG.md)
- [Commits](nuke-build/nuke@6.2.1...6.3.0)

---
updated-dependencies:
- dependency-name: Nuke.Common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add WGL

* Add missing typemaps

* Generator: If a debugger is attached, throw gasoline in the oven

* me when no GLenum

* https://cdn.discordapp.com/attachments/587346162802229298/1057067907537977384/structure.png

* Merge the 2 ifs

* the OPEN GRAPHICS LIBRARY making me ACT up

* Fix Vulkan typemap

* Add missing projects to solution

* Add missing project

Co-authored-by: Beyley Thomas <ep1cm1n10n123@gmail.com>
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](dotnet/BenchmarkDotNet@v0.13.2...v0.13.3)

---
updated-dependencies:
- dependency-name: BenchmarkDotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add d3d11on12 bindings

* Move d3d11on12 to extension

* Revert "Move d3d11on12 to extension"

Its easier to do this trust me

This reverts commit ac1beb6.

* Fix namespace and stage generator.json

* Add project to solution
* Added first and second OpenGL tutorials

Co-authored-by: ThomasMiz <32400648+ThomasMiz@users.noreply.github.com>
* Fix to ImGuiVulkan Experiment to run on MacOSX

* Pointing to the correct lib on OSX

The MoltenVK library (dylib) is considered as an ICD (Installable Client Driver) by the Vulkan loader. The Vulkan loader dynamically loads ICDs at execution time. When using the Vulkan loader, ICDs are not linked directly to the application. Similarly, the Vulkan loader dynamically loads the layers at execution time. Layers are not linked directly to the application.
The MoltenVK library is a little unusual because it is built in such a way that an application can link to it directly and run MoltenVK (Vulkan subset) applications without using the loader and layers. But if you want to use the loader and layers, you don't link MoltenVK and the layers to your application. You link only the loader. The loader then dynamically loads the MoltenVK lib as an ICD and dynamically loads the layers if requested.

* Updating ImGuiVulkan project file

Updating to net6.0
Including Constants for different OSes

* Update ImGuiVulkan.csproj

Rolling back OS Constants

* Updating ImGui.Net Package

* Update ImGuiVulkanApplication.cs

Included KHR portability subset to work on MoltenVK.
Bit set into InstanceCreateInfo for Enumerate Portability.

The project works on MacOS 13.1 now on Apple Silicon.

* Fix MacOs Platform Detection

Using a different approach proposed by the corefx team.
* Attempt to add GLFW build for win-arm64

* When Build.Native changes, run GLFW

* Add SDL2 ARM64 dll

* Update GLFW binaries (#1177)

* Roll back vulkan loader

* Update swiftshader

Co-authored-by: silkdotnet <85832961+silkdotnet@users.noreply.github.com>
Ported and C#ified, but without the data structure allocation optimizations of the original
@Beyley Beyley changed the title Vmasharp rebase VMASharp rebase Jan 23, 2023
@Beyley Beyley mentioned this pull request Jan 23, 2023
@HurricanKai
Copy link
Member

I think I'd recommend just rebasing the original branch & force pushing. 2.5m line change is basically impossible to verify everything went smoothly

@Beyley
Copy link
Contributor Author

Beyley commented Jan 23, 2023

I think I'd recommend just rebasing the original branch & force pushing. 2.5m line change is basically impossible to verify everything went smoothly

Mostly just did this to make sure CI passed before i put it on the actual branch, even if there would be no actual damage since nothing depends on said branch

@Beyley Beyley merged commit b68eb03 into feature/vmasharp Jan 23, 2023
@Beyley Beyley deleted the vmasharp-rebase branch January 23, 2023 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.