Commit Graph

13574 Commits

Author SHA1 Message Date
hsm 825536c5bc Replace NULL macro with VK_NULL_HANDLE 2022-12-10 00:35:11 +01:00
hsm f3c5d92314 Fixed uninitialized local variable
This patch solves the following Visual C compiler error when attempting to build the "util/tests/demos.sln" VS project from the command-line w/ MSBUILD:

`error C2220: the following warning is treated as an error
warning C4701: potentially uninitialized local variable 'xfbpipe' used`
2022-12-10 00:35:11 +01:00
baldurk 00c5ae8e22 Mark pipeline layout referenced in push descriptor commands 2022-12-09 09:08:33 +00:00
baldurk cdf1bf5e3b Account for baseVertex when patching line strip index buffer 2022-12-06 17:33:16 +00:00
baldurk e386b1fb2b Initialise dynamically used count to 0 even without dynamic feedback
* Since we increment this for every descriptor when we don't have feedback, we
  can't have it start at ~0U
2022-12-06 15:27:02 +00:00
baldurk 52e25fda6a Account for immutable samplers with push descriptors 2022-12-06 14:57:49 +00:00
phantom10111 e75e95033b Fix locating dxc.exe during Windows build
It appears that on some machines (including mine), the registry key
which contains the installation path to Windows SDK is located under
"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\...". Update renderdoc project
files to search that key as well.
2022-12-06 15:22:24 +01:00
baldurk 6a9872e56c Fix empty spacer-elements in descriptor arrays being marked as used 2022-12-05 17:00:11 +00:00
baldurk 27957bc614 Fix off-by-one fetching callstack in DXBC. Closes #2786 2022-12-05 15:33:04 +00:00
baldurk 92f554e0e7 Bump version to v1.25 2022-12-05 15:29:10 +00:00
baldurk f3fd33defb Always run drawcall overlay in tests
* Ideally we would also include mesh output here, but we would need a way to
  clear the postvs cache every so often to avoid bloating, otherwise it will
  generate too much data iterating the whole capture.
v1.24
2022-12-05 11:02:59 +00:00
baldurk e5e68ef260 Make sure shader feedback query results data is aligned 2022-12-05 10:01:01 +00:00
baldurk 7aac39613c Check mesh output and overlays in Iter_Test 2022-12-05 10:00:35 +00:00
baldurk 5934b3b705 Fix use of incorrect tracked renderstate which is modified by debug 2022-11-29 23:34:32 +00:00
baldurk 9dba1d1814 Bump version to v1.24 2022-11-29 19:04:55 +00:00
Artur Wojcik df7a3562be Update the documentation of the ProgressBar widget v1.23 2022-11-28 14:41:00 +01:00
Artur Wojcik bae0d1992b MiniQtHelper: add ProgressBar widget 2022-11-28 14:41:00 +01:00
baldurk d7b9b61201 Install pcre on mac for CI builds 2022-11-24 23:40:01 +00:00
baldurk 24da6390eb Document the new methods of generating SPIR-V shader debug information 2022-11-24 22:58:12 +00:00
Lionel Landwerlin 2308bf7bd8 Fix binding field of VkVertexInputBindingDivisorDescriptionEXT 2022-11-24 19:10:37 +01:00
baldurk 839e9f609f Add a safety barrier between buffer fills and copies
* It's unclear if this should be required as the fills and copies don't overlap,
  but this is not so perf sensitive that a barrier can't be added for safety.
2022-11-23 17:42:14 +00:00
baldurk c144757d11 Re-use initial replay to fetch shader feedback without polluting state
* Previously with shader feedback being fetched separately we may have had to
  replay multiple times to ensure clean results. If we do it as part of the
  initial replay on selecting the event this issue goes away and we remove the
  extra redundant replay.
2022-11-23 15:19:51 +00:00
baldurk 9ffa334268 Set empty pixmap before setting text on pipeline state labels
* Setting an empty pixmap seems to clear out the text also sometimes. This order
  should always be safer.
