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
baldurk
aec2f8db79
Store whether or not a shader uses debug printf
...
* Shaders that use printf will go through the feedback path, even though they
may not use arrayed descriptors.
2021-05-11 11:03:54 +01:00
baldurk
3021cc9fa4
Add query to see if edited SPIR-V entry points need to list all globals
2021-05-11 11:03:54 +01:00
baldurk
bac34ac84f
Add way to check for existing capabilities
2021-05-11 11:03:54 +01:00
baldurk
645d3763fb
Add method for inserting deferred constants in SPIR-V
...
* Our iterators currently don't update when insertions are made before them, so
adding constants while modifying a function is a problem. However we can just
reserve an ID and add the constant later.
2021-05-11 11:03:54 +01:00
baldurk
6dafc45b8b
Allow custom string argument formatting without va_list
2021-05-11 11:03:54 +01:00
baldurk
40e3de7c13
Disable overwolf fork of OBS
2021-05-10 17:02:49 +01:00
baldurk
732ccb2d89
Fix D3D12_AMD_Shader_Extensions test for DXIL support
...
* We can't build with -O0, it has to be at least -O1 for DXIL. We also need -Ges
/ strictness on both builds.
2021-05-10 17:02:49 +01:00
baldurk
9c50927777
Remove navigation elements on embedded help builds (like htmlhelp)
2021-05-10 17:02:49 +01:00
baldurk
e33263270d
Remove encoding & embedded js that breaks htmlhelp builder
2021-05-10 17:02:49 +01:00
baldurk
b8abb18810
Reset sphinx rtd theme to 0.5.2 with no modifications
...
* The next commit will contain our customisations that we still need for chm, to
make it clearer.
2021-05-10 17:02:49 +01:00
baldurk
95e55549d8
Fix sphinx-paramlinks for sphinx 4.0.0
2021-05-10 17:02:48 +01:00
lizj
5fde0ad90d
Fix incorrect backcolorPick button state after cancellation
2021-05-10 14:18:19 +01:00
baldurk
633170eb7e
Readback indirect parameters after vkCmdEndRenderPass2
2021-05-06 16:38:01 +01:00
baldurk
20eaae67d6
Add hex float printf support to utf8printf
2021-05-06 14:26:01 +01:00
baldurk
bd3cf5c166
Refactor clamping of masked mapped regions to ensure no OOB writes
2021-05-05 18:17:58 +01:00
baldurk
21a5c1dcab
Better disassembly of NonSemantic.DebugPrintf
2021-05-05 16:08:48 +01:00
baldurk
9822a84ee8
Compile fix
2021-05-04 19:40:28 +01:00
baldurk
015cae07ca
Hook nvEnc open encode session and unwrap device passed in
...
* Newer nvenc seems to check that this device matches resource->GetDevice() for
passed in resources which is reasonable to want, so we unwrap it on the way
in.
2021-05-04 19:07:10 +01:00
baldurk
efd2a50a3a
Use python datetime for calculating durations, not time.time()
2021-05-04 14:12:03 +01:00
baldurk
c7b7d3dbcc
Clamp masked writes to mapped memory region against size. Closes #2268
...
* When manually masking writes to mapped memory with tiled resources we need to
avoid overrunning the bounds of the mapped region.
2021-05-04 12:21:51 +01:00
baldurk
3d2c003348
Sanitise layout when doing discard patterns
...
* This is possible in case an application discards a resource straight into
present layout for some reason.
2021-05-04 10:54:19 +01:00
baldurk
f530392bc1
Check that destroying a command allocator mid-capture works OK
2021-04-30 16:58:55 +01:00
baldurk
2af11c5395
Add test of AMD extensions in D3D12
2021-04-30 16:41:17 +01:00