Commit Graph
11794 Commits
Author SHA1 Message Date
baldurk 8697aec4f4 Reactivate AMD buffer_device_address workaround 2021-01-05 18:26:27 +00:00
baldurk b98c1f956e When fetching bindless feedback patch pipeline to reference load RP 2021-01-05 18:26:27 +00:00
baldurk a89e6e9722 Don't set 0 patch vertices
* This likely comes from capturing without tessellation and retrieving 0, and
  replaying with tessellation. For this case we don't need to set the number of
  vertices at all.
2021-01-05 18:26:27 +00:00
baldurk 2fb48704ee Handle unsized depth-stencil formats in GL overlay properly 2021-01-05 18:26:27 +00:00
Kanglai QianandBaldur Karlsson 47c7b38f93 supporting full glCopyImageSubData 2021-01-05 16:40:12 +00:00
Aliya PazylbekovaandBaldur Karlsson c1ecd9d375 Some GGP modifications
qrenderdoc/Code/CaptureContext.cpp
- Adds GGP windowing system

renderdoc/driver/ihv/amd/amd_counters.cpp
- Enables AMD counters

renderdoc/driver/vulkan/vk_serialise.cpp
- Handling VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP in pNext
for vkQueuePresentKHR

renderdoc/os/posix/ggp/ggp_callstack.cpp
- Check that the file was opened
2020-12-25 10:32:22 +00:00
Omar El SheikhandBaldur Karlsson d9915388c7 Add check for Android Version
We need to check the android version running on the device to know
whether or not we need to make the adb install command use the
--force-queryable flag

Devices running Android R/11/SDK 30 are ones which support this flag
2020-12-22 19:57:59 +00:00
Omar El SheikhandBaldur Karlsson 050e9e1bba Update ADB Command to Install RenderDoc on Android
Added the --force-queryable flag to the adb install command for
renderdoc Android on devices running Android R/11/SDK 30

A feature being introduced in Android R requires all explicit
interactions between
apps to be declared ahead of time (either via manifest or during adb
install)

The --force-queryable flag during adb install does this, and is what
allows for the
shared objects from renderdoc (in this case the layers) to be
discoverable by
other apps targeting SDK 30+
2020-12-22 19:57:59 +00:00
baldurk 7aee537700 If multiple entry points are present in module, strip all unused
* When there's only one entry point it can be useful to see available but unused
  bindings or I/O parameters. When multiple entry points are present we cannot
  do that because we will see bindings or I/O for other entry points.
2020-12-19 12:49:39 +00:00
baldurk 610dda70db Use entry point interface ID list if available over building our own 2020-12-19 12:47:52 +00:00
baldurk 56c7c47a73 Don't emit drawcall errors for degenerate drawcalls. Closes #2124 2020-12-18 19:43:18 +00:00
baldurk a3c33c2e3f Patch variable pointer types when we remove the underlying pointer type 2020-12-18 15:44:05 +00:00
baldurk 6830321f04 D3D11 scissors are enabled globally, not per-scissor
* Even if a scissor isn't set/is empty, if the scissor state is enabled it
  should still be classed as enabled but empty.
2020-12-18 14:39:11 +00:00
baldurk 0e5f173b04 Hide independent blend toggle in common pipe state 2020-12-18 14:36:23 +00:00
baldurk fd1b051d2c Add helper for selecting sample mask, which varies in location by API 2020-12-18 14:05:54 +00:00
baldurk 674d11fdda Use RichResourceText system to linkify EID links with format @123 2020-12-18 13:42:04 +00:00
baldurk eabc6990b0 Don't try to always read 4 components of data from output. Closes #2119 2020-12-17 22:23:34 +00:00
baldurk 51d5250fd4 Reuse root elements array in D3D12 pipeline state
* This means if there's a large view array, selecting between draws with the
  same root signature doesn't free & reallocate the array, it can re-use the
  existing memory.