2022-11-23 11:14:38 +00:00
baldurk 93bb5acea8 Specify flat decoration for integer inputs we add in patching 2022-11-21 16:08:31 +00:00
baldurk e9c1763715 Only provide instance divisors for per-instance vertex attributes 2022-11-21 16:08:31 +00:00
baldurk 4c80be321f Handle D24X8 the same as D24S8 for discard patterns 2022-11-21 15:49:29 +00:00
baldurk 28a994035b Ensure pNext chain structs are properly reset when making create infos 2022-11-21 15:36:21 +00:00
baldurk 69c1990035 Fix handling of descriptor feedback in iterating arrays 2022-11-21 15:22:43 +00:00
baldurk dfe07d6822 Update application API to 1.6.0, add capture title setter 2022-11-21 13:49:15 +00:00
baldurk 3ec6986ac4 Test that descriptor arrays of dynamic UBOs have offsets replayed 2022-11-18 14:21:14 +00:00
baldurk 428862d737 Test resolve attachments in D3D12 render passes 2022-11-18 14:04:57 +00:00
baldurk a37f62124d Test integer texture loads in D3D shader debugging 2022-11-18 14:01:59 +00:00
baldurk 037dd63d83 Fail D3D12 amd shader extensions test if UAV bind slot isn't supported
* UE5 checks for this feature so we'll also check for it.
2022-11-18 12:43:30 +00:00
baldurk 62bfec8442 Test empty submits are properly processed 2022-11-18 12:37:45 +00:00
baldurk 5aae46a86e Test out-of-bounds descriptor access in D3D12 indexing test 2022-11-18 12:24:05 +00:00
baldurk de2d6e7be9 Clamp/sanitise number of mips or array slices in D3D12 pipeline view 2022-11-17 18:22:57 +00:00
baldurk 153bc31a92 Fix off-by-one when searching for re-used arrays 2022-11-17 18:22:57 +00:00
baldurk 1f34b0ba57 Test D3D12 descriptors with 0 or ~0 as mip count 2022-11-17 18:22:57 +00:00
baldurk 16f7791437 Test more edge case root signature mappings with D3D12 shader debug 2022-11-17 18:22:57 +00:00
baldurk 108e4695df Add a test for resources being accessed in-shader then overwritten 2022-11-17 18:22:57 +00:00
baldurk f2f77716ad Test that vkEnumeratePhysicalDevices correctly handles undersized array 2022-11-17 18:22:57 +00:00
Artur Wojcik 3624d6e30b Fix the invalid pointer dereference bug in the combo widget 2022-11-17 19:22:40 +01:00
Artur Wojcik 789a2a131c Use the previous naming to keep source compatibility 2022-11-17 19:22:40 +01:00
Artur Wojcik e630515813 MiniQtHelper: upgrade ComboBox widget
Added interface functions:
    - GetComboBoxCount() the function returns the number of
      combo box options currently set,
    - SelectComboBoxOption() - selects an active combo box
      option by name from the list of set options.

Updated interface functions:
    - Changed SetComboOptions() to SetComboBoxOptions to keep
      consistency in naming.
2022-11-17 19:22:40 +01:00
Artur Wojcik e2f3426dc6 MiniQtHelper: fix the bug in SetWidgetFont() while setting the font face
Signed-off-by: Artur Wojcik <artur.wojcik@amd.com>
2022-11-15 19:56:25 +01:00
baldurk 14484cc67c Slightly increase D3D12 leak check threshold
* We're now caching descriptor data so we deliberately allocate a bit more
  memory. This will still allow us to catch egregious leaks.
2022-11-15 13:11:16 +00:00
baldurk e8cd70c22d Add some missing error messages during init contents prepare 2022-11-14 14:44:17 +00:00
baldurk 48f0c9a709 Fix missing release of resources 2022-11-14 13:57:21 +00:00
baldurk 1755176b1a More mac fixes 2022-11-13 15:26:09 +00:00
baldurk a1240f5f04 Fix mac compilation 2022-11-13 14:20:35 +00:00