Commit graph

1782 commits

Author SHA1 Message Date
saschawillems
be70aff2ae Added compute cloth example Android build files 2017-08-07 22:02:56 +02:00
saschawillems
cd5f5318a9 Fixed ETC texture format 2017-08-07 21:46:17 +02:00
saschawillems
25060a00b0 Enable device features 2017-08-07 21:46:03 +02:00
saschawillems
adefd08735 Fixed ETC texture format 2017-08-07 21:41:14 +02:00
saschawillems
c8d3b6e5e7 Enable device features 2017-08-07 21:40:57 +02:00
saschawillems
b2136e639f Benchmark mode with csv output
refs #269
2017-07-29 19:31:00 +02:00
saschawillems
8d158bbff5 gitignore 2017-07-29 19:29:00 +02:00
Steve Hill
286d589497 Modifications to shadowmapping example
Change-Id: Idd0589033b56d82ba59258812a3bc0ecbc540ef3

Signed-off-by: saschawillems <webmaster@saschawillems.de>
2017-07-28 17:52:07 +02:00
saschawillems
2156fdddc6 gli as submodule 2017-07-24 21:38:18 +02:00
saschawillems
2e94a0281e gli as submodule 2017-07-24 21:23:40 +02:00
saschawillems
b8288cdd89 Note about recursive clone and sub modules
Fixes #359
2017-07-24 21:07:46 +02:00
saschawillems
b5f104785b Removed local gli copy 2017-07-22 11:10:48 +02:00
Sascha Willems
3b25d64dbc Merge pull request #361 from iostrowsINTEL/master
Shadowmappingomni: Fix shadowCubeMap layout transitions and layout in…
2017-07-22 11:09:13 +02:00
Igor Ostrowski
b20147f1f4 Shadowmappingomni: Fix shadowCubeMap layout transitions and layout in descriptor set. Fixes #360 2017-07-20 17:24:40 +02:00
saschawillems
23dc4f4603 Appveyor: Init git submodules before build 2017-07-15 15:01:12 +02:00
saschawillems
b57a8466d1 glm as submodule
refs #356
2017-07-15 14:54:00 +02:00
saschawillems
35f11147c3 Removed local glm copy 2017-07-15 13:36:52 +02:00
saschawillems
ec1b4a88c7 Randomized wind directions 2017-07-09 14:00:56 +02:00
saschawillems
9898e67f41 Compute buffer barrier pipeline flags (validation) 2017-07-09 12:36:56 +02:00
saschawillems
f383849c24 Calculate normals only on last iteration 2017-07-09 12:28:03 +02:00
saschawillems
db2aee7535 Toggle wind simulation 2017-07-09 11:59:28 +02:00
saschawillems
a55759b31b Compute shader cloth simulation 2017-07-09 11:39:10 +02:00
Jussi Kukkonen
7798901a46 Support installing demos, support out-of-tree builds
This is especially useful for cross-compile situation where testing
happens on target.

-DRESOURCE_INSTALL_DIR=<path> decides where data is installed (and
where the binaries will load the data from): if it's left empty,
then nothing will be installed and binaries will load the data from
CMAKE_SOURCE_DIR.

Binaries are now correctly built in CMAKE_BINARY_DIR.
2017-07-04 18:12:04 +03:00
saschawillems
fd439a59e2 Code cleanup, use VK_USE_PLATFORM_ defines where available 2017-07-02 11:57:47 +02:00
saschawillems
18df00c7b4 Add shaders as filters to examples (visual studios) 2017-07-01 13:28:31 +02:00
Sascha Willems
6c42abcfe3 Merge pull request #349 from brenwill/master
Support MoltenVK extension names in call to vkCreateInstance().
2017-07-01 10:38:29 +02:00
Bill Hollings
2d515278e7 Support MoltenVK extension names in call to vkCreateInstance(). 2017-06-30 21:55:17 -04:00
saschawillems
cdd73d0439 Initial camera position 2017-06-30 11:00:04 +02:00
Sascha Willems
b1da3e2cb1 Merge pull request #342 from brenwill/master
Add support for iOS and macOS via MoltenVK
2017-06-29 19:57:58 +02:00
Sascha Willems
40ba8f13cd Merge pull request #347 from aleksysokolowski-intel/master
Proper app termination after WM_QUIT
2017-06-29 19:20:16 +02:00
asokolow
ed207ab030 whitespace fix 2017-06-27 09:03:26 +02:00
asokolow
0cef15c0f2 According to MSDN PeekMessage returns false only when the message queue is empty. If there is another message after WM_QUIT, the part of the code responsible for proper closing of the application would never be triggered. This change handles WM_QUIT message properly. 2017-06-27 09:00:14 +02:00
Sascha Willems
ea726e617f Merge pull request #346 from Piasy/master
Fix Android install script issue:
2017-06-26 19:37:19 +02:00
Piasy
7e2787413b Fix Android install script issue:
1. FileNotFoundError:

