baldurk
019c0db6fe
Support .cap files in File -> Open menu and drag & drop
2016-04-02 15:58:17 +02:00
baldurk
1edb57b66d
Instead of SetLastError(0), try to restore the 'real' last error
2016-04-02 15:49:22 +02:00
baldurk
27696d9c7f
Handle GL attribList being NULL - use a default attrib list of { 0 }
2016-04-02 15:49:22 +02:00
baldurk
7a513ff965
Don't do any processing internally if GL context creation failed
2016-04-02 15:49:20 +02:00
baldurk
009bfb2c74
Where possible apply offs/len knowledge when viewing buffers. Refs #224
2016-04-02 15:39:27 +02:00
baldurk
f626e627b6
Use the deserialised dimensions for dispatch, not 0,0,0. Refs #216
2016-04-02 14:38:13 +02:00
baldurk
b630b84e20
Don't re-declare gl_ClipDistnace in gl_PerVertex that we don't need.
2016-04-02 13:42:22 +02:00
baldurk
979712730d
Fix descriptor set pool sizes being wrong
2016-04-02 13:24:25 +02:00
baldurk
0ed225ec12
Update DS error message code that changed
2016-04-02 13:24:14 +02:00
baldurk
2a45c6ece9
Set hooked_vkCreate/DestroyInstance to be VKAPI_CALL. Refs #230
2016-03-31 17:40:08 +02:00
baldurk
1480b81490
Fix for the winapifamily.h crap
2016-03-24 19:36:24 +01:00
baldurk
98436ddc68
Commit dbghelp.h that compiles without warnings in VS2015. Refs #222
2016-03-24 19:31:32 +01:00
baldurk
5869e9c1bf
Handle baseVertex as signed, separately from vertexOffset. Refs #228
2016-03-24 18:50:04 +01:00
Baldur Karlsson
6e4f9f44b3
Merge pull request #226 from cgmb/update-ubuntu-compile-docs
...
Update Ubuntu compilation dependencies
2016-03-19 15:02:33 +01:00
Cory Bloor
abbfd54390
Update Ubuntu compilation dependencies
...
- Add missing package to apt-get dependencies
- Switch reference version to Ubuntu 14.04 because 15.04 has reached
end-of-life.
2016-03-19 00:00:36 -06:00
Baldur Karlsson
910dcd43f7
Merge pull request #225 from Zorro666/master
...
Fix crash if fopen "/proc/self/maps" returns NULL
2016-03-16 15:08:55 -07:00
Jake Turner
97b7eebb3a
Fix crash if fopen "/proc/self/maps" returns NULL
2016-03-16 10:26:31 -07:00
Baldur Karlsson
940a7395da
Merge pull request #221 from olvaffe/linux-compile-fixes
...
More Linux compile fixes
2016-03-11 23:45:53 +01:00
Chia-I Wu
64513c9252
Turn on -Wextra
...
Add -Wextra and silence all warnings with -Wno-*. Among them, we probably
want to fix
-Wunused-variable
-Wunused-but-set-variable
-Wtype-limits
at some point.
2016-03-12 06:29:31 +08:00
Chia-I Wu
45f72944f1
Silence clang warnings for glslang
2016-03-12 06:29:19 +08:00
Chia-I Wu
2a88f015ef
Fix -Wmissing-braces warnings on clang
2016-03-12 06:29:19 +08:00
Chia-I Wu
556069f353
Fix -Wsometimes-uninitialized warnings on clang
2016-03-12 06:29:19 +08:00
Chia-I Wu
b571a07ee4
Fix warnings for 32-bit builds
...
On 32-bit targets, a Vulkan handle has type uint64_t and NULL cannot be
assigned to it.
The size checks for WrappedVk*Res also need to be fixed, considering
sizeof(void*) and struct paddings.
2016-03-12 06:29:19 +08:00
Chia-I Wu
7052a48b5b
Fix -Wunused-function warnings
2016-03-12 06:29:19 +08:00
Chia-I Wu
e6559843ee
Fix -Wignored-qualifiers warnings
2016-03-12 06:29:19 +08:00
Chia-I Wu
810eaca4b5
Use our version of dirname on Linux
...
std::string::c_str returns "const char *" while POSIX dirname may modify
the contents.
2016-03-12 06:29:19 +08:00
Chia-I Wu
e7c71671de
Use portable st_mtime for modificatoin time
2016-03-12 06:29:19 +08:00
Chia-I Wu
69c33da1e7
Include errno.h for errno
2016-03-12 06:29:19 +08:00
Chia-I Wu
c752f20310
Include stdlib.h for exit
...
exit is called from RDCFATAL and RDCDUMPMSG.
2016-03-12 06:29:19 +08:00
Chia-I Wu
aa8a0d353f
Fix glShaderSource with negative lengths
...
Each element of length can still be negative to indicate the string is
NULL-terminated.
2016-03-12 06:29:19 +08:00
baldurk
e3bafd3162
Add protection against indexed GL draw with no ibuffer bound. Refs #217
2016-03-11 22:31:55 +01:00
baldurk
a8463bf1d2
Tweak serialisation to be equivalent but have nicer strings. Refs #220
2016-03-11 22:22:46 +01:00
Baldur Karlsson
c100e1b6a0
Merge pull request #215 from olvaffe/linux-cmake
...
Use CMake on Linux
2016-03-11 21:55:17 +01:00
Chia-I Wu
cb9449230a
Update CMake rules
...
* Suggest users to use VS on Windows
* Add a top-level wrapper Makefile and disallow in-source builds
* Support clang
* Centralize compiler flags
* Remove all occurrences of "if(WIN32)..."
* Make qrenderdoc an external project
2016-03-11 10:23:56 +08:00
baldurk
d7fbd9ca9b
Serialise non-POD structure for remote replay
2016-03-10 19:56:31 +01:00
Chia-I Wu
73a2e96c93
Use CMake on Linux
...
The suggested way to build RenderDoc on Linux is now
$ mkdir build
$ cd build
$ cmake ..
$ make
It will print an error when used on other platforms.
2016-03-10 10:29:52 +08:00
baldurk
4c72248ba2
Skip over precision statements before redeclaring builtins. Refs #207
...
* This is clearly blatantly just a hack for this one shader, but I
refuse on principle to write an entire pre-processor just to figure
out where to insert a redeclared block that should not be necessary.
2016-03-09 21:02:36 +01:00
baldurk
4beb59aef9
Patch up renderpass initial/final layout if PRESENT_SRC. Refs #209
2016-03-09 20:11:31 +01:00
baldurk
8832d43215
Switch images/bufs back to EXCLUSIVE and just use Q family 0. Refs #208
...
* Ultimately once multiple queues are supported this will probably want
to use CONCURRENT and explicitly name all queue families.
2016-03-09 20:09:17 +01:00
baldurk
2091a6c7d5
Replaying vkResetFences() calls is necessary. Refs #210
2016-03-09 19:54:13 +01:00
baldurk
d1aba21985
Speculative fix - allow glBindTexture with texture = 0
...
* Even though it doesn't have an ID, we should allow and serialise
unbinds of textures.
2016-03-09 17:30:09 +01:00
baldurk
2ee7d3200b
Add non-name-mangled alternative exports for layer entry point
...
* On win32 __stdcall functions get name mangled even if C++ name
mangling is disabled.
2016-03-08 18:21:28 +01:00
baldurk
c7d8f9dea6
Remove WIN64 from projects on 32-bit platforms
2016-03-08 18:21:28 +01:00
baldurk
fa087b8825
Rename Get*ProcAddr exports to be android friendly. Refs #205
2016-03-08 18:21:27 +01:00
Baldur Karlsson
097c5f077b
Merge pull request #206 from olvaffe/linux-fixes
...
misc Linux fixes
2016-03-08 07:48:40 +01:00
Chia-I Wu
faf1f086df
Check for glXIsDirect in MakeContext
...
Create a direct renerding context when the shared context is too.
Otherwise, I got this error
X Error of failed request: BadMatch (invalid parameter attributes)
on nVidia.
2016-03-08 11:51:05 +08:00
Chia-I Wu
1f93ba2d3b
Make RenderDoc::SetLogFile safer
...
logFile will be "" when the app is launched from renderdoccmd on Linux.
2016-03-08 11:51:05 +08:00
Chia-I Wu
d6c48c60ef
Fix renderdoccmd -c on Linux
...
* argv[0] should always be set up
* log an error when execve fails
* logfile is always NULL and constructing a std::string from NULL throws
* really apply EnvironmentModification
2016-03-08 11:51:05 +08:00
baldurk
7aa561cc2d
Remove a load of validation layer filters that aren't needed anymore
...
* This is against the master build of the validation layers.
2016-03-08 00:06:15 +01:00
baldurk
17a9ae008a
Serialise out sharing mode for swapchain images, replay that on fakes
2016-03-08 00:05:51 +01:00