Commit Graph

52 Commits

Author SHA1 Message Date
Ivan Avdeev 69cddf1767 Merge remote-tracking branch 'upstream/master' into vulkan 2021-10-13 12:36:11 -07:00
Alibek Omarov f5ccf093d6 scripts: waifulib: fix build with sanitizers on 2021-09-30 15:58:50 +03:00
Ivan Avdeev 316e77df78 rtx: add alpha mask transparency 2021-07-14 11:54:21 -07:00
Ivan Avdeev d1fe897966 Merge remote-tracking branch 'origin/vulkan' into amd_ray_tracing_fixes 2021-07-12 09:45:26 -07:00
Ivan Avdeev 552e902a03 Merge remote-tracking branch 'upstream/master' into merge-master 2021-07-11 10:33:23 -07:00
Ivan Avdeev c51d593679 rtx: get ray tracing pipeline to draw at least something
on amd gpus it won't draw anything at all unless you have the entire ray tracing pipeline set up fully and correctly:
- have at least rgen, rmiss and rchit shaders
- set up shader groups to reference them
- set up sbt to reference shader groups
it is not enough to just have a single rgen shader operating like a compute shader. amd will have a shader preamble that checks for something and exit early w/o actually running any shader code you wrote

meh
2021-07-06 11:28:24 -07:00
Ivan Avdeev 364b46ea87 [WIP] rtx: first build with ray tracing pipeline and black screen 2021-07-05 13:24:57 -07:00
Alibek Omarov #SupportRMS 21a31ec81d
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds

* scripts: cleanup of old CI scripts

* scripts: now port to GitHub Actions

* actions: fix extras checkout

* github: remove codeql action, turned out not to be very useful

* github: remove quiet flag on wget

* github: are we allowed to use envvars?

* github: add needed dependencies for linux

* github: install wget for windows

* scripts: convert our CPU architecture naming into what AppImage uses

* github: run scripts with bash explicitly

* github: first try to upload to GitHub Releases, enable amd64 win32 builds

* Use our uploadtool fork

* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts

* gha: try to fix build

* travis: try to fix build

* gha: try to fix upload, fix win32 build

* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build

* gha: add llvm repository, install clang-12 for android

* gha: motomagx: fail fast

* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip

* waifulib: xcompile: respect environment variables when using host compiler for Android

* waifulib: xcompile: use correct environ dict

* gha: try to fix -fuse-ld=lld with clang-12

* waifulib: xcompile: fix typo

* scripts: xcompile: fix motomagx build

* mainui: upgrade

* gha: fix android build, last time

