Jake Turner
d158ed2a6b
Renamed vk_apple.mm -> vk_apple_helpers.mm
...
Support for Xcode project generation.
Distinguish object file between .cpp & .mm versions.
Xcode project build did not work when had the same source file with .cpp and .mm extensions ie. vk_apple.cpp & vk_apple.mm
The makefile generator explicitly distinguishes the targets ie. vk_apple.cpp.o & vk_apple.mm.o
2021-06-08 09:22:31 +01:00
Jake Turner
5907182f95
Renamed cgl_platform.mm -> cgl_platform_helpers.mm
...
Support for Xcode project generation.
Distinguish object file between .cpp & .mm versions.
Xcode project build did not work when had the same source file with .cpp and .mm extensions ie. cgl_platform.cpp & cgl_platform.mm
The makefile generator explicitly distinguishes the targets ie. cgl_platform.cpp.o & cgl_platform.mm.o
2021-06-08 09:22:31 +01:00
baldurk
003ab7469c
Fix crash in postvs on vulkan with NULL vertex buffers bound
2021-06-07 11:02:50 +01:00
Peter Lohrmann
81ebf46cad
Update to GPUPerfAPI 3.8
...
This includes updated header files, which needed minor local tweaking to
remove an intermediate directory from the include path, and to disable
the <vulkan/vulkan.h> header from being included in gpu_perf_api_vk.h.
All entrypoints and some datatypes were renamed in the latest version,
but functionality remains the same.
Includes support for new AMD Radeon RX 6000 Series graphics cards.
2021-06-03 11:48:58 +01:00
baldurk
21598b5d0c
Fix missing override on function
2021-06-01 21:35:10 +01:00
baldurk
ea16d31aa3
Invalidate cached hover index in tree view when model changes
2021-06-01 18:17:55 +01:00
baldurk
03c12d6e94
Set API inspector events list to uniform row heights
...
* This is a significant optimisation, otherwise Qt will iterate over every event
and get its size, which can be expensive with the events being rich text
strings.
2021-06-01 18:17:10 +01:00
baldurk
fb95285ca1
Put all annotation docs into the same 'how do I' page. Refs #2285
...
* This page now documents both how to annotate things from code in the
application, as well as at runtime in the UI.
2021-06-01 13:29:09 +01:00
baldurk
6ce0b9a087
Fix problems with capturing frame 0 of opengl programs
...
* Until a context is activated we can't know if it's modern or not.
2021-05-31 10:12:10 +01:00
baldurk
0f686ee71c
Bump version to 1.15
2021-05-28 17:14:41 +01:00
baldurk
50b2cecc50
Add documentation for shader messages window
v1.14
2021-05-28 12:19:12 +01:00
baldurk
16a0ebc421
Always add add printf location inputs to entry point globals
...
* Even in older SPIR-V versions, Input class globals should be listed in the
entry point interface list.
2021-05-28 12:01:21 +01:00
baldurk
778d91e42c
When setting up printf location only patch it into entry point function
2021-05-28 11:57:46 +01:00
baldurk
4d189b7f90
Add bigger warning in documentation about process injection
2021-05-28 11:46:13 +01:00
baldurk
1ed4b561e6
Fix discard patterns to work correctly with multisampled UINT textures
2021-05-27 14:18:05 +01:00
baldurk
c41a6b3740
Don't call output displays while closing a capture
2021-05-27 14:16:23 +01:00
baldurk
0e7ee12030
Only pause and restart renderpasses in pixel history if one is active
...
* Secondary command buffers don't have to be executed within a renderpass, so we
can't assume that one is active.
2021-05-27 11:59:24 +01:00
baldurk
ffa33cfda2
Fix handling of pass events when selecting a non-draw
2021-05-27 11:45:01 +01:00
baldurk
d8d99f49d6
Tweak naming of SPIR-V IDs to match between shader reflection and debug
...
* This helps for the automated tests to match up debugged values against output
signatures for vertex shaders
2021-05-26 20:38:23 +01:00
baldurk
2ddf567fec
Require explicit opt-in to enable process injection on windows
...
* This option (in spite of large warnings) continues to be a pitfall for new and
experienced users alike, trying to use process injection without good reason
and getting into trouble when it breaks.
2021-05-24 16:51:43 +01:00
baldurk
399f1c59e0
Remove trailing line referring to old removed section of docs
2021-05-20 10:12:52 +01:00
baldurk
0ef09300bb
Fix code not setting return value for cached dxc module
2021-05-20 10:12:46 +01:00
baldurk
00e1f0056d
Fix a crash if a table widget gets a copy shortcut with no selection
2021-05-19 11:44:41 +01:00
baldurk
2005d2d08e
Try to workaround dxc being brittle, locate precisely matching dxil/dxc
...
* If we load any dxil with any dxcompiler, sometimes the compiler will not
function. So if we find a dxil the highest priority is finding a dxcompiler
right next to it which is presumed to precisely match and be compatible.
2021-05-19 11:34:36 +01:00
baldurk
9d9c5d45d9
Don't track non-created proxy resources if invalid descriptor came in
2021-05-19 11:34:36 +01:00
baldurk
b8d10c4875
Help visual assist ignore/skip parsing generated SWIG code
...
* This didn't used to be as much of an issue but it seems
2021-05-18 12:29:20 +01:00
baldurk
16b82d1689
Handle rdcstrpair or rdcstrpairs in function return types for docstrings
2021-05-17 15:05:13 +01:00
baldurk
d8d6557feb
Add support for file includes from custom shaders. Closes #2275
2021-05-17 13:47:58 +01:00
baldurk
331db5b4ba
Fix custom shader edits to write the exact editor contents to disk
2021-05-17 13:47:58 +01:00
baldurk
4a9d32db3f
Sort GL read/write bindings by bindpoint and use mapping properly
...
* We need to use the bindpoint mapping to ensure we look up the correct usage
information. Also iterating over the unsorted shader resources potentially
gives us out-of-order bindings, so we resort by bindpoint (which was sorted
into binding order in the implementation).
2021-05-17 13:47:58 +01:00
baldurk
32546737bc
Fix derivatives in vulkan shader debugger
2021-05-17 13:47:58 +01:00
baldurk
46e1f84f2e
Fix memory leak with double-duplicate of structured object
2021-05-13 15:47:54 +01:00
baldurk
3685ca1c09
Fix auto-conversion of vertex inputs in vulkan shader debugging
2021-05-13 15:36:45 +01:00
baldurk
c715d2c7ad
Pre-populate selected text in shader find dialog when pressing ctrl-f
2021-05-13 15:01:54 +01:00
baldurk
9597cb67eb
Insert printf location initialisation after local function variables
2021-05-13 15:01:08 +01:00
baldurk
12c1a8efeb
Bitcast loaded pre-existing variables to uint for printf location
2021-05-13 15:00:54 +01:00
baldurk
3a7adb0ca6
Comply with SPIR-V 1.4 requirement to list all entry point variables
...
* This includes privates we add as well as SSBOs etc. We only add these to the
entry point list for SPIR-V 1.4+
2021-05-13 14:19:47 +01:00
baldurk
4c5f2d2158
Adjust instance index to account for offset
2021-05-12 15:38:02 +01:00
baldurk
4bd350297b
Don't include pass boundary draws in batch-postvs fetch
2021-05-12 14:11:03 +01:00
baldurk
f7db7617b6
Only read printf data if shaders used printf
2021-05-12 13:50:39 +01:00
baldurk
5def7fd60d
Fix further docstring typos
2021-05-11 18:36:46 +01:00
baldurk
3107cc5932
Fix typo in docstring
2021-05-11 18:16:11 +01:00
baldurk
39ec6da668
Remove unused lambda capture
2021-05-11 17:35:36 +01:00
baldurk
447040e49d
Fix cast on 32-bit build
2021-05-11 17:34:53 +01:00
baldurk
57a0463aa2
Add new classes to python documentation index
2021-05-11 17:34:31 +01:00
baldurk
4ba5c326af
Add missing Qt include
2021-05-11 16:21:38 +01:00
baldurk
b4ec703d97
Expose shader printf messages in the UI
2021-05-11 16:15:31 +01:00
baldurk
c6c133bdd0
Add icons for texture viewer pixel history/debug buttons
2021-05-11 16:15:31 +01:00
baldurk
4eb2621bca
Fetch shader messages from DebugPrintf
2021-05-11 16:15:31 +01:00
baldurk
968fd249c0
Check for appropriate storage features before applying shader feedback
2021-05-11 11:03:54 +01:00