Commit Graph

419 Commits

Author SHA1 Message Date
gingerBill
d82bfa98a7 Remove redundant comments 2023-06-07 23:01:08 +01:00
gingerBill
4a75a1e839 Merge branch 'master' into separate-int-word-sizes 2023-06-06 22:42:04 +01:00
Rehkitzdev
d8752da7d5 added webgl bindFramebuffer 2023-06-02 22:19:32 +02:00
Rehkitzdev
b52bf11ea5 fixed webgl BindFramebuffer parameter 2023-05-31 21:44:30 +02:00
gingerBill
0f392a95ae Merge pull request #2549 from NoahR02/update-vulkan
Update Vulkan
2023-05-24 23:17:06 +01:00
gingerBill
54b7cefb09 Fix lua.MAXSTACK 2023-05-24 10:21:53 +01:00
gingerBill
7958708641 Add missing class method to NS.Number 2023-05-22 20:43:41 +01:00
gingerBill
9fc9981a9e Update calling convention to the most appropriate
- "odin" if the `context` is needed for `assert`
- "contextless" if multiple return values are needed (better for optimizations)
- "c" otherwise
2023-05-22 15:04:33 +01:00
gingerBill
8f563df7c5 Use proc "c" calling convention in NS Foundation package 2023-05-22 14:59:24 +01:00
gingerBill
730192adc4 Add procedure groups for Device_newBuffer and Texture_newTextureView 2023-05-22 14:51:46 +01:00
NoahR02
87788142bf Generate the new vulkan files 2023-05-20 19:15:32 -04:00
NoahR02
f0b08a6c67 Add required metal types 2023-05-20 19:14:19 -04:00
NoahR02
a144a49a9a Parse vulkan video constants in seperate section and
add MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT to the base constants
2023-05-20 19:07:34 -04:00
NoahR02
2167f1b567 Make sure the 's' is after Flags and not the ext name 2023-05-20 18:58:40 -04:00
NoahR02
c5c723b80c Parse C bit fields in parse_structs 2023-05-20 18:42:49 -04:00
NoahR02
66461c9dbc Parse Vulkan Video headers 2023-05-20 18:28:39 -04:00
NoahR02
d77103e53e Add MicromapUsageEXT** to convert_type
We should probably parse this in parse_structs.
2023-05-20 18:18:50 -04:00
ikarus
9e5677ab02 add missing fields to fontinfo 2023-05-20 20:07:41 +07:00
gingerBill
d56fdd2937 Add fmt:"s,0" tags to UTF-16 strings in dxgi.odin 2023-05-18 12:00:23 +01:00
gingerBill
6639b7d017 Merge pull request #2500 from Ahsan-Sarbaz/master
Fixed a bug in DXGI
2023-05-18 11:57:55 +01:00
gingerBill
7702a488e5 Merge pull request #2474 from cshenton/patch-1
Add Dynamic Resource Root Signature flags
2023-05-18 11:56:35 +01:00
gingerBill
49d1f6aca0 Merge branch 'master' into separate-int-word-sizes 2023-05-18 11:26:57 +01:00
Clay Murray
8caadbacf7 lua MAXSTACK should be 1000000 on 32 bits OR greater
Code only checks if 4 bytes for `rawptr` size. However lua defines the macro (that I assume the odin code is based on) as:

```
/*
@@ LUAI_IS32INT is true iff 'int' has (at least) 32 bits.
*/
#define LUAI_IS32INT	((UINT_MAX >> 30) >= 3)
```

This error broke `upvalues` because it would be looking for the wrong index for lua to find them at.
2023-05-14 14:00:38 -06:00
j0-1
12c4afd824 Fixed incorrect header and typo 2023-05-11 11:26:16 -07:00
zhibog
60c29e195a Windows requires the botan-3 naming due to the new release 2023-05-03 21:35:06 +02:00
zhibog
6b23662ce6 Fix typo 2023-05-03 21:15:50 +02:00
zhibog
77d6364405 Try Windows 2022, since the windows tests failed. Likely because I compiled them on a newer version of VS. Also added another when statement to make sure Linux still uses botan-2, because they haven't updated 2023-05-03 21:12:27 +02:00
zhibog
077a611a5e Add Botan 3.0, comment some tests, due to removed algorithms 2023-05-03 20:55:11 +02:00
gingerBill
e82146bf17 Merge branch 'master' into separate-int-word-sizes 2023-05-03 17:06:37 +01:00
gingerBill
f8bdd42027 Revert "Unify foreign import for vendor:sdl2"
This reverts commit b2b88f1d99.
2023-05-02 12:06:41 +01:00
Ahsan-Sarbaz
808e7ed4ae Fixed Bug in DXGI 2023-05-01 00:16:20 +05:00
gingerBill
827f36e2c0 Update to Metal 3 2023-04-26 15:28:30 +01:00
Charlie Shenton
c7d4af5c79 Add Dynamic Resource Root Signature flags
Add flag values associated with dynamics resources (ResourceDescriptorHeap and SamplerDescriptorHeap) see https://microsoft.github.io/DirectX-Specs/d3d/HLSL_SM_6_6_DynamicResources.html for details
2023-04-22 16:39:01 +10:00
gingerBill
f5d9ca64f9 Begin work on new pseudo-architecture: wasm64p32 2023-04-20 12:02:32 +01:00
gingerBill
b2b88f1d99 Unify foreign import for vendor:sdl2 2023-04-20 11:27:36 +01:00
Jeroen van Rijn
ec3ea3752f Add Vulkan-Wayland to wrapper generator
Closes #2442
2023-04-08 13:26:38 +02:00
Jeroen van Rijn
d8e0a86600 Revert "Add VK Wayland"
This reverts commit 8b29b07f5a.
2023-04-08 09:54:02 +02:00
Jeroen van Rijn
8b29b07f5a Add VK Wayland
Closes #2442
2023-04-08 09:51:34 +02:00
gingerBill
eef44425c3 Default zlib foreign import 2023-04-05 17:39:56 +01:00
gingerBill
dcf53236ff Generalize the foreign import for unsupported platforms 2023-04-05 17:31:43 +01:00
gingerBill
97b2d1fe5c Update README.md 2023-04-05 17:26:48 +01:00
gingerBill
c5af69ffa6 Add vendor:lua/5.1 2023-04-05 17:25:30 +01:00
gingerBill
12d56103d9 Minor fixes 2023-04-05 16:52:27 +01:00
gingerBill
8ff713f3bb Add vendor:lua/5.2 2023-04-05 16:52:17 +01:00
gingerBill
03972d565e Alignment fix 2023-04-05 16:31:25 +01:00
gingerBill
4dcf253330 Add vendor:lua/5.3 2023-04-05 16:30:08 +01:00
gingerBill
012f386057 Add linux binaries 2023-04-05 16:16:48 +01:00
gingerBill
8c327567c0 Minor change to L_loadbuffer's signature 2023-04-05 16:05:39 +01:00
gingerBill
31bc982a53 Fix typo 2023-04-05 16:00:58 +01:00
gingerBill
cbd2d89637 Add LICENSE 2023-04-05 15:58:06 +01:00