Commit Graph

23 Commits

Author SHA1 Message Date
Philip Rideout
33e0e34aa4 Remove STB dependency from astcenc.
We give the encoder raw RGB data, so there's no reason to use its STB
functionality. This shrinks the lib footprint by a small amount.
2018-09-28 16:33:41 -07:00
Philip Rideout
ec31a55094 Add astcenc from ARM to third_party.
This was designed as a standalone tool rather than a library, so we are
renaming their "main" function to "standalone_main", which is described
in the tnt README.

We'll also be adding a wrapper to our imageio library.
2018-09-28 09:42:09 -07:00
Pixelflinger
09830cd126 Improvements to CMGEN handling of cubemaps
- cmgen now creates reflections maps for all input
assets by default instead of just for equirectangular 
images.

- equirectangular decode doesn't mirror -- that's
done by the mirroring code now.

- mirroring can be turned of with --no-mirror

- option --mirror is gone

- faster mirroring code (do it before generating
  mipmaps)

- added labels to faces of debug.png environment

- added a debug equirectangular image in third_party
(creative commons license)
2018-09-21 11:50:29 -07:00
Romain Guy
4c3b9b2fee Remove assert for tiled images (#198)
They are now properly supported
2018-09-04 10:21:12 -07:00
Sergey
2dd98893f8 Enable DPI awareness in Windows (#193) 2018-09-04 10:03:30 -07:00
Romain Guy
4eb2c16ad6 Update TinyEXR (#197) 2018-09-04 10:02:48 -07:00
Romain Guy
4002498438 Add new HDR environment maps in third_party (#182)
These are much better than the ones we had in assets/
2018-08-29 14:22:58 -07:00
Philip Rideout
4665805d81 Minor improvements to EXR decoding. (#177)
See also #176.

This closes #166.
2018-08-28 14:38:54 -07:00
Romain Guy
ac70617f12 Update spirv-tools (#136)
This completely gets rid of unnecessary highp qualifiers in optimized GLSL code.
2018-08-24 10:24:48 -07:00
Philip Rideout
7fff7d715f Update VkMemAlloc and fix its usage. (#126)
This implements the following suggestions from Adam Sawicki:

(1) Update VkMemAlloc to dev branch.
(2) Use VMA_MEMORY_USAGE_CPU_ONLY in the stage pool.
(2) Add vmaFlush after every vmaUnmap.

We also considered removing Map / Unmap in favor of persistent mapping
via VMA_ALLOCATION_CREATE_MAPPED_BIT, but decided to be conservative
until we have a chance to rethink our UBO update strategy.

Closes #19
2018-08-23 10:20:12 -07:00
Romain Guy
9f2592ed9d Update SPIRV libraries (#99)
* Update SPIRV libraries

- Update `spirv-cross`
- Update `spirv-tools`
- Update `glslang`

`spirv-tools` contains a fix for an issue we reported (unnecessary promotions to highp in certain expressions).

* Add SPIRV-Tools dependency to matinfo
2018-08-15 12:59:17 -07:00
shartte
e6d5a85ec8 clang-cl warning fixes (#83)
* Disable certain MSVC-specific deprecation warnings

* clang-cl.exe warning fixes
2018-08-14 12:55:04 -07:00
Romain Guy
e5535c7a66 Rg/less warnings (#60)
* Fix warnings for real this time
2018-08-09 14:16:10 -07:00
Ben Doherty
714e0c18e0 Fix build error on Windows 2018-08-09 13:26:44 -07:00
Romain Guy
69941a2795 Remove warnings on Darwin and Linux (#59) 2018-08-09 11:39:15 -07:00
Ben Doherty
b0ab4c7321 Fix various compiler warnings on Windows (#56) 2018-08-09 10:27:43 -07:00
Ben Doherty
b8a2457e28 Revert "Don't require Python to build (#51) (#55) 2018-08-09 09:53:35 -07:00
Romain Guy
9ee46fa8cf Don't require Python to build (#51)
Fixes #50
2018-08-08 12:57:22 -07:00
Romain Guy
294bc98940 Make spirv-tools more quiet (#46)
We don't need the pkg-config step of spirv-tools' build configuration. Let's turn this off to keep the build quiet when nothing has changed.
2018-08-08 09:46:22 -07:00
Benjamin Doherty
a32b6e7415 Output libs and binaries to consistent locations across platforms 2018-08-06 18:58:03 -07:00
Romain Guy
f05f855656 Make Markdeep work offline 2018-08-04 11:05:12 -07:00
Romain Guy
dfcdea2d31 Add missing spirv-headers 2018-08-03 18:29:32 -07:00
Romain Guy
b3d758f3b3 Initial commit 2018-08-03 10:38:22 -07:00