Jesse Stiller
d4ea02a877
Extraneous parameters in hlsl/glsl.saturate removed
...
This is a breaking change to anyone who used glsl/hlsl.saturate functions prior, but the y and z parameters never were used and do not conform to how the saturate function works in HLSL: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-saturate
Note however GLSL does not contain a saturate function, but removing it does not accomplish anything good IMO.
2022-01-17 12:19:06 +10:00
gingerBill
2a325b3da0
Update ODIN_ENDIAN usage
2022-01-16 12:25:39 +00:00
gingerBill
f0529535e0
ODIN_ENDIAN changed to an enum constant; ODIN_ENUM_STRING is the new string version of the old constant
2022-01-15 17:53:18 +00:00
gingerBill
3f59c45740
Remove main creation in llvm_backend.cpp and have it done purely in the runtime package (partial bootstrapping)
2022-01-15 17:42:10 +00:00
gingerBill
29ebe0c3c9
Rename architecture 386 to i386
2022-01-15 17:40:00 +00:00
gingerBill
6c48670819
Make ODIN_BUILD_MODE a enum type
2022-01-15 17:34:35 +00:00
gingerBill
51dcbc80c3
Add LLVMAddMergedLoadStoreMotionPass on -debug -opt:0
2022-01-15 16:26:14 +00:00
gingerBill
9ecbadd457
Simplify procedure parameters callee logic
2022-01-15 16:16:11 +00:00
gingerBill
79f32d7b71
Remove unused lbDefer kind
2022-01-15 16:03:37 +00:00
gingerBill
7501cc2f17
Remove dead code
2022-01-15 16:01:23 +00:00
gingerBill
a390ef41f8
Fix swizzle logic within lb_build_assign_stmt_array
2022-01-15 15:55:01 +00:00
gingerBill
bb9c2f7aad
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-01-15 15:38:15 +00:00
gingerBill
6aa80ee8e4
Correct _start as an entry point
2022-01-15 15:38:09 +00:00
Jeroen van Rijn
0741bc37cc
Merge pull request #1427 from oskarnp/macos-linker-fix
...
Fix invalid linker flags passed to clang on macOS
2022-01-14 17:05:28 +01:00
oskarnp
c6ed3fa4b5
Fix invalid linker flags passed to clang on macOS
2022-01-14 10:48:41 -05:00
Jeroen van Rijn
e277102947
Merge pull request #1426 from jasonKercher/fix_queue
...
fix push_back and pop_front
2022-01-14 16:45:54 +01:00
CiD-
6cf5371d7d
fix push_back and pop_front
2022-01-14 10:17:49 -05:00
gingerBill
e15f714660
Define wasm _start entry point in Odin code
2022-01-13 15:18:47 +00:00
gingerBill
4f77151ebc
Merge pull request #1389 from ap29600/slice_scanner
...
Add slice/scanner proc
2022-01-13 14:10:17 +00:00
gingerBill
9a46463078
Merge pull request #1399 from kleeon/master
...
Fixed wrong function name in vendor/OpenGL/README.md
2022-01-13 12:06:53 +00:00
gingerBill
a0816bb581
Merge pull request #1424 from jasonKercher/os_linux
...
os_linux additions + libc to syscalls
2022-01-13 12:06:40 +00:00
gingerBill
b33ca6651e
Rename proc_* to entry_*
2022-01-13 12:05:22 +00:00
gingerBill
315a08f33f
Add main to proc_unix.odin
2022-01-13 12:04:42 +00:00
Jeroen van Rijn
50668fa7a6
Merge pull request #1425 from graphitemaster/more_linux_shared_library_fixes
...
Fixes for shared library initialization and finalization
2022-01-13 06:36:19 +01:00
Dale Weiler
ee260986a9
more fixes
2022-01-13 00:19:04 -05:00
gingerBill
c9bc759624
Correct calling convention
2022-01-12 23:04:31 +00:00
gingerBill
80f175cdb0
Add empty main dynamic builds for *nix systems
2022-01-12 20:40:34 +00:00
gingerBill
8f03811842
Fix typo
2022-01-12 20:30:34 +00:00
gingerBill
3def94505e
Add dynamic to error message for -build-mode
2022-01-12 20:28:11 +00:00
gingerBill
e30f16b1f3
Correct -init for *nix
2022-01-12 20:17:30 +00:00
gingerBill
7df93ea504
Initialize runtime.args__ through main
2022-01-12 20:16:46 +00:00
gingerBill
6209b02bf9
Add intrinsics._entry_point call to _odin_entry_point
2022-01-12 20:16:04 +00:00
gingerBill
75b7f2b9fe
Correct -init for *nix to be a different procedure
2022-01-12 20:13:38 +00:00
gingerBill
f1521aa980
Add proc_windows.odin for custom entry points
2022-01-12 20:10:23 +00:00
gingerBill
fb0a3ab7c1
Correct linkage for entry point procedures on Windows
2022-01-12 20:07:17 +00:00
CiD-
8eaafd5242
check correct errno in _readlink
2022-01-12 14:51:49 -05:00
CiD-
774951e8c0
os_linux additions + libc to syscalls
2022-01-12 14:36:18 -05:00
gingerBill
5ec93677a0
Correct look for entry point in llvm backend (Windows only currently)
2022-01-12 19:27:49 +00:00
gingerBill
7e4067c44c
Begin work to move entry point code to Odin itself rather than in C++ side
2022-01-12 19:19:43 +00:00
gingerBill
f2f6c3c67d
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-01-11 10:56:13 +00:00
gingerBill
847b05013f
Disable DEFAULT_TO_THREADED_CHECKER until race condition is found
2022-01-11 10:56:07 +00:00
gingerBill
d308473075
Merge pull request #1421 from graphitemaster/linux_shared_library_fixes
...
Linux shared library fixes
2022-01-10 23:18:04 +00:00
Dale Weiler
4334dbe69a
disable this warning
2022-01-10 18:00:38 -05:00
Dale Weiler
8f91e9307c
shared library fixes
2022-01-10 17:57:33 -05:00
gingerBill
32ec1162bf
Use more {} ctor
2022-01-10 14:52:47 +00:00
gingerBill
7cc265e14c
Add mutex guards for signature scopes
2022-01-10 14:50:28 +00:00
gingerBill
6f3e450c50
Move error handling code to a separate file
2022-01-10 14:03:36 +00:00
gingerBill
cb1080d56c
Fix check_procedure_bodies to allow multiple threads caused by a typo
2022-01-10 13:31:34 +00:00
gingerBill
80bd1eb615
Fix polymorphic matrix element with a minor hack
2022-01-10 12:19:49 +00:00
gingerBill
fb53402914
Merge pull request #1402 from jasonKercher/syscalls
...
add more Linux syscalls
2022-01-10 11:50:45 +00:00