baldurk
d9fc87ec2a
Do our best to determine suffix for unknown file filters. Closes #1993
...
* We work around a GNOME bug here by ignoring a selected filter if it's the
empty string. For all other unknown filters we try to determine the suffix on
the fly.
2020-08-07 16:12:29 +01:00
baldurk
e6a2b94b6f
Disallow closing progress dialogs early
...
* Normally the close button is hidden but some platforms don't allow this.
2020-07-27 16:17:13 +01:00
baldurk
bc4a803605
Add usage entries for discards. Closes #1951
2020-07-12 10:52:10 +01:00
baldurk
0d026a43d6
Remove CompType::Double
...
* This is a leftover artifact from before we had general extended type support
and double was the only non-32 bit type we handled. Now we support most type
formats so doubles are just CompType::Float with 8 byte width
2020-07-12 10:52:10 +01:00
baldurk
d1d84d22b0
Don't print error if struct stride is exactly matched
2020-07-12 10:52:10 +01:00
baldurk
dd8c63d13c
Don't lock around calling RunCommand(). Closes #1970
2020-07-03 13:02:06 +01:00
baldurk
e5e9a9c94b
Use QDoubleSpinBox for partial 64-bit int support. Closes #1952
...
* Actually creating a 64-bit spinbox is not feasible without constructing it
almost from scratch due to how much QAbstractSpinBox depends on private
internals that can't be overridden. Instead use a QDoubleSpinBox with no
decimals since we don't need the full 64-bit range, and the mantissa of a
double is enough.
2020-06-30 12:34:52 +01:00
baldurk
592cf968e3
Add a new analytics tracking flag for "has any capture used DXIL"
2020-06-18 17:22:44 +01:00
alex
9414beaed2
Support multiple custom shaders directories for Texture Viewer
2020-06-16 11:47:52 +01:00
alex
c1612f5d46
Add Texture Viewer custom shaders directory setting
2020-06-16 11:47:52 +01:00
baldurk
36d74b32b9
Add optional output file for qrenderdoc unit tests
2020-06-11 20:06:43 +01:00
baldurk
d1f4a47cd5
Add a load of MSBuild nonsense to *avoid* targeting a specific Win SDK
...
* Even though we don't care about the windows SDK version at all, we actively
need to avoid the default which actively sabotages us.
2020-06-11 20:05:03 +01:00
baldurk
ebe0ab1b64
When running process as root, show error dialogs. Closes #1932
...
* Error logs are less likely to be noticed by users when things go wrong.
2020-06-08 16:01:45 +01:00
baldurk
f40490c049
Avoid underflow when calculating padding bytes
2020-06-05 19:36:02 +01:00
baldurk
8ff6251d98
Handle hlsl/glsl matrix dimension order properly in buffer formatter
2020-06-05 14:19:39 +01:00
baldurk
fe8a35b2f0
Fix calculation of matrix variable sizes. Closes #1927
2020-06-05 14:11:14 +01:00
baldurk
40183bff46
Fix typo in buffer formatter for padded column major matrices
2020-06-05 13:54:26 +01:00
baldurk
a0a373a8e1
Fix handling of buffer truncation and zero-sized buffers
2020-05-29 17:26:29 +01:00
baldurk
72d789e486
Add necessary padding in buffer formatted between members
2020-05-26 13:52:47 +01:00
baldurk
5eb80370fd
Change formatted for RGBA4 to xshort instead of xbyte2
2020-05-18 10:57:33 +01:00
baldurk
a81994071f
Wait for shader viewer background debugging, add cancel button
...
* Until we properly support background debugging we need to wait for it to
complete, otherwise the user could close the window and we'd crash.
2020-05-15 20:31:42 +01:00
baldurk
ed0c143be7
Close replay thread last to process any invoked resource frees
2020-05-15 19:03:26 +01:00
baldurk
08cf66abce
Fix racing busy signals when connecting to remote servers
2020-05-15 19:03:26 +01:00
baldurk
49d6f205e9
Add padding for buffers where matrixByteStride needs it. Closes #1874
2020-05-11 18:04:22 +01:00
baldurk
7045e241e2
Specify row_major on struct members. Closes #1873
2020-05-11 18:04:22 +01:00
baldurk
1ad2cf0905
Handle opengl dvecX / dmatX types in buffer formatter
2020-05-08 20:43:25 +01:00
baldurk
90c10ea1fc
Handle boolean inputs in vulkan shader parameters
...
* We change to use VarType instead of CompType for signature parameters which
allows us to represent different types of variables beyond just
unsigned/signed integer and float.
2020-05-07 22:46:41 +01:00
baldurk
863636d243
Reset the list of replaced resources when closing a capture
2020-05-06 19:35:50 +01:00
baldurk
417dc91925
Set the correct number of columns for packed formats in buffer view
2020-05-06 19:35:50 +01:00
baldurk
a9a821081a
Don't mark resources as replaced more than once
2020-05-05 18:17:52 +01:00
baldurk
84a804f95d
Set byte strides for error case of buffer formatter
2020-04-28 18:15:33 +01:00
Steve Karolewics
f29fe5864e
Make RichResourceTextMouseEvent only respond to left button clicks
...
Previously it prevented context menus from working when activated over
a rich resource text field.
2020-04-27 18:16:46 +01:00
baldurk
133b8a41b9
Fix handling of column-major matrices in buffer viewer. Closes #1848
2020-04-27 13:46:58 +01:00
baldurk
267798b240
Add boolean vartype
2020-04-24 20:14:48 +01:00
baldurk
4dc0d799db
Add default child name for structs when generating buffer formatter
2020-04-24 20:14:47 +01:00
baldurk
97665b2c30
Display resources in shader viewer tooltips properly
2020-04-23 19:14:09 +01:00
baldurk
f506dcf395
Add support for storage buffer access
2020-04-23 19:14:08 +01:00
baldurk
e90461c065
Fix incorrect check in DumpObject helper
2020-04-23 19:14:08 +01:00
baldurk
f57709366a
Truncate resource names that are unreasonably long. Closes #1832
2020-04-21 17:09:33 +01:00
baldurk
86c5c70a13
Fix packed format (uintten/unormten) use in the buffer viewer
2020-04-21 17:09:32 +01:00
baldurk
c572ad2ed8
Fix HLSL edit stub generation with system values
2020-04-20 12:00:37 +01:00
baldurk
91de355955
Add a helper to dump objects with dir() and bypass swig's repr
2020-04-17 17:32:57 +01:00
baldurk
410df92bd7
Add function to connect to a remote host from python
2020-04-13 13:19:09 +01:00
baldurk
73c05536e0
Make Pointer a full VarType instead of a ShaderVariable member
2020-04-09 18:36:12 +01:00
Steve Karolewics
1137c4694c
Make D3D12Pipe root element centric instead of shader centric
...
D3D12Pipe now stores an array of root elements, each one corresponding
to a root element or range in the root signature. Migrated usage in the
D3D12 pipeline state viewer and PipeState retrieval of resources.
Restricted number of resource array textures displayed in the texture
viewer to prevent app hangs.
2020-04-08 18:38:38 +01:00
baldurk
9ba81634b4
Improve the title of shader edit windows
2020-04-03 15:19:28 +01:00
baldurk
590785c470
Mark edited resources with an (Edited) suffix on their names
2020-04-03 15:19:28 +01:00
baldurk
8323eb75ee
Don't enumerate GPUs while opening crash reporter
2020-03-20 16:16:51 +00:00
baldurk
d408f77241
Add configuration system for core renderdoc module
...
* This allows persistent config storage and registering tweak variables that
works independent of the UI's configuration.
* Config vars can be debug only, which means they will be compiled out in stable
version releases. This allows for debug-logging tweaks that are available in
all builds (including nightly builds) for diagnostic purposes, but have zero
overhead in stable releases.
* Variables have a loose hierarchy defined with _ or . to separate nodes.
2020-03-18 17:34:59 +00:00
baldurk
c0e84875f3
Forward signals/slots as well in ForwardingDelegate
2020-03-18 12:02:13 +00:00