Vladimír Vondruš
89e3c52dfa
Bye, Travis! You won't be missed.
...
The only leftover is the platform-specific info, which might still be
useful to derive info from for the non-shit CI providers.
4 years ago
Vladimír Vondruš
d3a411ca72
package/ci: add an iOS GLES3 build.
...
I don't think GLES2 is worth bothering with on this platform, given that
GL as a whole is deprecated by that company.
4 years ago
Vladimír Vondruš
a7b94a4b09
package/ci: add an ARM64 build.
4 years ago
Vladimír Vondruš
5e069d37fb
Updated toolchains submodule.
4 years ago
Vladimír Vondruš
8b7572361d
GL: this should not be here.
4 years ago
Vladimír Vondruš
c0ef2e1240
GL: hide deprecated enum alias value from Doxygen.
...
Due to \m_enum_values_as_keywords it caused the Half value of the
deprecated HalfFloat to appear first in search as an alias.
4 years ago
Vladimír Vondruš
d939221f7f
doc: refresh various math docs a bit.
4 years ago
Vladimír Vondruš
44c5a9db8d
GL: new "angle-instanced-attributes-always-draw-instanced" workaround.
...
Co-authored-by: Pablo Escobar <mail@rvrs.in>
4 years ago
Pablo Escobar
2b378aecfe
GL: fix MeshGLTest to work on WebGL with a D3D ANGLE backend.
...
This makes the tests actually output something.
4 years ago
Vladimír Vondruš
f231363bb6
GL: improve ANGLE detection on WebGL.
...
It's quite easy if WEBGL_debug_renderer_info is present, but if it isn't
then our only hope is to check for ANGLE-specific extensions. Which may
cause some false positives, but since we need to enable various
workarounds for ANGLE to avoid issues, it's better than having the
detection too conservative.
The original ANGLE detection based on line size is probably not so
relevant anymore, but let's keep it there.
4 years ago
Vladimír Vondruš
6fd971da77
modules: clarify the need for FindOpenGLES3.
...
I thought this module could get removed to use FindOpenGLES2 even for
ES3, but apparently not.
4 years ago
Vladimír Vondruš
0d3cf5a648
Vk: doc++
4 years ago
Vladimír Vondruš
5040362bad
Vk: fix arguments passed to AssertTest.
...
This test is run only on Android because natively CMake treats SIGABRT
as a failure always, even if I want to just check the output. So it
got outdated. Sigh.
4 years ago
Vladimír Vondruš
edf4bfc2cf
Vk: work around crashy vkGetDeviceQueue2() on SwiftShader.
4 years ago
Vladimír Vondruš
99501c1e3d
Vk: missing test file reference.
...
Fixes this test on Android.
4 years ago
Vladimír Vondruš
d89675e8b0
DebugTools: properly skip CompareImage tests with converters missing.
...
It only checked for importers, but the second part of these tests uses
also image converters to produce the actual files.
4 years ago
Vladimír Vondruš
ba7267ba0c
package/ci: enable image importers for Vulkan tests.
...
The VkMeshVkTest was mostly skipped otherwise.
4 years ago
Vladimír Vondruš
361d87cd9e
Shaders,TextureTools: XFAIL tests that hit weird bugs on SwiftShader 4.0.
...
No patience to investigate.
4 years ago
Vladimír Vondruš
04aeebaf1d
TextureTools: print a note if we're using EXT_texture_rg in a test.
4 years ago
Vladimír Vondruš
5c6b98391d
Math,DebugTools: adapt tests for Android differences in NaN printing.
...
What a waste of energy. I need my own float printing code already.
4 years ago
Vladimír Vondruš
e0ee451a1b
Math: XFAIL some packing tests for x86 Android.
...
Well, I can't tell if it's just 32-bit x86 Android, but it definitely
works well on my ARM64 device.
Also updated the defines to use the consistent CORRADE_TARGET_* macros
instead of the platform-specific mess.
4 years ago
Vladimír Vondruš
22d630db5f
Math: what's the deal with Emscripten and GLES(!)-specific ifdefs here?!
...
Especially the GLES define is some *really weird* leftover from the days
where GL was hardcoded everywhere. What the heck.
4 years ago
Vladimír Vondruš
374aadb480
Shaders,MesTools: forgotten test file.
...
Fixes two failing tests on Emscripten and Android.
4 years ago
Vladimír Vondruš
34b4cd72a4
DebugTools: properly skip a test if plugin is present so we can't test.
...
Fixes a test failure on Emscripten and Android.
4 years ago
Vladimír Vondruš
f145acd760
MeshTools: properly bundle files for CompileGLTest.
...
The path used for Android and Emscripten is relative to the
CMAKE_CURRENT_SOURCE_DIR, so the subdirectory has to be included in the
file paths.
4 years ago
Vladimír Vondruš
fce8fc3bfd
package/ci: give up and don't run GLES3 tests on Android.
...
GOOGLE!!! You owe me a WEEK of my time. A WEEK WASTED!
4 years ago
Vladimír Vondruš
e0b20107be
Platform: new "android-generic-hostname-might-be-swiftshader" workaround.
...
As documented. Yes, Android, I hate you, in case that wasn't clear. And
all other Google code as well.
4 years ago
Vladimír Vondruš
cad19439e0
Trade: adapt test to insane alignof(double) == 4 on Android x86.
4 years ago
Vladimír Vondruš
1111b58ce7
Vk: fix compilation on 32-bit targets.
4 years ago
Vladimír Vondruš
9d7e90b950
Updated toolchains submodule with better ANDROID_SDK detection.
4 years ago
Vladimír Vondruš
eaa95dd332
package/ci: add Android x86 GLES2, GLES3 and Vulkan builds on CircleCI.
...
This apparently can test even the GPU! Let's C.
4 years ago
Vladimír Vondruš
8554f3924d
doc: updated changelog.
4 years ago
Vladimír Vondruš
efcdfc1221
Adapt to removal of CORRADE_MSVC2019_COMPATIBILITY.
...
Here both cases were related to /permissive- and not to MSVC 2019 bugs,
so I just changed them to rely on the new CORRADE_MSVC_COMPATIBILITY
define.
4 years ago
Vladimír Vondruš
46c1dccf18
modules: updated FindCorrade.cmake.
4 years ago
Vladimír Vondruš
4d574b0073
Test: MSVC 2019 with /permissive- doesn't like this? Huh?
4 years ago
Vladimír Vondruš
acc17f063a
modules: make FindGLFW aware of MSVC 2022.
4 years ago
Vladimír Vondruš
6804dfe8e3
package/ci: add MSVC 2022 builds and MSVC 2019 /permissive- build.
...
Equivalently to what's done in Corrade, so a dynamic, static, clang-cl
and /permissive- build; plus dedicated ES2/ES3 builds.
4 years ago
Vladimír Vondruš
b3f5d87640
package/ci: drop MSVC 2017 ES builds and RT ES2 build.
...
Making room for MSVC 2022. GLES will be tested more than enough on 2019
and 2022. The RT port is rarely (if ever) used and obnoxiously slow, so
ES3 has to suffice.
4 years ago
Vladimír Vondruš
ffb82088b9
GL: add an ArrayView setTransformFeedbackOutputs() overload.
...
Interesting, I thought I have done this years ago already. Or that was
the multi-draw() maybe?
4 years ago
Vladimír Vondruš
dea47b16fb
GL: typo.
4 years ago
Vladimír Vondruš
8c65eeb27e
package/ci: SceneTools aren't needed in the Vulkan-specific builds.
4 years ago
Vladimír Vondruš
d7c642089b
modules: don't assume macOS is only desktop GL in FindMagnum.
...
The GLES3 macOS CI build was added exactly because of this, but this
wasn't caught. Only now when I added a GLES3 macOS build for the
integration repos.
4 years ago
Vladimír Vondruš
c366874c56
Vk: print also driver info in Device creation log.
...
Just the device alone isn't enough if we can have multiple drivers for
it.
4 years ago
Vladimír Vondruš
9318331b32
vk-info: display features only if --features is set.
...
Otherwise the output is way too big by default.
4 years ago
Vladimír Vondruš
1906dafd7c
doc: update al-info, gl-info and vk-info usage docs.
...
In case of magnum-vk-info there was no documentation whatsoever for some
reason.
4 years ago
Vladimír Vondruš
71bf77a33a
gl-info,vk-info: make instruction set lists more compact.
4 years ago
Vladimír Vondruš
18b6369c11
package/ci: we don't need SceneTools nor ShaderTools for ES builds.
...
Just the stuff that touches GL functionality in some way. Which
unfortunately means all of DebugTools and SceneGraph for debug
renderers, which then pull in also all of Primitives and all of
MeshTools.
4 years ago
Vladimír Vondruš
b2f270d7b9
Stop highlighting configure.h.cmake as a CMake source.
4 years ago
Vladimír Vondruš
2ac2155f2c
Shaders: fix MeshVisualizer vertex and object ID to work with TBN.
...
And also expand the docs to say the TBN visualization is not AAd when
used together with those, not just with wireframe.
4 years ago
Vladimír Vondruš
a5407ceb53
Shaders: test MeshVisualizer TBN + vertex and object ID visualization.
...
Fails spectacularly -- the geometry shader is aware only of instanced
object ID, and of vertex ID not at all. The former was a corner case
TODO while I was adding non-instanced object ID visualization in
033e56ec23 and which I kinda forgot about,
the latter was discovered while trying to fix the former.
Fix in the next commit.
4 years ago