baldurk
1ae2afc05a
Apply shader prefix even if encoding is directly accepted. Closes #2561
...
* The prefix, if available, must always be applied for custom shaders to compile
correctly.
2022-04-22 12:55:40 +01:00
baldurk
1201d47db4
Fix tooltips for sampler variables in shader debugger
2022-04-21 00:58:15 +01:00
baldurk
0c672aff22
Set the conservative raster state display properly on vulkan
2022-04-19 12:51:26 +01:00
baldurk
dee3c37d90
Fix some edge cases when handling unsaved captures. Closes #2554
...
* The 'no to all' option should always be present if there are multiple unsaved
captures across the connections, even if the current connection only has one
capture and so otherwise wouldn't have a 'no to all' option.
* The 'no to all' option will always discard all unsaved captures in all
connections when closing the window, if the user clicks no on the confirmation
of this, abort the close operation entirely and let them decide how to handle
it (e.g. discarding/saving captures in connections individually).
2022-04-18 17:06:44 +01:00
baldurk
26585e9a1b
Fix arrayed resource bindings shader debug variables. Closes #2550
2022-04-18 17:06:44 +01:00
baldurk
4c7d59c008
Update toolwindowmanager to 299471d
2022-04-11 13:13:21 +01:00
baldurk
be38f45171
Fix handling of split-register matrix source variables. Closes #2536
2022-04-11 12:57:10 +01:00
baldurk
9c1eeed29b
Fix copy-paste error with GLSL unsigned integer texture declarations
2022-03-30 12:51:36 +01:00
baldurk
378cad24bd
Fix some missing comments in custom shader snippet generation
2022-03-30 12:48:38 +01:00
Benoit Dumesnil
dfd00b1e38
Add support for shader model 6.6 bindless resources.
2022-03-21 11:30:47 +00:00
baldurk
f4d9cf2b7e
Fix UAV slot matching for D3D11 with merged UAV/RTV bindings
2022-03-17 18:10:05 +00:00
baldurk
ad9a4e854f
Fix to bizarre CI failure
...
* For some reason using != on these QSet<QString> fails in release only on
github's CI only. I don't know what is broken on their runners but this
workaround fixes it.
2022-03-09 03:02:13 +00:00
baldurk
a265a8363d
Compile fixes
2022-03-08 18:32:31 +00:00
baldurk
7b4f535663
Refactor watch variables to support complex types including structs
2022-03-07 18:45:57 +00:00
baldurk
b0db52c80b
Show variable context menu for constants panel as well
2022-03-07 14:45:44 +00:00
baldurk
26de305e1a
Allow adding a watch for any text selection
2022-03-07 14:45:44 +00:00
baldurk
8e76069ecf
Switch watch variables control from table to tree widget
...
* This will allow watching structs or arrays
2022-03-07 14:45:44 +00:00
baldurk
3af7458763
Continue to show last value of a watch variable when it's not available
2022-03-07 14:45:44 +00:00
baldurk
87f2adc829
Improve mapping of source locations to instructions in shader debugging
2022-03-07 14:45:44 +00:00
Jake Turner
949aaa2c0a
Guard XCode project generation specific settings
2022-02-19 11:17:33 +00:00
baldurk
08e7a55732
Fix potential crash internally to Qt when removing tree widget items
2022-02-19 10:24:33 +00:00
baldurk
fcdea67879
Update copyright years to 2022
2022-02-17 17:38:32 +00:00
Jake Turner
ce36cc340f
CMake files base setup for Metal
2022-02-17 14:06:28 +00:00
Remi Palandri
1abe42c0a4
add dimensions and offset info to HTML pipeline
2022-02-15 19:28:58 +00:00
baldurk
e99260ab6c
Add a context menu item for renaming captures in connection panel
2022-02-15 17:15:48 +00:00
baldurk
142fe7c84f
Allow editing the marker path as a location
...
* This lets you paste in a location to jump directly somewhere, for example.
2022-02-15 17:15:48 +00:00
Remi Palandri
d1858f4479
add support for VK_QCOM_FDM_offset
2022-02-14 21:02:27 +00:00
Steve Karolewics
f552b1b4e9
Prevent focus reset when typing in the compute debug selector
2022-02-08 16:27:55 +00:00
Steve Karolewics
c6c93efd22
Fix shader debugging display of high-level boolean variables
2022-02-04 20:04:19 +00:00
baldurk
6ab4c1ad74
Add support for VK_KHR_fragment_shading_rate. Closes #2426
2022-02-04 16:45:15 +00:00
baldurk
e58cb9a73b
Fix stepping over/into on instructions in the same function
2022-02-04 16:45:15 +00:00
baldurk
7f130077da
When source debugging, skip non-mapped instructions
...
* We entirely skip over any instructions that don't have a source mapping. These
are assumed to be filler instructions or others that don't correspond usefully
to anything in the source.
2022-02-04 16:45:15 +00:00
Leonard Tsai
f7c34cdb0c
Support VK_KHR_depth_stencil_resolve attachment in pipeline state view
...
Depth stencil resolve attachments were not being serialized and exposed in the pipeline state view. This change serializes the attachment id for the depth-stencil resolve attachment so that it can show up in the pipeline state view.
Update name of depth/stencil in pipeline viewer
Fix clang formatting
Update struct type
2022-02-03 18:49:10 +00:00
baldurk
76e273cbd4
Fix another clang warning
2022-02-03 11:13:16 +00:00
baldurk
fdda8be9c6
Allow watch variables to specify a color-swatch with ,c. Closes #2475
2022-02-02 15:00:44 +00:00
baldurk
e42b0ff2ca
Refactor ShaderVariable use and non-32-bit precision. Closes #2466
2022-02-02 15:00:43 +00:00
baldurk
f40e1fe951
Fix docstring references to ShaderSourcePrefix
2022-02-01 00:09:35 +00:00
baldurk
3ac4bd0ebd
Refactor custom shaders to abstract binding differences. Closes #2458
...
* Newly written shaders and any updated shaders can now use pre-defined macros
to abstract away binding differences between APIs, so custom shaders will be
more portable in particular shaders written in HLSL for D3D or GLSL on OpenGL
won't break on vulkan because they refer to incorrect binds.
2022-01-31 19:14:08 +00:00
baldurk
54fa3a7802
Recalculate scrollbar limits after switching textures. Closes #2470
2022-01-28 13:49:48 +00:00
Remi Palandri
c86261e776
add gl_ViewIndex to PS-debugprintf
2022-01-25 19:49:34 +00:00
baldurk
0620a8f114
Allow customising the fixed/monospace font as well. Refs #2443
2022-01-12 11:24:22 +00:00
baldurk
089126c34b
Add a new in-app API function ShowReplayUI to raise the UI window
...
* This is not guaranteed to work, e.g. on windows where for good reason
background windows can't necessarily raise themselves.
2022-01-12 11:24:22 +00:00
baldurk
3587f8e448
When closing multiple capture connections apply 'No to All' answer wider
...
* This means if you're closing multiple connections and click 'no to all' when
prompting save of instead of discarding just the captures in that connection
then going on to prompt for the next, it discards all remaining captures.
2022-01-12 11:24:22 +00:00
baldurk
a0d40073ce
Allow customising the font family. Closes #2443
2022-01-10 17:53:18 +00:00
baldurk
a16e1e7995
Add a python script to sort .ui files so grid layouts are in order
...
* This will help in future to keep diffs more readable
2022-01-10 17:30:57 +00:00
baldurk
1c3f30d90d
Resave all UI files with Qt Creator 5.15
...
* This gets rid of anything that might be changed with the latest version when
updating these files
2022-01-10 16:57:43 +00:00
baldurk
f1e81f69c5
Fix handling of S8 textures on vulkan. Closes #2428
2022-01-10 12:54:25 +00:00
baldurk
33751470f2
Fix random new CI failure by setting CMAKE_CXX_STANDARD_REQUIRED
2021-11-25 12:16:45 +00:00
baldurk
eb18acf224
Fix a crash opening performance counter viewer with capture open
2021-11-24 14:11:42 +00:00
Jake Turner
e3e50fd9e4
By default disable ENABLE_PYRENDERDOC for Apple
...
Rather than a platform exception when building python modules
cmake variable UNIX is true when building for Apple platform
2021-11-23 10:32:45 +00:00