Commit Graph
11784 Commits
Author SHA1 Message Date
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 Vakulenko 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
baldurk afc9fc8f1e Fix verify-docstrings.py 2020-12-09 23:27:42 +00:00
baldurk 492aaf21b6 Fix apple compilation 2020-12-09 22:55:53 +00:00
baldurk 9d1673f5a4 Fix formatting in new docstrings 2020-12-09 22:55:48 +00:00
baldurk 6726540a11 Remove test passing NULL for rdcstr 2020-12-09 22:25:53 +00:00
baldurk 466eecde1d Remove raw strings from persistant config settings
* This seems to break on GCC 5 unfortunately, and is certainly a bit of an edge
  case.
2020-12-09 22:19:36 +00:00
baldurk f70c5be592 Fix issues with linux/mac builds 2020-12-09 21:57:15 +00:00
baldurk 8107a7a795 Account for array stride when unrolling AoS in buffer viewer 2020-12-09 18:16:08 +00:00
baldurk 8597b5ce30 Fix VulkanQuadOverdrawCallback still being active on restore replay 2020-12-09 18:16:08 +00:00
baldurk 68d690a912 When rendering overlays, clear to transparent black
* This might cause some fringing artifacts when at low scales due to non-PMA
  colors but it means there are no false-positive green pixels.
2020-12-09 18:16:08 +00:00
baldurk 7ff7e0a71d Replace fixed C arrays with wrapper class in public interface
* These map more naturally to python tuples and are easier to wrap in and out.
* We also tidy up the FloatVecVal etc and standardise the members of
  ShaderValue.
2020-12-09 18:16:08 +00:00