``` bash
Traceback (most recent call last):
  File "install-all.py", line 11, in <module>
    if subprocess.call("python build-all.py -deploy %s" % BUILD_ARGUMENTS) != 0:
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'python build-all.py -deploy '
```

2. KeyError:

``` bash
Traceback (most recent call last):
  File "build.py", line 46, in <module>
    if "additional" in EXAMPLE_JSON["assets"]:
KeyError: 'assets'
```
2017-06-26 14:04:31 +08:00
Bill Hollings
34ede255a9 Remove use of unportable fls() function from multisampling.cpp. 2017-06-22 17:55:57 -04:00
Bill Hollings
bc8c47bd62 Fix <strings.h> include statement in multisampling.cpp. 2017-06-22 16:46:08 -04:00
Bill Hollings
108cdbc14c Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2017-06-22 14:55:11 -04:00
Bill Hollings
96601494d5 Updates to iOS and macOS functionality using MoltenVK.
Use getAssetPath() instead of ASSET_PATH to support broader range of platforms.
Multisampling example determines sample rate from device at runtime.
Move example wrapper code from DemoViewController.mm to dedicated MVKExample.cpp file.
Remove AssImp libraries for iOS and macOS from repo, and add instructions for
generating them from AssImp source files.
Update general README.md file to mention support for iOS and macOS platforms.
Add Apple logo for README.md.
Update Vulkan logo to current registered TM logo.
Update copyright notice of MoltenVK example files to MIT license.
Examples use +/- on main keyboard, instead of numpad.
2017-06-22 14:53:49 -04:00
Sascha Willems
3d3cf9f31c Merge pull request #344 from voidstorm/master
Fixed Rendering bug in viewport arrays example #332
2017-06-20 21:00:06 +02:00
voidstorm
3e95e76cee Fixed Rendering bug in viewport arrays example #332 2017-06-19 22:32:09 +02:00
saschawillems
55da334ba1 Set sampler max. anisotropy to 1.0f instead of 0.0f (valdidation)
Refs #277
2017-06-17 16:07:38 +02:00
saschawillems
f447047913 Update notes on android builds, added info about validation layer builds
(Refs #303)
2017-06-17 11:32:20 +02:00
saschawillems
e0d2fd5ff4 Removed old python build scripts, replaced with json example definition files 2017-06-17 11:31:28 +02:00
saschawillems
6218942a19 Wildcard copy for additional assets (android build script) 2017-06-17 11:29:30 +02:00
saschawillems
83d4887b93 Wildcard copy for additional assets (android build script) 2017-06-17 10:28:29 +02:00
saschawillems
763e927eee Merge branch 'master' into develop 2017-06-16 21:57:27 +02:00
saschawillems
fa00daac41 Removed unnecessary preserve attachment and shader attachment writes (fixes validation) 2017-06-16 21:44:53 +02:00
saschawillems
7ef4e1eb06 Removed old python build scripts, replaced with json example definition files 2017-06-16 21:21:55 +02:00
saschawillems
b5a733b502 Removed old python build scripts, replaced with json example definition files 2017-06-15 11:40:05 +02:00
saschawillems
3064aef33c Enable required device features for instancing example 2017-06-15 11:28:12 +02:00