Commit Graph

15401 Commits

Author SHA1 Message Date
J.C. Moyer
249f42f054 Add test for #2466 2023-05-21 16:42:48 -04: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
Jeroen van Rijn
963908e508 Merge pull request #2548 from ntn9995/fix_stb_truetype
add missing fields to fontinfo
2023-05-20 15:33:11 +02:00
ikarus
9e5677ab02 add missing fields to fontinfo 2023-05-20 20:07:41 +07:00
gingerBill
46bb9bc5c7 Enforce an icmp when casting to i1 to correct behaviour for booleans which are not 0 or 1 2023-05-20 12:41:30 +01:00
Jeroen van Rijn
118ab60588 Merge pull request #2521 from elusivePorpoise/main
remove misleading defer if example
2023-05-19 22:01:13 +02:00
Elusive Porpoise
223ae61c89 added error printing 2023-05-19 11:36:53 -07:00
Jeroen van Rijn
1f4baba06e Merge pull request #2479 from Naught00/master
Change default executable extension for non-Windows platforms
2023-05-19 20:09:39 +02:00
Mark Naughton
fa1ce7d5d1 Fix accidental check in 2023-05-19 18:56:35 +01:00
Mark Naughton
775a488a36 Fix windows write_directory() 2023-05-19 18:53:43 +01:00
Mark Naughton
018904f0ec Add write permissions check on output folder 2023-05-19 18:37:55 +01:00
Jeroen van Rijn
b358641e7d Merge pull request #2547 from laytan/parse-address-can-return-nil
fix parse_address can return nil
2023-05-19 19:28:24 +02:00
Laytan Laats
ff745e0ad8 fix parse_address can return nil 2023-05-19 19:14:25 +02:00
gingerBill
4201834b18 Make intrinsics.type_merge form a union of the types; ignoring duplicates 2023-05-19 12:11:18 +01:00
gingerBill
2631e07bea Add intrinsics.type_merge 2023-05-19 11:18:20 +01:00
Jeroen van Rijn
76a1851cb8 Merge pull request #2546 from kstreets/master
Fix #2545 - Typo in vec4 lerping procedures
2023-05-18 22:40:44 +02:00
KyleRhoads45
87a1792677 Fix #2545 - Typo in vec4 lerping procedures 2023-05-18 13:19:22 -07:00
Mark Naughton
413077a5d9 Fix single-file package case 2023-05-18 13:23:17 +01: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
3108752a0c Fix #2518 2023-05-18 11:55:37 +01:00
gingerBill
56c0d32ea0 Fix #2526 2023-05-18 11:52:16 +01:00
gingerBill
c0e84b0592 Fix #2536 2023-05-18 11:39:18 +01:00
gingerBill
f2e590be7a Fix #2544 2023-05-18 11:35:47 +01:00
gingerBill
60ec3594ab Remove unused variable 2023-05-18 11:29:27 +01:00
gingerBill
49d1f6aca0 Merge branch 'master' into separate-int-word-sizes 2023-05-18 11:26:57 +01:00
gingerBill
49cd9648b0 Merge pull request #2512 from jasonKercher/master
update os2 to match core changes
2023-05-18 11:26:16 +01:00
gingerBill
1692dcf8d5 Merge pull request #2514 from ryuukk/patch-2
Missing cast
2023-05-18 11:26:02 +01:00
gingerBill
5ec4719124 Merge pull request #2523 from jcmoyer/fix-2056
Zero non-diagonal elements when converting to matrix
2023-05-18 11:25:44 +01:00
gingerBill
911c98e235 Merge pull request #2525 from laytan/fix-buffer-init-cap-0-wrong-allocator
fix bytes.buffer_init_allocator not using given allocator if len/cap is 0
2023-05-18 11:24:27 +01:00
gingerBill
535c64c318 Merge pull request #2534 from Tetralux/fix-append-nothing-loc
[runtime] Pass along #caller_location in append_nothing()
2023-05-18 11:23:46 +01:00
gingerBill
171f38b9b5 Allow implicit conversion between boolean types within or_return
This is to improve the experience using third-party code, especially foreign C-like code which may use a distinct boolean or a different sized one
2023-05-18 11:06:02 +01:00
jason
b2645b3201 add rehash to map_shrink_dynamic 2023-05-17 00:06:31 -04:00
jason
a9936d1570 implement random map seed 2023-05-16 23:49:55 -04:00
jason
3032a4274d implement backward shift during map insertion 2023-05-16 16:56:32 -04:00
Jeroen van Rijn
31c21a054b Merge pull request #2543 from Yawning/fix/cpuid-test
core/sys/info: Fix the CPUID check
2023-05-16 17:04:42 +02:00
Yawning Angel
def4fdc3f3 core/sys/info: Fix the CPUID check
This needs to test that the n-th bit is set.
2023-05-16 23:52:15 +09:00
Jeroen van Rijn
3fed1af7df Merge pull request #2542 from Yawning/bug/cpuid-osxsave
core/sys/info: Workaround extremely rare XGETBV issues
2023-05-16 16:07:43 +02:00
Yawning Angel
adb4692ce8 core/sys/info: Workaround extremely rare XGETBV issues
Someone ran into this on Discord, so adopt the same workaround that
chrome did, by checking both OSXSAVE and XSAVE before calling XGETBV.

The old way of detecting AVX is correct per Intel, but such is life.
2023-05-16 22:56:16 +09:00
gingerBill
bb4ff84a4a Add extra mutex for error block stuff 2023-05-16 11:52:02 +01:00
Jeroen van Rijn
5d2c1b175e Merge pull request #2541 from laytan/add-hex-and-expand-percent-decoding
fix hex.encode and add tests for the package
2023-05-15 22:32:27 +02:00
Laytan Laats
2ab6de8ee4 fix hex.encode and add tests for the package 2023-05-15 20:52:07 +02:00
Jeroen van Rijn
1896ae5d15 Merge pull request #2533 from laytan/add-hex-and-expand-percent-decoding
add encoding/hex and use it to expand the percent decoding chars
2023-05-15 19:25:31 +02:00