1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-02 12:33:52 +00:00
Commit graph

74 commits

Author SHA1 Message Date
bjorn 0d30055dd7 webgpu/wasm updates;
Some compile fixes and a rename from gpu_wgpu to gpu_web, since wgpu
refers to a specific implementation of WebGPU and I'm really bad at
typing it for some reason.
2023-07-09 13:13:58 -07:00
bjorn 5904d3997e tup: stop linking libc++ statically;
This will break Android.  The proper fix there is to move the c++
library into the APK like CMake recently started doing.
2023-07-03 13:14:55 -07:00
bjorn 447e746d41 Rename desktop driver to simulator internally;
The HeadsetDriver enumerant remains the same for now.
2023-06-29 16:24:51 -07:00
bjorn 51e3da75e1 Make utf8 module optional; 2023-05-11 08:16:18 +01:00
bjorn edb65a7578 Update glslang; 2023-04-19 20:49:30 -07:00
bjorn abbc6a6dc6 Merge branch 'master' into dev 2023-02-21 21:12:33 -08:00
bjorn 04c4dee851 rm -Os from glslangValidator flags;
It's not necessary
2023-02-21 21:11:29 -08:00
bjorn 1bc7af2a31 tup: fully support renaming android package; 2023-02-05 22:02:04 -08:00
bjorn 2144b5f81d Backport Lua utf8 library; 2023-02-03 23:17:43 -08:00
bjorn b6d8546a6f Merge branch 'master' into dev 2023-01-02 16:46:55 -08:00
bjorn 4a25b22c4a tup: use vendored vulkan headers; 2022-12-30 22:04:27 -08:00
bjorn e12563ad25 Merge branch 'master' into dev 2022-12-16 21:21:05 -08:00
bjorn 58cc96414a Add flag to omit GLFW from build; 2022-12-10 20:29:36 -08:00
bjorn 9b02f8cace webgpu -> wgpu; 2022-12-03 14:15:28 -08:00
bjorn 1d4236c18e tup: wasm defaults to emcc/emxx; 2022-12-02 23:13:48 -08:00
bjorn b81f86b5ad rm Android flavors for now;
There used to be oculus and pico but pico doesn't work anymore.

Eventually things will converge on the standard loader and we won't
need different loaders, but manifests may require flavors.
2022-11-09 00:21:49 -08:00
bjorn 56b091227d tup: rm cc override; 2022-10-20 21:28:54 -07:00
bjorn 20cb0d1c0a Tiny tup fix; 2022-10-15 21:48:55 -07:00
bjorn f8ad6e58ba tup: Allow overriding cc/cxx; 2022-10-12 00:46:48 -07:00
bjorn adaef45e2f tup: use -Os when invoking glslangValidator;
Saves a bit of space.
2022-09-14 20:53:42 -07:00
bjorn c524d2c4fc tup: only use address sanitizer;
Undefined behavior sanitize hasn't been working in shared libraries and
it's annoying.
2022-08-22 20:18:07 -07:00
bjorn 5fd6ef0b8f tup: add -rdynamic; 2022-08-12 21:08:08 -07:00
bjorn ff0d397146 tup: fix empty android package; 2022-08-05 22:20:47 -07:00
bjorn 8a5c09ac1b tup: Add -fPIE; 2022-08-01 21:24:41 -07:00
bjorn b0c1dd5f12 Put nogame in its own file; 2022-07-06 23:50:43 -07:00
bjorn 4021d4e893 Pass:monkey;
Questionable.
2022-06-24 23:05:09 -07:00
bjorn de6edaef31 glslang uses static libstdc++; 2022-06-20 18:16:08 -07:00
bjorn 7de6bdf242 Shaders; Rework vertex formats; 2022-06-15 20:46:43 -07:00
bjorn 711a7df43b CMake can compile shaders; 2022-06-07 21:19:42 -07:00
bjorn a26e732ab0 Cleanup; 2022-06-07 20:42:06 -07:00
bjorn ff77a30f01 Default shaders; 2022-05-27 20:47:20 -07:00
bjorn de30337374 core/spv; 2022-05-22 15:02:42 -07:00
bjorn 9ae285afa7 Add glslang; 2022-05-09 11:45:15 -07:00
bjorn 0ee4a105c5 tup: add -s USE_WEBGPU properly; 2022-04-21 18:08:11 -07:00
bjorn 557f18ab3c Add gpu_webgpu;
Send help
2022-04-21 17:58:26 -07:00
bjorn 41dfd64548 tup: Don't export webxr_attach/webxr_detach if webxr is disabled; 2022-04-21 17:48:40 -07:00
bjorn 40e9a4ab73 core/gpu; 2022-04-21 17:39:59 -07:00
bjorn 37221afbc6 rm graphics module; 2022-04-21 17:39:58 -07:00
bjorn 218134d79c Compile miniaudio without pedantic;
It throws warnings when compiling as wasm.
2022-04-19 22:45:17 -07:00
bjorn c2847cedce Details; 2022-04-19 22:45:06 -07:00
bjorn 2dc9081d02 wasm target uses gnu11 standard;
This is because compiling with newer versions of emscripten warns
on use of EM_ASM without GNU C, and miniaudio uses EM_ASM.
2022-04-19 22:43:05 -07:00
bjorn 8af8d7922a tup: Lua also defines linux flag on android; 2022-04-06 09:22:50 -07:00
bjorn 972a0f2333 tup: define platform-specific Lua define; 2022-04-01 17:10:25 -07:00
bjorn dd7ed4eb51 tup: simplify tup.config overrides; 2022-04-01 16:54:28 -07:00
bjorn 7d3aa3e061 tup: s/overrides/troublemakers; 2022-04-01 16:05:16 -07:00
bjorn afbf98929f Clean up tup a bit; 2022-04-01 15:58:13 -07:00
bjorn 5d271de91a mv map util; 2022-03-30 12:34:38 -07:00
bjorn faa42ee38b mv resources etc; 2022-03-30 12:34:34 -07:00
bjorn f347ac98d9 Switch to simplex noise;
Pending test
2022-03-27 01:21:52 -07:00
bjorn 301f7b2cc9 Android mounts save directory earlier;
This fixes issues with conf.lua not getting read properly, and also
the weird quirk of getIdentity not working until setIdentity runs.
2022-03-23 18:27:05 -07:00