baldurk
660d696b58
Test that dirty pipelines can still be shader-edited properly
2020-04-21 17:09:33 +01:00
baldurk
8ee6e43ed6
Check that we can render secondary mesh data with only two components
...
* We need to be sure that we don't accidentally read RGB anyway.
2020-04-21 17:09:24 +01:00
baldurk
3d29947367
Fix odd linux compile error in tests
2020-04-08 18:39:03 +01:00
baldurk
5e2de7dd34
Fix issues switching between mips with overlays on vulkan
2020-04-07 14:05:43 +01:00
baldurk
feafbde8bc
Add GL hack to check for implicit thread switching
...
* This is a very big blunt hammer for fixing the problem of multithreaded
submission from GL. Every GL call checks to see if the context changed (which
would only happen from a thread switch to a different context) and if detected
it inserts a manual MakeCurrent call equivalent.
* It's slow to capture (when this happens - checking is not particularly slow)
and slow to replay, but it's functional which is an improvement.
2020-04-02 18:15:44 +01:00
baldurk
ea6cc026ae
Allow de-activating GL contexts in tests
2020-04-02 18:15:44 +01:00
baldurk
4c5b209e6f
Test constant buffer offsetting in cbuffer zoo tests
2020-03-20 16:16:52 +00:00
baldurk
f8a6cbb0c7
Clear mips/slices in overlay on GL to avoid undefined contents
2020-03-19 17:16:19 +00:00
baldurk
40611a3dde
Test subresource rendering in overlay tests, remove png comparisons
2020-03-12 16:51:19 +00:00
baldurk
b392c07d83
Add tests that use large vertex buffers
2020-03-11 18:00:53 +00:00
baldurk
7e0bab41ab
Test for duplicate extensions in GL extension string
2020-03-05 19:35:45 +00:00
baldurk
aacf148201
Add test of creating an empty capture
2020-02-21 17:56:53 +00:00
baldurk
70913fdda5
Add test that GL multi-draw mesh output works with builtins
2020-02-21 17:56:53 +00:00
baldurk
4ec8280ee8
Add test of KHR/EXT GL debug marker behaviour
2020-02-21 17:56:53 +00:00
baldurk
31e2447db4
Extract out some common code from GL_Simple_Triangle
2020-02-21 17:56:53 +00:00
baldurk
06570ea7ad
Remove backbuffer comparisons from test suite, simplify default triangle
...
* It's not particularly scalable and can be brittle to driver changes, and we
can use targeted specific pixel tests to check what we really want - to see if
the output has rendered correctly.
* Overlay tests still check files directly - this is a future refactor to
remove.
2020-02-11 17:11:33 +00:00
baldurk
c3b6b6890e
Add tests that shader ISA disasm works, including live driver output
2020-02-03 18:18:17 +00:00
baldurk
09be5f4047
Fix structured export/import of initial states resource contents on GL
2020-02-03 18:18:16 +00:00
baldurk
a49f3f5462
Add test of degenerate vertex shaders with no outputs but full GS output
2020-01-22 19:05:53 +00:00
baldurk
6c68576707
Add workaround for strange systems with difficult visualinfo setups
2020-01-22 19:05:53 +00:00
baldurk
45f983f97b
Fix compilation of GL demo on linux
2020-01-21 18:28:57 +00:00
baldurk
db0779e09b
Add test for mesh view - vertex picking and mesh rendering
2020-01-21 18:28:55 +00:00
thisisjimmyfb
0734776a49
added test demo and script for opengl backdoor context
2020-01-20 13:41:18 +00:00
baldurk
1758b32045
Add a test of callstack collection
2020-01-13 19:04:44 +00:00
baldurk
29a650d859
Don't delete the 0 VAO or FBO, even if the application asks nicely
2020-01-07 17:28:17 +00:00
baldurk
2916c0f9f7
Update copyright years to 2020
2020-01-06 16:20:45 +00:00
baldurk
dbbfe4c35c
Fix clang warning about adding to string literal
...
* This is what we want to do but it's admittedly quite strange
2019-12-20 15:09:33 +00:00
baldurk
c22a5f3622
Add GL test helper to make compute program
2019-12-18 19:09:18 +00:00
baldurk
cde17e9710
Set NEAREST sampling for textures in GL texture zoo
...
* This is needed particularly for integer textures which are incomplete if
sampled (even with a non-sampling instruction) with the default LINEAR
filtering.
2019-12-18 19:09:18 +00:00
baldurk
b123ef42a9
Check that our MSAA sample count is supported in GL texture zoo test
2019-12-18 19:09:18 +00:00
baldurk
6bbf4cb209
Allow fallback to glslangValidator in tests for compiling SPIR-V
2019-12-12 17:58:52 +00:00
baldurk
f8ff6b4f6c
Fix parameters for rendering 3D depth images in texture zoos
2019-12-12 17:58:51 +00:00
baldurk
c63baeb609
Bind unused pixel pack/unpack buffers in GL_Resource_Lifetimes test
...
* This ensures having them around doesn't break capture.
2019-12-11 16:59:50 +00:00
baldurk
7726dc1cd0
Test glCreateShaderProgramv use in GL_Resource_Lifetimes test
2019-12-11 16:52:20 +00:00
baldurk
67082e037d
Fix GL texture zoo handling of RGB9E5
2019-12-10 19:39:08 +00:00
baldurk
77b5c391e9
Check that we handle padding and alignment around structs
...
* On all APIs structs are aligned up to 16-byte alignment, and on D3D as with
arrays then elements coming after the struct can be packed into the padding
after the last struct element.
2019-11-29 13:53:44 +00:00
baldurk
24c0b018ea
Fix types used for non-uint types in GL_Texture_Zoo test
2019-11-27 12:06:25 +00:00
baldurk
279a2ec69d
Add texture zoo tests
...
* These tests ensure that texture rendering works correctly for all different
types of texture types, and for all formats, across different APIs, including
across a remote-proxy connection.
2019-11-26 17:38:27 +00:00
baldurk
273a87e606
Fix calculation of array byte stride for structs with padding in DXBC
...
* Instead of summing the members offsets, we set it to the offset of the last
member plus the last member's size.
2019-10-25 18:29:30 +01:00
baldurk
1eae20cad3
Add test of exporting/importing capture with a large number of buffers
2019-10-24 18:02:54 +01:00
baldurk
16dace3d48
Fix tests running on 32-bit
2019-10-01 17:59:01 +01:00
baldurk
40375a6d6e
Ensure all values are used and unstripped in GL_Vertex_Attr_Zoo
2019-09-18 15:28:12 +01:00
baldurk
612963bb11
Fix GL shader editing shader to not use uninitialised data
2019-09-18 14:16:28 +01:00
baldurk
f8221d858d
Ensure we don't hide an invalid buffer value that truncates to green
2019-09-18 13:55:27 +01:00
baldurk
35fec3f29e
Fix shutdown order for GL test context & window
2019-09-18 13:30:58 +01:00
baldurk
9a99696593
Explicitly request alpha channel for GL test backbuffer
2019-09-18 13:15:38 +01:00
baldurk
6d282f90d9
rename TEST macro to un-confused visual assist
...
* Visual assist comes with a pre-defined interpretation of TEST() for
googletest, which conflicts with ours. We can't seem to override it with a
va_stdafx.h even
2019-09-17 12:40:00 +01:00
baldurk
f3220bd6fb
Use more stable clear color for comparison
...
* We need to allow for off-by-one errors in our color comparisons
2019-09-16 18:50:01 +01:00
baldurk
5e32e92205
Remove grey-area glShaderSource calls
...
* These crash on AMD and it's still unclear if they are spec legal.
2019-09-16 18:40:43 +01:00
baldurk
dff2583db3
Add tests for specific parameters
2019-09-13 17:33:48 +01:00