Sascha Willems
df55238b11
Fix typo
...
Fixes #1052
2023-07-16 13:44:46 +02:00
Sascha Willems
054a765eaa
Merge pull request #1050 from thochstein/master
...
Fix cross-compile paths
2023-07-12 17:26:50 +02:00
Tom Hochstein
5606406604
Revert recent change to assets install for cross-compile
...
Since existing textures and models are still installed at the root, it
didn't have any noticeable effect other than to create an empty folder.
The change was made because it looked like it should be updated like
the shaders folder, but it wasn't solving any problem, so switching
it back seems the best.
2023-07-12 10:08:04 -05:00
Tom Hochstein
a0ef2fcea6
Fix shaders path for computeheadless and renderheadless
2023-07-12 10:07:39 -05:00
Tom Hochstein
83d8d02b64
Fix runtime shaders path for cross-compile case
2023-07-12 10:06:19 -05:00
Sascha Willems
c2cee9654c
Merge pull request #1048 from reneruhr/offscreen
...
Removed unnecessary binding.
2023-07-11 19:57:25 +02:00
Sascha Willems
e2093e845c
Merge pull request #1049 from thochstein/cross-compile-install
...
Fix install location for assets and shaders
2023-07-10 18:35:19 +02:00
Tom Hochstein
c773b27db8
Fix install location for assets and shaders
...
This fixes the following error for the cross-compile case, where
RESOURCE_INSTALL_DIR=/usr/share/vulkan-demos:
```
Error: Could not open shader file \"/usr/share/vulkan-demos/shaders/glsl/renderheadless/triangle.frag.spv\"
```
2023-07-10 09:03:58 -05:00
reneruhr
187fc810ac
Removed unnecessary binding.
2023-07-10 15:37:00 +03:00
Sascha Willems
b82ee755c5
Fixed dst access mask for input attachment access
...
Fixes #1020
2023-06-20 18:57:32 +02:00
Sascha Willems
dbfb115bd6
Minor code cleanup
2023-06-18 17:53:21 +02:00
Sascha Willems
0c404c1773
Merge pull request #1042 from YuanTianNXP/master
...
Fix an error in benchmark mode using wayland
2023-06-15 21:14:59 +02:00
Sascha Willems
3bcf0ec809
Merge pull request #1038 from robotchaoX/master
...
Building for Android Improvement
2023-06-15 21:13:24 +02:00
Yuan Tian
b82c3c83c6
Fix an error in benchmark mode using wayland
2023-06-13 14:53:31 +08:00
robotchaoX
7e9d3c8fec
Merge branch 'SaschaWillems:master' into master
2023-06-09 13:27:15 +08:00
robotchaoX
d7e42983a9
Modify BUILD.md for building on Android
2023-06-09 13:22:48 +08:00
Sascha Willems
48fb28508b
Clean up descriptor pool setup
...
Fixes #1030
2023-06-08 18:34:17 +02:00
Sascha Willems
09c5dfd57f
Fix UV calculation
...
Fixes #1035
2023-06-08 18:31:31 +02:00
Sascha Willems
20a0d0e787
Note on shaders
2023-06-08 16:50:20 +02:00
Sascha Willems
18012268ed
Added HLSL shaders for mesh shading sample
2023-06-08 16:50:12 +02:00
Sascha Willems
8a686e0380
CMake min version bump
2023-06-08 16:09:45 +02:00
Sascha Willems
0eec27db64
Clean up validation
...
UI needs to be reworked, so disabled for now
Fixes #1040
2023-06-03 16:51:03 +02:00
Sascha Willems
e9288ed57f
Use correct layout for color attachment
...
Fixes #1041
2023-06-03 16:48:37 +02:00
robotchaoX
71b5d83525
Set abiFilters via global variable in settings.gradle
2023-05-30 15:14:02 +08:00
robotchaoX
495b3eba96
Revert "Add x86_64 ABI support for Android"
...
This reverts commit 570d3fca81 .
2023-05-30 13:59:20 +08:00
robotchaoX
570d3fca81
Add x86_64 ABI support for Android
...
[Why]
In some case, people may need x86 ABI version apk if they develop on x86 Android.
Support x86_64 ABI by default is better.
[How]
Add android::ndk::abiFilters property "x86_64".
2023-05-29 16:48:27 +08:00
robotchaoX
16da9abfd6
Update BUILD.md for building on Android
2023-05-29 16:48:27 +08:00
robotchaoX
5e24e0ca15
Migrate jcenter to mavenCentral
...
[Why]
JFrog made JCenter a read-only repository on March 31, 2021.
[How]
Migrate JCenter to Maven Central.
Reference: https://developer.android.com/build/jcenter-migration
2023-05-29 16:48:27 +08:00
robotchaoX
9578a603e8
Increase the JVM heap size for Gradle
...
[Why]
The Java Virtual Machine(JVM) maximum heap size(-Xmx) is 512M by default. It will occur out of memory eror when compiling for Android.
Android compiling error: "java.lang.OutOfMemoryError: Java heap space".
[How]
Configure JVM memory for Gradle by setting Gradle property org.gradle.jvmargs in gradle.properties file.
This gradle.properties file was generated by Android Studio settings.
Reference:
https://developer.android.com/build/optimize-your-build?utm_source=android-studio#increase-the-jvm-heap-size
https://docs.gradle.org/7.2/userguide/build_environment.html#sec:configuring_jvm_memory
2023-05-29 16:48:27 +08:00
Sascha Willems
240a56e441
Merge pull request #1036 from CreativeCylon/fix_RESOURCE_INSTALL_DIR_shader_failure
...
Fix make install with RESOURCE_INSTALL_DIR not finding `shader` dir
2023-05-22 19:19:11 +02:00
Karmjit Mahil
56f9e79f8c
Fix make install with RESOURCE_INSTALL_DIR not finding shader dir
2023-05-19 15:16:10 +01:00
Sascha Willems
9993d42102
Updated assets submodule
2023-05-16 19:33:59 +02:00
Sascha Willems
c01136f4bd
Randomly generate spheres
2023-05-13 16:19:40 +02:00
Sascha Willems
c9aa0cb13e
CMake setup
2023-05-13 14:55:18 +02:00
Sascha Willems
133c703160
Intersection shader
2023-05-13 14:49:00 +02:00
Sascha Willems
ebc4127472
Started working on ray tracing intersection shader example
2023-05-13 12:22:04 +02:00
Sascha Willems
a048bc2635
Merge pull request #1034 from SaschaWillems/assets_submodule
...
Include assets as a submodule
2023-05-11 19:02:10 +02:00
Sascha Willems
10031d4cca
Changed references to the asset pack
2023-05-10 21:29:33 +02:00
Sascha Willems
69bb4d6ac0
Path lookup
2023-05-10 21:10:59 +02:00
Sascha Willems
a124271b7e
Changed shader path lookup
2023-05-10 20:34:09 +02:00
Sascha Willems
eb3d68fb5c
Updated android build files to new asset/shader folder structure
...
Make use of global gradle variables
Updated gradle
2023-05-10 20:33:19 +02:00
Sascha Willems
c13ba757b7
Changed assets and shader path functions, removed asset download script
2023-05-09 21:05:01 +02:00
Sascha Willems
99b226237a
Moved shaders to new directory
2023-05-09 21:03:02 +02:00
Sascha Willems
0b3f8340e3
Added assets as submodule
2023-05-09 20:47:41 +02:00
Sascha Willems
ed8be7e92d
Replaced debug marker with debug utils in framework
2023-05-09 20:04:34 +02:00
Sascha Willems
3c9aca3fcb
Add stencil format require toggle
...
Fixes #1031
2023-05-09 18:03:51 +02:00
Sascha Willems
0afa517a68
Error code translation for shader objects
2023-05-09 17:33:59 +02:00
Sascha Willems
061a5cb613
Use dynamic rendering
2023-04-28 07:12:12 +02:00
Sascha Willems
217e7cf6d2
Generate and load binary shader objects
2023-04-23 20:22:35 +02:00
Sascha Willems
eb904cf1be
Added shader object sample to the readme
2023-04-23 18:03:36 +02:00