Commit Graph

7050 Commits

Author SHA1 Message Date
baldurk 0fea65d741 Implement barrier EventUsage tracking on D3D12 2018-02-19 18:24:28 +00:00
baldurk ef391f383a Make timeline bar key clearer to read 2018-02-19 18:07:12 +00:00
baldurk 52de64de26 Fix column major matrix transpose when reading cbuffer values. Refs #800 2018-02-19 17:41:37 +00:00
baldurk 6cf67f9e4f Display matrices in multiple lines instead of a single line
* This makes it easier to preview without expanding the variables, and
  also clarifies the row/column distinction in a "float3x4" since it's
  immediately clear how many rows there are.
2018-02-19 11:54:09 +00:00
baldurk 2eb56e4279 Display matrix memory order in cbuffer type column. Refs #800 2018-02-19 11:53:20 +00:00
baldurk 41112d10e5 Allow uuid for ID3D12CommandList in CreateCommandList
* This is as well as ID3D12GraphicsCommandList which is the actual
  type returned.
2018-02-19 10:51:50 +00:00
baldurk 40ed57c61a Update toolwindowmanager to 986c8e4881ff9e615c5f8c71347f9137c13fadfa 2018-02-19 00:52:15 +00:00
baldurk 9a6a45ca48 Reduce minimum tab width. Refs #866
* I'd like a smarter sizing scheme for tabs but unfortunately making it
  dependent on the widget size leads to unpredictable behaviour as the
  tab sizes aren't always updated at the right times.
2018-02-19 00:52:15 +00:00
baldurk cf1bd99d21 Add box frame shape around events list 2018-02-19 00:52:14 +00:00
baldurk 08457a329e Add itemview header drawing to RDStyle 2018-02-19 00:52:14 +00:00
baldurk 8691972212 Fix some minor rendering glitches (off by one errors) 2018-02-19 00:52:14 +00:00
baldurk 1792673864 Show an error message if saving changes fails 2018-02-19 00:52:14 +00:00
baldurk 1b5e96f363 Fix sizing/positioning of checkbox indicators in item view items 2018-02-19 00:52:14 +00:00
baldurk 5b42e129f0 When clicking on usage events in the timeline bar, select closest event 2018-02-19 00:52:14 +00:00
baldurk ba5a5cfb21 Allow resizing constant buffer preview columns 2018-02-19 00:52:14 +00:00
baldurk 04034c334b Gather pixel history panels together instead of making new dock for each 2018-02-19 00:52:13 +00:00
baldurk cafa6901bb Implement copy-paste handler for RDTableView 2018-02-19 00:52:13 +00:00
baldurk 49123db49f Add arrow_refresh into project properly 2018-02-19 00:52:13 +00:00
baldurk f9decacf0a Link against Qt5Networkd.lib in QTDebug target 2018-02-19 00:52:13 +00:00
baldurk 96faed6961 Call QHeaderView::initializeSections() to initialise QHeaderView
* Because many of QHeaderView's functions are annoyingly not virtual,
  we need some stub data available in QHeaderView even if it won't be
  used for anything much, like the number of sections.
2018-02-19 00:52:13 +00:00
baldurk 934800793a Improve workflow for capture import/export
* If the export doesn't need buffers, we export directly from the loaded
  capture file instead of re-loading it.
* Add progress bars for the load step so it shows what's happening
  instead of looking stalled.
* Reduce compression rate on XML+ZIP buffers as it took too long trying
  to compress when exporting large captures.
