Commit Graph

16016 Commits

Author SHA1 Message Date
baldurk b5d3cf07a3 Expand test to include array-indexing ASs as well as NULL AS 2025-07-10 17:52:23 +01:00
baldurk 378474d79c Disable bounds testing on inline UBO in descriptor
* Inline UBOs do not have bounds checking/robust access
2025-07-10 17:52:23 +01:00
baldurk d04306bb92 Check for/require sample rate shading for depth MSAA copy shader 2025-07-10 17:52:23 +01:00
baldurk 62c2747169 Give each AS build its own scratch space in demo 2025-07-10 17:52:23 +01:00
baldurk 6c5b6177dc Query for supported mutable descriptor types in demo 2025-07-10 17:52:23 +01:00
Jake Turner 5f2d07f921 Initialise output window semaphore to VK_NULL_HANDLE
In case CreateSemaphore() fails and the semaphore is not valid which could lead to a problem/crash in DestroySemaphore
2025-07-10 07:52:38 +01:00
Jake Turner eede382884 Vulkan Shader Feedback clamp BDA offset to maximum byte offset
This will include any byte offset the feedback slot has

For non-BDA clamp the ssboindex to the maximum array index
2025-07-09 14:35:48 +01:00
baldurk 3e70a37fac Add test of descriptor buffer 2025-07-09 09:57:56 +01:00
baldurk ff711346f3 Treat read-only DSVs as depth writes disabled for overlays on D3D 2025-07-08 13:37:48 +01:00
baldurk 82e963550a Display read-only DSVs more clearly in D3D pipeline state 2025-07-08 13:37:37 +01:00
baldurk 4f0356d7f4 Don't use sleep for test compilation at all, rely on pclose to wait 2025-07-08 12:22:36 +01:00
Jake Turner e4e1e27814 Use const reference array for GetThreadRefs()
Small optimisation
2025-07-07 10:24:04 +01:00
Jake Turner c00de7e15e Expose ControlFlow::Tangle::GetId() 2025-07-07 10:24:03 +01:00
Andrew Marshall 951e678de1 disable mismatched new-delete warning from GCC 11.1 (false positives) 2025-07-04 17:56:53 +01:00
baldurk 0293487eb8 Properly handle D3D11 constant buffers with a 0 range specified 2025-07-04 14:10:51 +01:00
baldurk 4ec453bd76 Use annoying encoded markers when DRED is enabled
* By design DRED does not interpret normal markers :(
2025-07-04 11:08:24 +01:00
baldurk f94a479939 Fix a potential crash while closing a capture 2025-07-04 10:16:53 +01:00
Jake Turner 1391136509 Fix DXBC Debugger OPCODE_SYNC GSM incorrect bounds for large arrays
Number of components is gsmStride/sizeof(uint32_t)
2025-07-03 12:25:55 +01:00
Jake Turner a81380d800 Extend D3D12_Shader_Debug_Zoo GSM test
Include a large groupshared variable (2D Array)
Call GroupMemoryBarrierWithGroupSync()

groupshared int gsmInt2DArray[2][1024];
2025-07-03 12:25:55 +01:00
baldurk d3179a9886 Detect zink separately from any other vendors. Closes #3632 2025-07-01 12:35:51 +01:00
baldurk 5e846479c7 Handle GLES stupid limitations of color-rendering properly in emulation
* GLES doesn't handle rendering to formats like a normal API - it has an odd
  list of exceptions and extensions to check. If we don't have support for
  blitting in our texture copy emulation we fall back to CPU read and upload.
* We also can't use framebuffer blits for copying MSAA textures so we have to
  fall back to clearing to black. Emulating this would require a shader write
  with sample shading of some kind which is not worthwhile since this emulation
  path is only hit for initial contents where MSAA texture initial contents are
  very unlikely to be needed.
2025-07-01 12:21:24 +01:00
baldurk 6be083f66a Display space and register for root parameters in root signature viewer 2025-06-30 11:06:13 +01:00
baldurk 522edd5122 Bump version to v1.40 2025-06-27 17:11:05 +01:00
baldurk 3f85357598 Ensure official builds still detect compatible android apks properly v1.39 2025-06-27 16:16:20 +01:00
baldurk 4ca999c73e Fix check for integer MSAA texture resolves 2025-06-26 10:12:13 +01:00
baldurk 9c9566f7bd Mark resources in VkDependencyInfo as optional for serialisation 2025-06-25 15:13:32 +01:00
baldurk bfe627dfb7 Don't resolve integer textures when calling GetTextureData 2025-06-25 14:30:18 +01:00
baldurk 4b3f29dcfa Fix decoding of wide-string arguments in PIX events 2025-06-25 13:29:22 +01:00
baldurk 4f5c51bc01 Adjust values used in texel buffer test to have safer rounding 2025-06-25 12:15:55 +01:00
baldurk e5e1e286c3 Catch exceptions from process_trace in Iter_Test and print as errors 2025-06-25 10:53:46 +01:00
Jonathan Glines e0eee8fde3 Update NVGLCounters to use the latest Nsight PerfSDK APIs
Updated NVGLCounters to use the RawCounterConfig and counter
availability APIs from the latest Nsight PerfSDK headers.
2025-06-25 10:31:16 +01:00
Jonathan Glines 8f242043aa Update NVD3D11Counters to use the latest Nsight PerfSDK APIs
Updated NVD3D11Counters to use the RawCounterConfig and counter
availability APIs from the latest Nsight PerfSDK headers.
2025-06-25 10:31:16 +01:00
Jonathan Glines 8c6ae4919d Update NVVulkanCounters to use the latest Nsight PerfSDK APIs
Updated NVVulkanCounters to use the RawCounterConfig and counter
availability APIs from the latest Nsight PerfSDK headers.
2025-06-25 10:31:16 +01:00
Jonathan Glines 3c96826367 Update NVD3D12Counters to use the latest Nsight PerfSDK APIs
Updated NVD3D12Counters to use the RawCounterConfig and counter
availability APIs from the latest Nsight PerfSDK headers.
2025-06-25 10:31:16 +01:00
Jonathan Glines 7a052278ef Update NVCounterEnumerator to use the latest Nsight PerfSDK APIs
This updates NvCounterEnumerator to use the RawCounterConfig and counter
availability APIs available in recent Nsight PerfSDK headers. Using
these APIs to filter metrics by counter availability prevents crashes
and NaN values on some GPUs.
2025-06-25 10:31:16 +01:00
Jonathan Glines 4133ee7a43 Fix Visual Studio 2015 compile warnings in NvPerfUtility 2025-06-25 10:31:16 +01:00
Jonathan Glines 868e690e9c Fix incompatibilities with Nsight PerfSDK OpenGL and Vulkan headers 2025-06-25 10:31:16 +01:00
Jonathan Glines cefbc9dcf4 Update to NVIDIA Nsight PerfSDK 2025.1 2025-06-25 10:31:16 +01:00
Jake Turner 208d8d941e Set merge point per thread in the SPIRV debugger not per tangle
void ThreadState::SkipIgnoredInstructions() processes merge instructions before control flow is updated and the tangle might have diverged and the merge point would be set to for threads in the tangle without executing the merge instruction
2025-06-23 16:27:50 +01:00
Jake Turner a6f6f31680 Control Flow support for setting a merge point per thread
Required for simulations which do multiple simulation steps per control flow update and can diverge the tangle outside of the control flow and in this scenario need to set multiple merge points. A single merge point for the tangle is incorrect
2025-06-23 16:27:50 +01:00
Jake Turner e54e69650d Control flow remove some invalid asserts 2025-06-23 16:27:50 +01:00
baldurk ef4fee6b55 Add a config to try to deliberately poison a pointless and harmful bot
* The author of the bot is unwilling to help with reducing the spam it
  generates.
2025-06-23 13:43:43 +01:00
baldurk 6e5518e882 Add --gpuva option to vulkan tests 2025-06-19 16:14:18 +01:00
Cam Mannett 96c2cf0774 Add VK_EXT_dynamic_rendering_unused_attachments support 2025-06-19 12:22:30 +01:00
thisisjimmyfb b79d1e6fe2 Android swapchain format selection prefer to use srgb format
Android to use similar swapchain format and dimension as Windows
2025-06-19 11:45:04 +01:00
thisisjimmyfb 29207a7333 Fix VK_Leak_Check for Android
RemoteServer timedout due to VK_Leak_Check taking too long before sending commands to remote server. Spawning a worker thread to keeping the remote server connection alive fixes the disconnection issue.
2025-06-19 11:45:04 +01:00
thisisjimmyfb 97c74415f6 VK_Large_Descriptor_Sets
Use remote server friendly routine to check capture file
2025-06-19 11:45:04 +01:00
thisisjimmyfb 035fc9974d Remote Android and Linux test support part 2
Support swapchain image size greater than 4
2025-06-19 11:45:04 +01:00
thisisjimmyfb b1d3123583 Remote Android and Linux test support part 1
Add remote server support to test framework
2025-06-19 11:45:04 +01:00
baldurk 500061011d Ensure raw groupshared access is always byte-addressed 2025-06-16 17:29:52 +01:00