ttyio
79e30d6a03
clean up unnecessary code
2016-04-08 17:54:18 +08:00
baldurk
1ed69916c9
Use the new tinyexr API for memory load/save instead of manual additions
2016-04-07 00:55:30 +02:00
baldurk
432423d84a
Update to the latest tinyexr library
...
* Manual warning fix for VS2015U2 applied. Refs #233
2016-04-07 00:54:57 +02:00
baldurk
96aa458dd1
Add an abort button for interrupting python scripts during execution
2016-04-06 22:54:16 +02:00
baldurk
840338140d
Rewrap enumerated physical devices every time. Refs #234
2016-04-06 20:18:55 +02:00
baldurk
ed400cbed0
Iterate over consistent queue count, not number of families. Refs #236
2016-04-05 20:36:33 +02:00
baldurk
215d0c704c
Check for EXT_depth_bounds_test before fetching/applying state
2016-04-02 18:21:33 +02:00
baldurk
caf2e2c20d
Don't pass mipLevel to textureSize() for rectangle textures
2016-04-02 18:21:26 +02:00
baldurk
5888c09ba0
Mute any errors generated by logging from earlier in the function
2016-04-02 16:32:44 +02:00
baldurk
a3325fbcff
Fix scarily broken iteration of GL context creation attribs list.
2016-04-02 16:26:08 +02:00
baldurk
ba70a31557
Alias serialisation of a few gl*Parameteri functions, to display enums
...
* Since sizeof(GLenum) == sizeof(int32_t), we can make a backwards
compatible change to the serialisation so that depending on the param
name we either serialise the value as an int or a GLenum. This only
makes a difference in the text representation, as the enum name is
displayed instead of its integer value.
2016-04-02 16:14:21 +02:00
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