2018-02-19 00:52:13 +00:00
akharlamov 48c2678fed Fix stringifcation of VkAttachmentStoreOp enum 2018-02-17 01:11:18 +00:00
baldurk dda5629426 Don't sort resource list in resource inspector every time 2018-02-16 13:33:58 +00:00
baldurk c1da853854 Fix test that now has FixedArray flag 2018-02-16 13:25:23 +00:00
baldurk 41ba4be01e Don't serialise anything in between serialising buffer & fetching offset 2018-02-16 13:15:22 +00:00
baldurk f3f688fd48 Fix crashes if exporting structured data with open D3D12 capture 2018-02-16 12:37:44 +00:00
baldurk 81b9a94bbe Change label at the start of D3D12 command list 2018-02-16 12:37:30 +00:00
baldurk 8126e182e0 Don't modify renderstate unless recording partial command list 2018-02-16 12:37:01 +00:00
baldurk 2bd35f87ff Remove python modindex file from docs 2018-02-16 09:41:16 +00:00
baldurk de64755667 Add a structured data flag for fixed-size arrays 2018-02-16 09:39:46 +00:00
baldurk 7c7a4ae5ea Fix a crash if framebuffer size changes before overlay is set. Refs #863 2018-02-15 17:48:15 +00:00
baldurk ec1e21de35 Don't apply basevertex to restart indices when caching 2018-02-15 17:08:14 +00:00
baldurk 56e87514f6 Enable primitive restart for rendering strip-topology meshes. Refs #862 2018-02-15 17:07:38 +00:00
baldurk ea929668a7 Create android package data directory in case app doesn't do it natively 2018-02-15 16:43:11 +00:00
baldurk 38d87b9b3b Don't be surprised by multiple functions in SPIR-V editing
* Once we've reached the function bodies we can ignore any more function
  opcodes.
2018-02-15 16:03:14 +00:00
baldurk 32a360db8f Per-instance flag array should be indexed by attribute binding index 2018-02-15 15:17:12 +00:00
baldurk 96f611e649 Fix a couple of cases where re-ordering serialisation broke logic 2018-02-15 15:16:50 +00:00
baldurk 33b1470d20 Add missing CaptureOptions encode 2018-02-15 14:18:17 +00:00
baldurk c3ce289da4 Fix crash if vertex input elements are not compact 0-based indices 2018-02-15 12:47:15 +00:00
baldurk 48b7af9e87 Fix case trying to allocate off the end of a memory block
* If we're aligned up past the size of the allocation (possible if we
  apply bufferImageGranularity due to the incoming allocation being
  image and the last allocation in the block being a buffer) the next
  required offset would be past the size, so avail = block.size - offs
  would overflow and we'd try to allocate past the end of the block.
2018-02-15 11:41:33 +00:00
baldurk 0c7408b91e Don't allow single clicking on autofit to toggle auto-autofit 2018-02-15 11:23:52 +00:00
baldurk 9b1a937e57 Fix unit tests 2018-02-15 11:21:24 +00:00
baldurk ce6275920e Fix typos in vkCmdClear*Image. Thanks to @null77. Refs #876 2018-02-15 10:57:32 +00:00
baldurk 919c0f11dd Override type for structured data when directly serialising a ResourceId 2018-02-15 10:57:31 +00:00
baldurk 64406b47a3 Add an SDBasic type for ResourceId.
* This type is core enum and used globally (not API specific) that it
  merits becoming a specific structured data type
2018-02-15 10:21:52 +00:00
baldurk a1c104f6f8 Serialise VkMemoryHeap::flags as typed enum 2018-02-15 10:09:38 +00:00
baldurk 80128f8e9f Stringise VkFlagWithNoBits as 0 instead of empty string 2018-02-14 22:35:50 +00:00
baldurk 453b4e7d6e Serialise GL FBO 0 properly as a real resource, not as "no resource" 2018-02-14 19:55:13 +00:00
baldurk 90a6683e2b Fetch ResourceId even for handle == 0
* This happens in two cases - the legal one for FBO 0 (the window's
  backbuffer) - and the compatibility one for VAO 0.
2018-02-14 19:30:23 +00:00
baldurk 04fac1d6f8 Use android properties to pass capture options to the device 2018-02-14 19:22:23 +00:00