| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- moved slang shaders to spvshaders to separate software and hardware
shaders
- split Makefile.am into Makefile.am, src/Makefile.am and
src/spvshaders/Makefile.am
- build shaders as DATA primary, instead of both PROGRAMS and SCRIPTS,
which greatly simplifies building. Before that, we had to first build
them as PROGRAMS, and then copy them as SCRIPTS to remove executable
extensions (i.e. ".exe" for Windows)
- changed final executable dir from enginedir to bindir, which makes
automake see it as an exec instead of data
- compute relative paths from C++, which makes it possible to change
dirs arbitrarily when running make while still having a relocatable
executable
- updated README.md to reflect changes in dirs
- use AX_COMPARE_VERSION() to simplify checking if Vulkan headers
version is correct
- factored out most of paths computation in engine::path_utils::Paths
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile.am is too ugly, but I don't have a better solution right now.
- fused Makefile.am and src/Makefile.am
- adding back windows cross-compilation
- improved README.md a lot
- added configure option to enable debug, which greatly simplifies
development when writing shaders
- removed dependency on LunarG's Vulkan SDK by having dependency only on
Vulkan headers, library and slangc
- removed print C++ header because I have an old MinGW which doesn't
support it. It will be restored in the future
- make every assets path relative to be able to build anywhere and run
elsewhere
- moved stb_image.h inside source directory instead of making it a
dependency, which is more aligned with stb philosophy
- moved assets inside source code to make it easy to compile and run the
engine
- improved configure.ac by checking Vulkan headers version directly in
the configure script instead of within C code, which allows us to also
do theses checks when cross-compiling
|