baldurk
571b286eb3
Fix bytesize calculation of vertex output attributes
2020-05-20 11:52:24 +01:00
baldurk
ad86556ceb
D3D12CBufTag should refer to reflection-based index, not root sig index
2020-05-19 16:40:11 +01:00
baldurk
759fad10e3
Remove sleep accidentally left in
2020-05-19 16:35:10 +01:00
Raul Tambre
1478aeddde
Fix #1898 : Add missing QPointer include
2020-05-19 09:41:41 +01:00
baldurk
5eb80370fd
Change formatted for RGBA4 to xshort instead of xbyte2
2020-05-18 10:57:33 +01:00
baldurk
284dbe7d79
Fix crash if CustomPaintWidget is destroyed with paint mid-flight
2020-05-16 12:17:55 +01:00
baldurk
4db10c1ab8
Use RDMenu to add keyboard shortcuts for selecting replay contexts
2020-05-16 11:14:24 +01:00
baldurk
8a5fdda6b1
Add extended RDMenu
2020-05-16 11:13:19 +01:00
baldurk
22d5cf2313
Scroll selected pixel to centre on goto. Refs #1885
2020-05-15 20:50:55 +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
ca28154fc0
Check for geometryShader feature when fetching prim ID in pixel history
2020-05-15 19:03:27 +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
windog18
579dec8b4b
Solved cbuffer bind issue
2020-05-15 19:02:41 +01:00
baldurk
3bd09bd4a9
Fix applying offset wrongly on unclamped length
2020-05-11 18:04:22 +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
Jake Turner
d100c6c622
Include "QEvent"
...
Compile fix for MacOS Catalina
2020-05-11 18:04:00 +01:00
baldurk
1ad2cf0905
Handle opengl dvecX / dmatX types in buffer formatter
2020-05-08 20:43:25 +01:00
Steve Karolewics
ef58d7e1f8
Extend info in accessed resources panel in the shader viewer
2020-05-08 20:43:04 +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
9c42e886ae
Pass boundaries don't have any sub-draw modifications, same as clears
2020-05-06 19:35:50 +01:00
baldurk
343944db61
Fix anisotropy being lost when applying bias to sampler
2020-05-06 19:35:50 +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
4c195dd93c
Fix source variables not being marked as modified
2020-05-05 18:17:43 +01:00
baldurk
0e8cb5b2eb
Set search direction properly for find previous/next. Closes #1866
2020-05-04 13:48:25 +01:00
baldurk
e2fce8cad1
Fix crash if accessed resource is unbound
2020-04-30 18:15:29 +01:00
baldurk
54abdc3d14
Fix racy cross-thread access to target control connection. Closes #1857
2020-04-29 18:48:51 +01:00
baldurk
2865fe101d
Deduplicate resource accesses by binding not by name
...
* For D3D this should be equivalent since name == bindpoint, but for SPIR-V this
prevents the same binding being loaded into multiple SSA variables from being
added every time.
2020-04-29 18:48:51 +01:00
baldurk
fe882fe872
Default to debug variables panel if there's no high-level debug info
2020-04-29 18:48:50 +01:00
baldurk
1da60805e0
Allow source variable mappings to point to the root of a complex type
...
* For vulkan debugging where high-level variables are not scattered amongst
vectors, there's no point in having the whole tree expanded for source mapping
struct-to-struct or array-to-array.
2020-04-29 18:48:50 +01:00
baldurk
2eaeb96799
Add UI to vulkan pipeline state viewer to allow compute debugging
2020-04-29 18:48:50 +01:00
baldurk
7c265efe2e
Configure ShaderConstant descriptor for vertex inputs
2020-04-28 18:15:33 +01:00
baldurk
7d233f074c
Don't launch pixel history on failure if the feature is not supported
2020-04-28 18:15:33 +01:00
baldurk
84a804f95d
Set byte strides for error case of buffer formatter
2020-04-28 18:15:33 +01:00
Steve Karolewics
ade2325623
Cache resources fetched from the pipe state in the texture viewer
2020-04-28 18:15:20 +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
Steve Karolewics
08d1189d99
Give ShaderViewer its own copy of bindpoint mappings
...
Previously this data was a reference to the current pipeline state, so
when the selected event changed, the ShaderViewer's bindpoint mappings
would be inaccurate.
2020-04-27 18:16:46 +01:00
Steve Karolewics
2c4f2a57a8
Add resource tracking to DXBC shader debugging
...
When a resource is accessed, it is now tracked by the debug step. The
shader viewer has a new panel to display resources accessed up to the
current step, with context menus to go to previous/next access of a
specific resource.
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
a7b4fe9167
Don't clamp length against buffer size after applying offset
...
* If we have a given view length that fits in the buffer, we shouldn't apply the
offset before clamping. Instead we apply the offset on the buffer length if
that's what we're using as our size.
2020-04-27 13:03:47 +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
aae3a75f6e
Add newly added variables to start of variables list
...
* But all variables added in a single step still remain in the order they're
reported in as changes.
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