Commit Graph

13157 Commits

Author SHA1 Message Date
baldurk c625f9dbd1 Add debug option for showing DebugValue opcodes 2022-06-02 18:13:29 +01:00
baldurk 21d4d4c017 Fix debugging of SPIR-V with offsets in image sampling operations 2022-06-02 17:02:30 +01:00
baldurk fcc7eada44 Ignore whitespace when matching variable tooltip expressions 2022-06-02 17:01:48 +01:00
baldurk 3059cc6160 Fix error code for linux programs failing to run 2022-06-02 17:00:52 +01:00
baldurk c3dd785a43 Don't add source files to SPIR-V reflection with no filename 2022-06-01 21:05:37 +01:00
baldurk 77232e0288 Fix lookup of HLSL direct cbuffer variable references 2022-05-31 13:06:42 +01:00
baldurk f01dfbecc1 Add a python extension function to access picked location. Refs #2065 2022-05-31 11:26:59 +01:00
baldurk 6d7d4829ee Fix docs build on sphinx 5 2022-05-30 17:09:17 +01:00
baldurk b3e8bdb0f5 Only show base EID not EID range when exporting actions 2022-05-30 15:58:30 +01:00
baldurk 49df2e4446 Include a few more things in verbose command recording logs 2022-05-30 11:18:31 +01:00
baldurk e89cee8f09 Bump version to v1.21 2022-05-27 17:10:54 +01:00
baldurk 70676a57a4 Fix a Qt error setting layout into buffer format specifier v1.20 2022-05-27 10:44:10 +01:00
baldurk ba5f806ba1 Set constant buffer generated format as the auto format 2022-05-27 10:43:55 +01:00
baldurk 1f1f1fae2d Fix some issues with tests found running on linux 2022-05-26 13:43:46 +01:00
baldurk c77261f0f3 Display struct/enum typenames when available in buffer viewer 2022-05-25 17:18:31 +01:00
baldurk d44d9e4857 Show bitpacking in offset column in buffer viewer 2022-05-25 17:02:27 +01:00
baldurk 4b0b746217 Don't clear annotations when only style changes 2022-05-25 17:02:17 +01:00
baldurk 9bde5324b6 Improve handling of enums in buffer viewer fixed variables 2022-05-25 17:02:10 +01:00
baldurk 91675e8dbb Improve sizing of custom format setcion and use splitter between sides 2022-05-25 16:31:46 +01:00
baldurk 702e361393 Unregister F5 shortcut in buffer formatter 2022-05-25 14:09:37 +01:00
baldurk 694c17d6bf Fix formatting of buffers with explicit unbounded arrays 2022-05-24 17:59:10 +01:00
baldurk 27aa5e05c3 Work recursively to estimate packing rules of a struct 2022-05-24 16:34:42 +01:00
baldurk da974ad5cf Fix test failing if compiler eliminates dead inputs 2022-05-24 13:31:04 +01:00
baldurk a351fc14f4 Fix tests for API changes 2022-05-24 12:48:17 +01:00
baldurk 397088a813 Remove some cbuffer considerations for regular buffer views 2022-05-23 16:33:21 +01:00
baldurk 444515c67a Always treat vertex buffer formats as scalar packed 2022-05-23 16:33:00 +01:00
baldurk 8d5950af89 Add F5 as a shortcut to update the buffer format 2022-05-23 16:32:35 +01:00
baldurk c5a588d2e4 Fix texture-as-buffer view format string generation 2022-05-23 14:43:08 +01:00
baldurk 6db5e339bb Handle external queues properly when doing coherent memory readback 2022-05-23 13:56:05 +01:00
baldurk b0fce7c8cc Zero-initialise query struct 2022-05-23 13:56:05 +01:00
baldurk e925688913 Fix use-after-free when freeing vulkan postponed memory. Closes #2573 2022-05-23 13:56:05 +01:00
Jake Turner 362d1a46b3 Change serialization name for RDMTL structs
Changed from "RDMTL::TYPE" -> "MTLTYPE" to better match the Metal type name
Rename RDMTL::FunctionGroups -> RDMTL::FunctionGroup
2022-05-23 10:23:42 +01:00
Jake Turner cb98a133bf Use RDCMTL descriptor structs C++ wrapped APIs
Create the RDCMTL descriptor struct in the ObjC hook and pass it to the C++ wrapped APIs
ie.
WrappedMTLDevice::newTextureWithDescriptor takes a RDMTL::TextureDescriptor &
WrappedMTLDevice::newRenderPipelineStateWithDescriptor takes a RDMTL::RenderPipelineDescriptor &

This means the wrapping and unwrapping of resources in the descriptor structs is handled by the conversion methods for the structs
2022-05-23 10:23:42 +01:00
Jake Turner 3baa24407a Initialize member variables in the RDMTL structs
Match the default values set when the Metal versions of the structs are initialized
2022-05-23 10:23:42 +01:00
Jake Turner d1c5db388a Tweak METAL helper macros
METAL_NOT_HOOKED
Get class name directly from self pointer instead of getting the class type from self and then the class name from the class type
Change the log to be an RDCERR instead of an RDCWARN

METAL_NOT_IMPLEMENTED_ONCE
Change the log to be an RDCWARN instead of RDCDEBUG to match METAL_NOT_IMPLEMENTED macro
2022-05-23 10:23:42 +01:00
Jake Turner 3794f63636 Call real MTLCommandBuffer::enqueue from the hook
Fixes infinite loop if application calls MTLCommandBuffer::enqueue
2022-05-23 10:23:42 +01:00
baldurk 225b6001d2 Reference bool via lowercase bool not Bool 2022-05-20 17:57:16 +01:00
baldurk d7404bb66d Fix missing newline in docs code snippet 2022-05-20 17:00:47 +01:00
baldurk a1abc95ac2 Remove use of QStringView from newer Qt versions 2022-05-20 16:43:09 +01:00
baldurk d103d31f55 Don't replay past end of indirect draws on vulkan. Closes #2590
* If the popmarker inserted at the end of an indirect multi-draw is selected
  this points past the end of the normal draws, but we don't want to replay that
  extra draw.
2022-05-20 15:51:01 +01:00
baldurk 601ed78771 Fx mac ssh host signature for new server 2022-05-20 15:48:21 +01:00
baldurk 90accaef67 Add usage from trailing events in command buffers on D3D12. Closes #2589 2022-05-20 14:48:21 +01:00
baldurk cef5aa857b Avoid declaring redundant structs for anonymous GL structs 2022-05-20 14:15:31 +01:00
baldurk 8566d55650 Add missing value check in GL_CBuffer_Zoo 2022-05-20 14:15:31 +01:00
baldurk e4751e66f3 Update docs for buffer viewer changes 2022-05-20 14:15:31 +01:00
baldurk 07d7bbc1ae Add tests for buffer format parsing 2022-05-20 14:15:31 +01:00
baldurk 6b133b437c Account for specified struct padding in final root struct 2022-05-20 14:15:31 +01:00
baldurk 7acde16d1e Improve parsing of pointers in buffer formats 2022-05-20 14:15:31 +01:00
baldurk 8ab61370a9 Make blank parse result more consistent 2022-05-20 14:15:31 +01:00
baldurk d2c557a1ae Pick better packing defaults for APIs where we know what is expected
* For vulkan any packing can be legal so we don't pick a default, but at least
  for D3D and GL the type of buffer implies a packing.
2022-05-20 14:15:31 +01:00