2020-12-17 15:23:45 +00:00
baldurk 7c35bdb174 Omit large ranges of empty resources in arrays in D3D12 pipeline state 2020-12-17 15:20:50 +00:00
baldurk f3b66b0112 Only refresh texture list if resource renames changed
* Otherwise the texture list doesn't change when selecting events.
2020-12-17 15:20:32 +00:00
baldurk 47571c6b92 CPU writes should be treated as writes in the timeline bar 2020-12-17 12:22:00 +00:00
baldurk e7e2b73170 Search extracted namespace for class, not all headers 2020-12-16 20:39:58 +00:00
baldurk 71f10084df Fix SPIR-V editor unit test for new section types 2020-12-16 18:06:23 +00:00
baldurk 0e054d864c Don't use capture writer after it is destroyed. Closes #2121 2020-12-16 17:24:53 +00:00
baldurk 402d43f915 Handle OpModuleProcessed being in a separate section properly 2020-12-16 17:24:39 +00:00
baldurk 523af0f2b4 Ensure replay controller only gets deleted via Shutdown() 2020-12-16 14:42:20 +00:00
baldurk 539ea53b3c Fix python reference in docstring 2020-12-16 00:27:41 +00:00
baldurk 2a6774db34 Remove incorrect sRGB conversion of clear overlay background color 2020-12-15 22:52:38 +00:00
baldurk 6ea3f99676 Don't enable scissor in D3D11 overlay if it wasn't enabled prior 2020-12-15 22:52:38 +00:00
baldurk 3aaccc4fda Use rdcfixedarray in parameters for functions instead of C arrays
* This maps better to tuples in python
2020-12-15 22:52:38 +00:00
baldurk 2b0f9c2eba Use richtext representation for ResourceId when converting to string 2020-12-15 22:52:38 +00:00
baldurk d727feb806 Improve handling of multiline richresourcetext documents 2020-12-15 22:52:38 +00:00
baldurk ed813e25bb Fix crash in vulkan overlay if non-drawcall is selected 2020-12-15 22:52:38 +00:00
baldurk 143f66478a Support converting an rdcarray pointer to rdcarray
* This means if there's no intervening list() it still works, e.g. passing an
  rdcarray property to a function paramater that expects an rdcarray in python.
2020-12-15 22:52:38 +00:00
baldurk d91785fefb Unbind unpack buffer when creating overlay texturel 2020-12-15 22:52:38 +00:00
baldurk 0163328884 Fix error messages not being printed from async python callbacks 2020-12-15 22:52:38 +00:00
baldurk 4bc795c344 Fix DumpObject to work with lists 2020-12-15 22:52:38 +00:00
baldurk f32008e95f Add access for changing the 3D preview stage in mesh viewer 2020-12-15 22:52:37 +00:00
baldurk 90ced90a89 Add common pipeline state helper to grab stencil face states 2020-12-15 22:52:37 +00:00
baldurk 5bdf00c0bf Checking for D3D12 features can fail, don't assert just zero the struct 2020-12-15 22:52:37 +00:00
baldurk fede056ef7 Fix bug in redeclarator if type hint like Tuple[int, ...] is used
* The ... confused the declaration process and so an empty identifier got
  registered, which then broke things later.
2020-12-15 22:52:37 +00:00
Alex VakulenkoandBaldur Karlsson e4e2d781bb Fix access mode for ::popen() call in ggp OS wrapper
popen's access mode was accidentally changed from string to enum used in
FileIO::open() wrappers. This is a posix function and should keep using
the string.
2020-12-15 22:52:05 +00:00
baldurk b6b255439a Properly check feature tiers in D3D12 as well as command list interface
* We also can handle default/no-op changes of state, like setting a 1x1 shading
  rate. Even if VRS isn't supported we can just skip the call.
2020-12-11 17:17:34 +00:00
baldurk 32cb98f800 Don't check framebuffer dimensions against image, check renderarea
* The framebuffer is allowed to be a smaller size, the renderarea is what we
  need to check to ensure we don't render outside the image with some stale
  state.
2020-12-11 14:48:03 +00:00
baldurk 76e86db3bd Fix selection of root constant source data when viewing cbuffers 2020-12-10 17:28:11 +00:00
baldurk 9a6ec5282d Don't build GL_Callstacks demo in release
* The nice callstacks we're looking for won't happen in release builds.
2020-12-10 16:56:34 +00:00
baldurk bd342e1596 Fix buffer overrun in D3D12_Draw_Zoo 2020-12-10 16:46:01 +00:00
baldurk 8b5234d0af Fix texture zoo remote server launch when running from renderdoccmd 2020-12-10 16:40:26 +00:00
baldurk 232c4a9ecb Fix texture zoo tests 2020-12-10 16:40:10 +00:00
baldurk ea2410fe9f Make new python documentation checks optional
* Older sphinx versions don't have an easy 'objects' property so we just drop
  this check. As long as it happens on CI builds that's the main thing.
2020-12-10 10:05:10 +00:00