Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
e1343724e1
Fix building tests on ES2.
10 years ago
Vladimír Vondruš
26b51ad614
Adapted to Corrade changes.
10 years ago
Vladimír Vondruš
51a76ef87f
Fix comparison in AbstractShaderProgram test.
...
Confirmed by @LB-- that it works on AMD. NVidia is producing garbage.
What the hell, NV?
10 years ago
Vladimír Vondruš
30fc1411bb
Adapted to Corrade changes.
10 years ago
Vladimír Vondruš
740fdf35fe
Fix AbstractShaderProgram GL test on ES3.
10 years ago
Vladimír Vondruš
bcd8a81ba5
Implemented ARB_compute_shader.
...
The test fails somehow, but too tired to fix anything now.
10 years ago
Vladimír Vondruš
d9b25c6057
Implemented ARB_shader_image_load_store.
10 years ago
Vladimír Vondruš
1caf96a347
Finally completed ARB_uniform_buffer_object.
...
Also with ES3/WebGL2 port.
10 years ago
Vladimír Vondruš
7fb268bb62
Preprocessor madness cleanup.
10 years ago
Vladimír Vondruš
c463526feb
Don't yell at people.
...
Also minor cleanup and string copy optimization.
10 years ago
Vladimír Vondruš
3820ec39d7
Adapt to Corrade improvements.
10 years ago
Vladimír Vondruš
407f019977
Make the XFAIL in Mesh GL test more restrictive.
...
Surprisingly OSX drivers are the only ones that are doing it right?!
10 years ago
Vladimír Vondruš
5908609a2d
Prevent test crash on drivers w/o ARB_get_texture_sub_image.
10 years ago
Vladimír Vondruš
d5fa097143
Don't do shader validation in GL tests on OSX.
...
Apple wants insane amount of state to return true (bound FB, bound VAO,
etc.). Ugh.
10 years ago
Vladimír Vondruš
7ac84644da
Avoid errors in GL tests on windowless applications w/o default FB.
...
Like the one on OSX.
10 years ago
Vladimír Vondruš
2e6e53b552
Don't use GLSL < 130 in GL tests on OSX.
...
OSX doesn't support anything below what's in GL 3.1 when using core contexts.
10 years ago
Vladimír Vondruš
39f6e849a6
Properly check for all extensions in object label test.
10 years ago
Vladimír Vondruš
20b4c98a9b
More NVidia-specific XFAILs for compressed pixel storage.
...
Or I misunderstood the 3D BPTC compression completely.
10 years ago
Vladimír Vondruš
d1714bfd1e
Context::current() now returns reference instead of pointer.
...
103% of use cases use the returned value directly without checking, so
we might as well do the check ourselves. Added new function hasCurrent()
and added deprecated backward-compatibility conversion and -> operators.
Wow, that creeped to a lot of places.
Last dinosaur from the pointer age.
10 years ago
Vladimír Vondruš
fbeb2bf890
More strict XFAIL in CubeMapTexture GL test on NV.
10 years ago
Vladimír Vondruš
f1643c827e
Expect more test failures on NV.
...
I'm tired of that poorly specified compressed stuff shit.
11 years ago
Vladimír Vondruš
645edecbcd
Compressed image support, part 15: compressed subimage download.
...
NVidia reports compressed block data size in bits instead of bytes, thus
all the test currently fail. (Another) workaround incoming.
11 years ago
Vladimír Vondruš
1a685842c8
Fix SampleQuery GL test on NVidia.
...
For some reason binding a framebuffer resulted in populating the sample
query.
YAY ALL TESTS PASS AGAIN WOW
11 years ago
Vladimír Vondruš
5f8c32f05d
Expect failure on NVidia with array/cubemap compressed pixel storages.
...
I'm tired of these. Finally all pixel storage tests are working again.
11 years ago
Vladimír Vondruš
ed04395762
Test compressed array/cube textures also w/o problematic pixel storage.
...
To ensure that the implementation works at least in some cases. (It
does.)
11 years ago
Vladimír Vondruš
ea376e2fbc
Test that GL_TEXTURE_COMPRESSED_IMAGE_SIZE behaves consistently on cubemap.
...
It returns different value based on whether the cube map is immutable
(allocated using setStorage()) or a sequence of setImage() calls, well,
at least on my NVidia. That should not happen, workaround incoming.
11 years ago
Vladimír Vondruš
c32523e641
Ensure that the cube map is complete for compressed image query tests.
...
I'm experiencing weird inconsistencies when querying
GL_TEXTURE_COMPRESSED_IMAGE_SIZE on cube map textures, it seems to
depend on whether the texture is complete/immutable or not, this is a
first part of an attempt to nail it down.
11 years ago
Vladimír Vondruš
5647add6fe
Merged two internal pixel storage calculating functions into one.
...
I guess this might fix *some* issues.
11 years ago
Vladimír Vondruš
f83bbc01ad
Don't compare random memory in PixelStorage GL test.
11 years ago
Vladimír Vondruš
43d6c57415
Avoid crash in CubeMapTexture GL test w/o ARB_compressed_pixel_storage.
11 years ago
Vladimír Vondruš
659759d2ef
Revert "More vendor-specific XFAIL cases in Mesh GL test."
...
This is behaving properly on AMD 15.300.1025.0.
This reverts commit 8dd4dfcf2b .
11 years ago
Vladimír Vondruš
dd3db921b0
Don't compare random memory in PixelStorageGLTest.
11 years ago
Vladimír Vondruš
6e8c16c960
MSVC 2015 Update 1: fixed nearly all constexpr bugs.
11 years ago
Vladimír Vondruš
503a6b2dc5
Fix AMD complaints about misaligned data in Mesh GL test.
11 years ago
Vladimír Vondruš
8dd4dfcf2b
More vendor-specific XFAIL cases in Mesh GL test.
11 years ago
Vladimír Vondruš
4d67544fda
Try to explicitly enable debug output in GL tests.
11 years ago
Vladimír Vondruš
a4f858ad9c
Avoid "incomplete texture" GL errors in cube map test on Mesa.
11 years ago
Vladimír Vondruš
3d9d70f153
Support for layered texture attachments in Framebuffer.
...
I.e. rendering to a layer addressed by `gl_Layer` in geometry shader.
11 years ago
Vladimír Vondruš
e5909819fe
Make it possible to attach cube map and multisample arrays on ES3 AEP.
...
Somehow I forgot to enable this when doing support for the
ANDROID_extension_pack_es31a extension.
11 years ago
Vladimír Vondruš
dd40dcd8d0
Clear random data at the end in PixelStorage test.
...
The driver leaves garbage there and the test is failing.
11 years ago
Vladimír Vondruš
342b3c2b60
Fix failing TransformFeedback GL test on Mesa.
11 years ago
Vladimír Vondruš
d2454ba6f3
Remove lvalue restrictions when converting images to image views.
...
It is a valid usecase, e.g. when saving a screenshot in an oneliner:
pngImageConverter->exportToFile(defaultFramebuffer.read(
defaultFramebuffer.viewport(), {PixelFormat::RGB,
PixelType::UnsignedByte}), "screenshot.png");
11 years ago
Vladimír Vondruš
d91cb8f9e8
Disallow default construction of tag types.
...
Caused ambiguous overload problems when using {} in function calls. The tags
should be always specified explicitly.
11 years ago
Vladimír Vondruš
cd740671a6
Don't use raw GL calls (that are even deprecated) in tests.
...
Fixes ContextGLTest on Mesa.
11 years ago
Vladimír Vondruš
eb590c7f47
Make it possible to run GL tests on Windows/EGL.
11 years ago
Vladimír Vondruš
222947ae2c
Avoid including unsupported headers on ES2.
11 years ago
Vladimír Vondruš
3d7953f2e9
Test Version debug output.
...
Somehow it wasn't anywhere. Heh?
11 years ago
Vladimír Vondruš
8d5cccf285
Use BPTC instead of S3TC in 3D compressed texture test.
...
Mesa properly complained that S3TC isn't supported on 3D textures using
GL error (good), while AMD and NV had both their own unique data
corruption/random shuffling (bad!).
BPTC is available only on desktop, will have to wait until ASTC HDR is
more widely available.
11 years ago
Vladimír Vondruš
8ebbd5be45
Use Texture2DArray instead of Texture3D for compressed pixel storage test.
...
Mesa drivers (rightfuly) complained that S3TC is not supported on 3D
textures, the packing had weird behavior on NVidia but it passed w/o
problems on AMD. Now should be okay on all three, yay!
11 years ago