Hordur Johannsson
Hordur Johannsson
Contains few fixes required for d3d12. These are mainly alignment issues that came up with HLSL. The matrix ordering for StoredBuffers and constant buffers in HLSL is not always the...
Running textured-quad, sprite2d sysgpu examples on Windows / D3D12 fails. ``` zig build run-core-sysgpu-textured-quad mach\zig-out\bin\Shader@0x0000015909B90800(7,25): warning X3578: Output value 'vertex_main' is not completely initialized ``` If I change the shader...
Fixes https://github.com/hexops/mach/issues/1218 - [X] By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right...
Re-creating the swap chain fails when resizing a window. ``` thread 27560 panic: api error .\mach\src\sysgpu\d3d12.zig:1381:13: 0xe26772 in init (core-sysgpu-triangle.exe.obj) return error.CreateSwapChainFailed; ^ .\mach\src\sysgpu\d3d12.zig:504:9: 0xe27f75 in createSwapChain (core-sysgpu-triangle.exe.obj) return SwapChain.init(device,...
Added few extra keys. Changed exit code to 0 because these are normal exits. - [X] By selecting this checkbox, I agree to license my contributions to this project under...
If no text is being displayed then gfx.Text.updatePipeline leaks memory when used in d3d12. There is a defer on encoder.release but that does not seem to be sufficient to release...
The glyph texture uses the alpha channel to anti-alias fonts. This information is not correctly used in the text shader. ``` return vec4(color.rgb * c.a, color.a); ``` where c.a is...
- [X] By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do...
Mach includes a collection of function to determine if various 2D primitives collides. (this is related to https://github.com/hexops/mach/issues/1084) The primitives in the collision module are: * Point * Line (a...
* Added function to compute contacts between polygons and circles. * Added documentation for existing functions. * Fixed a bug in Line.collideLine. * Added more unit tests. Related to #1243...