* engine: wscript: disable crashhandler for magx
2021-07-03 20:21:09 +03:00
Ivan Avdeev cb7fb0a1c5 ref_vk: attempt to fix win32 glslc path 2021-06-07 09:55:33 -07:00
Ivan Avdeev f61fbe7d8b Merge branch 'master' into linux-and-other-fixes 2021-06-06 23:48:50 -07:00
SNMetamorph 1a5b2576f7 wscript: added support for "Edit and Continue" MSVC feature 2021-04-30 16:12:08 +03:00
Alibek Omarov accacd54f5 waifulib: set debug builds to be built with -O0, gcc -Od is broken 2021-03-11 20:17:39 +03:00
Ivan Avdeev 9b8af6d28b shaders: add compute shaders; fix shaders install dir 2021-03-01 23:34:20 -08:00
Ivan Avdeev dc71afd08a Merge remote-tracking branch 'upstream/vulkan' into vulkan-glslc 2021-03-01 23:22:40 -08:00
Alibek Omarov b278751834 waf: upgrade to waifu 1.1.0 2021-02-28 15:39:22 +03:00
SNMetamorph 932fc8e3c7 wscript: fixed MSVC optimization flag in debug mode 2021-02-20 14:22:20 +03:00
Alibek Omarov 074e4fd540 glslc: rework tool, support dependency scan, preliminary work on making tool dependless from compiler(like ccroot) 2021-02-10 03:51:11 +03:00
Alibek Omarov 8ee87d441c waf: glslc: remove useless shebang 2021-02-10 03:50:55 +03:00
Alibek Omarov c1ef953672 waf: add glslc module 2021-02-10 03:50:55 +03:00
Alibek Omarov d6d90f03a0 wscript: refactoring, split optimization flags selection and fpic control into standalone modules 2021-01-29 03:33:14 +03:00
mittorn f60c398f32 scripts/xcompile/android: add ability to specify HOST_TOOLCHAIN and override hard-coded one 2020-11-18 12:34:38 +03:00
mittorn a5e3a74e93 waf/xcompile: gnu hash on android confuses old linkers 2020-07-08 02:40:43 +07:00
Aimless Wanderer e3d9ac4840 scripts/xshlib: line endings fix 2020-02-25 13:35:55 +02:00
mittorn 0ee5ff3aad waifulib/owcc: add -xx to ignore default includes 2020-02-12 17:39:42 +07:00
mittorn a0d09c9954 lib_static: fix warnings 2020-02-08 23:39:35 +07:00
mittorn 828def3b25 waifulib: owcc tool 2020-02-08 23:15:40 +07:00
mittorn 97228a4249 lib_static: use functions for exports instead of globals 2020-02-08 23:15:40 +07:00
mittorn 6f58ef2394 scripts/xshlib: code clean 2019-11-18 21:08:03 +07:00
mittorn 177f8ed653 platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options 2019-11-18 03:31:55 +07:00
Alibek Omarov 32ddc2a47f waifulib: xcompile: we need to disable builtins even on armeabi with host compiler and NDK r10e 2019-11-07 07:30:41 +03:00
Alibek Omarov e0e9942bd5 waifulib: remove modules that now part of waifu distribution 2019-10-18 05:14:01 +03:00
Alibek Omarov ee363ebb74 waifulib: fix including system includes 2019-10-11 10:04:32 +03:00
Alibek Omarov 2183240221 waifulib: xcompile: fix aarch64 binary installation 2019-10-09 05:52:43 +03:00
Alibek Omarov 9ea973dad6 waifulib: xcompile: fix C++ with host toolchain 2019-10-09 03:48:51 +03:00
Alibek Omarov 02e111c5e1 waifulib: xcompile: fix clang detection 2019-10-05 03:35:11 +03:00
Alibek Omarov 5a8de90918 waifulib: xcompile: light refactoring 2019-10-05 01:16:20 +03:00
Alibek Omarov 2d6b770e7c waifulib: xcompile: allow building with host Clang and NDK r10e sysroot 2019-10-04 22:21:11 +03:00
mittorn fd8c1becec waifulib: gcc-6 support for android 2019-09-28 04:26:19 +07:00
Alibek Omarov 8f47596ad0 waifulib: xcompile: append SONAME to shared libraries, experimental support for host compiling with NDK r10e(don't work), replace exceptions with fatal messages 2019-09-21 03:52:47 +03:00
Alibek Omarov 4f4c63b1dd waifulib: xcompile: enhance compiling using host clang, refactoring 2019-09-20 18:49:37 +03:00
Alibek Omarov 66323fe9ca waifulib: xcompile: preserve order of MACROS_TO_DESTOS, add -stdlib=libstdc++ to use system provided C++ standard library 2019-09-20 16:30:17 +03:00
Alibek Omarov 16e60bbb5f waifulib: xcompile: use llvm-strip on host 2019-09-19 18:18:42 +03:00
Alibek Omarov 0389d2495f waifulib: strip_on_install: add changed bytes counter 2019-09-19 18:18:25 +03:00
Alibek Omarov cd0f7af38a waifulib: xcompile: get rid of DEST_OS2 2019-09-19 17:09:18 +03:00
Alibek Omarov ac1bf4a9f8 waifulib: strip_on_install: fix typo 2019-09-12 17:00:08 +03:00
Alibek Omarov af0046f401 waifulib: strip_on_install: don't strip on PE and unknown binaries [ci skip] 2019-09-11 20:37:47 +03:00
Alibek Omarov 43575b485d wscript: add an option to not strip binaries 2019-09-11 20:26:34 +03:00
Alibek Omarov 67c6cfce71 waf: strip installed binaries to reduce size 2019-09-11 18:47:44 +03:00
Alibek Omarov d1ac48b2a1 waifulib: allow compiling using host clang and NDK sysroots, thus enabling building engine from any environment that has clang(termux as example) 2019-09-10 11:24:11 +06:00
Alibek Omarov d697421d81 scripts: waifulib: add ndk r20 support 2019-07-29 06:54:05 +03:00