Commit Graph

  • 39b28a7780 Snapshot descriptor set contents in VulkanAPIWrapper baldurk 2020-04-10 17:46:31 +01:00
  • 1a4b9cd69b Create ancilliary resources for shader debugging baldurk 2020-04-10 18:06:46 +01:00
  • afe0208d69 Add accessor for getting current descriptor set bindings baldurk 2020-04-10 17:36:19 +01:00
  • 7d0d492a66 Add missing copyright statement in shader baldurk 2020-04-10 16:58:52 +01:00
  • 9cf265284e Pass ThreadState to CalculateSampleGather baldurk 2020-04-10 12:57:13 +01:00
  • fc452b7586 Add helpers to create an empty SPIR-V module in an editor baldurk 2020-04-10 12:56:10 +01:00
  • ead9463711 Fix structure stride generated for PSInput fetch shader baldurk 2020-04-10 12:55:08 +01:00
  • 2d111516d0 Fix test regression from D3D12Pipe refactor baldurk 2020-04-10 09:12:42 +01:00
  • 81ee4e18a8 Reset stream-out buffer size after failed allocation baldurk 2020-04-09 21:08:34 +01:00
  • 350da5caf7 Add missing override specifier baldurk 2020-04-09 20:10:04 +01:00
  • 4ebdf806c9 Add SPIR-V side of handling images and samples baldurk 2020-04-09 18:31:07 +01:00
  • 97c7dd681f Add global samplers array to shader debug trace baldurk 2020-04-09 15:48:15 +01:00
  • b47e13beaa Test cbuffer access baldurk 2020-04-09 14:18:10 +01:00
  • 47dedaf8c5 Support shader variables that refer to resource bindings baldurk 2020-04-09 13:50:36 +01:00
  • 70f409588c Add type to refer to a specific Bindpoint's element baldurk 2020-04-09 13:42:24 +01:00
  • 73c05536e0 Make Pointer a full VarType instead of a ShaderVariable member baldurk 2020-04-09 13:26:48 +01:00
  • c3d53237f7 Fix handling of OpUndef and improve disassembly of NULL/Undef values baldurk 2020-04-09 12:22:07 +01:00
  • 6676f83671 Set up descriptors and push constants for use in future tests baldurk 2020-04-09 11:45:47 +01:00
  • d68aa1cd83 Implement OpCompositeInsert baldurk 2020-04-09 11:12:09 +01:00
  • 82b6597423 Fix declaration of complex type NULLs baldurk 2020-04-09 11:10:17 +01:00
  • dfc2013bde Compile fix for double/float conversion baldurk 2020-04-08 20:05:31 +01:00
  • b99b0214ae Implement bitwise operations baldurk 2020-04-08 18:38:20 +01:00
  • 3a1352a8af Add errors for pipe instructions baldurk 2020-04-08 18:19:10 +01:00
  • 64cf07b8da OpExtInstImport isn't expected to happen during debugging baldurk 2020-04-08 15:18:51 +01:00
  • 3a6e13e902 Don't run vulkan shader debugging tests if debugging isn't available baldurk 2020-04-08 15:12:41 +01:00
  • 6f92182e9b Add debug option to disable use of buffer device address baldurk 2020-04-08 15:12:31 +01:00
  • 975f40db9c When using glslc command line to build SPIR-V asm, add file extension baldurk 2020-04-08 14:51:48 +01:00
  • 3d29947367 Fix odd linux compile error in tests baldurk 2020-04-08 14:51:34 +01:00
  • 96c7eb0b93 Add OpSMod support with other modulo operations baldurk 2020-04-08 13:43:40 +01:00
  • 8a6dbd7045 Implement OpDot baldurk 2020-04-08 13:21:32 +01:00
  • 59c3a2fbd9 Implement matrix multiplication with matrix/vector/scalar baldurk 2020-04-08 13:12:08 +01:00
  • 33eb5a631f Implement Op*Negate baldurk 2020-04-08 10:58:15 +01:00
  • 57400e1bf8 Add support for extended instruction sets baldurk 2020-04-08 10:49:19 +01:00
  • 27bd045ea3 Remove undefined behaviour tests (divide/modulo by zero) baldurk 2020-04-08 10:35:12 +01:00
  • 0be0e02ebe Fix missing/wrong int-to-float conversions baldurk 2020-04-08 10:26:17 +01:00
  • 1137c4694c Make D3D12Pipe root element centric instead of shader centric Steve Karolewics 2020-04-04 13:01:01 -07:00
  • 1d64fffd42 Add tests of new operations in SPIR-V ASM baldurk 2020-04-07 23:21:17 +01:00
  • d874c32275 Implement modulo/remainder operations baldurk 2020-04-07 23:21:07 +01:00
  • 6d8a972133 Implement OpBitcast baldurk 2020-04-07 23:20:51 +01:00
  • 565faf25fc Fix disassembly of SPIR-V subtract operations baldurk 2020-04-07 21:18:26 +01:00
  • 109fad12ac Fix reading of negative constants baldurk 2020-04-07 21:16:55 +01:00
  • d8fa0b624d Implement derivatives baldurk 2020-04-07 18:37:13 +01:00
  • 1690d30621 Fix handling of w in Vec4 operators baldurk 2020-04-07 18:34:15 +01:00
  • 38abf04909 Set up python script to run VK shader debug tests baldurk 2020-04-07 17:14:50 +01:00
  • 1b6cc3a70e Implement OpVectorShuffle baldurk 2020-04-07 17:37:24 +01:00
  • ebe53d2be1 Don't return NULL on error, we must always return a valid trace baldurk 2020-04-07 17:14:01 +01:00
  • ad79bf7cc5 Support applying derivatives on builtins baldurk 2020-04-07 17:13:49 +01:00
  • bcb795e3b6 Save state nextInstruction after processing any flow control construct baldurk 2020-04-07 15:48:22 +01:00
  • 38866323bc Strip WSI-only extensions on vulkan replay baldurk 2020-04-07 14:41:45 +01:00
  • 5e2de7dd34 Fix issues switching between mips with overlays on vulkan baldurk 2020-04-07 14:05:43 +01:00
  • 6c3bf313a4 Fill out copy subresource in DrawcallDescription for OpenGL baldurk 2020-04-07 10:45:22 +01:00
  • dd4009c588 Remove undoc-members attributes from autoclass docs builds baldurk 2020-04-07 09:55:17 +01:00
  • b94aa074b5 Remove duplicate data reference in docstring baldurk 2020-04-07 09:47:54 +01:00
  • 569fb0ef47 Add fixes for sphinx 3.0 baldurk 2020-04-06 23:20:38 +01:00
  • 5ec480dffe Don't consider a destination file modified until we've seen a #line baldurk 2020-04-06 17:35:22 +01:00
  • eb552d8172 Allow NULL for object name in vulkan debug functions baldurk 2020-04-06 16:19:06 +01:00
  • 2dd2ebd53f Save format and type used by captured glTexImage2D to fill missing mips baldurk 2020-04-06 15:44:09 +01:00
  • fc63964335 Show correct clear/CopyDst/CopySrc subresource in texture viewer Daniel Craig 2020-03-20 13:42:45 -04:00
  • 5f925ee3a2 Fix check for push constant ranges in postvs fetch on vulkan baldurk 2020-04-04 01:22:31 +01:00
  • fd36ec0bc1 Add shader debug zoo test baldurk 2020-03-31 12:36:13 +01:00
  • fc2181d625 Fetch and apply pixel inputs and derivatives to quad baldurk 2020-04-03 17:17:46 +01:00
  • 21f869192c D3D12 created initial states don't need to be copied baldurk 2020-04-03 15:19:16 +01:00
  • 2bb278b9fd Highlight stale/unrecognised settings in the config editor baldurk 2020-04-03 15:10:49 +01:00
  • 9ce74cbc39 Only warn about customised read-only settings in stable builds baldurk 2020-04-03 15:07:24 +01:00
  • 8d6615697b Push settings file to android devices baldurk 2020-04-03 15:07:13 +01:00
  • 445c54f967 Try to prevent android library being unloaded after it was loaded baldurk 2020-04-03 14:49:15 +01:00
  • 9ba81634b4 Improve the title of shader edit windows baldurk 2020-04-03 12:46:02 +01:00
  • 590785c470 Mark edited resources with an (Edited) suffix on their names baldurk 2020-04-03 12:45:43 +01:00
  • ecd8dd0ade Don't report replaced IDs in pipeline state baldurk 2020-04-03 12:43:12 +01:00
  • dc3ebab80a Ensure replacement IDs are used in pipeline initial states. Closes #1810 baldurk 2020-04-03 12:36:06 +01:00
  • fcb82ae70c Fix the way d3dcompiler is copied into builds to not fail so often baldurk 2020-04-02 17:33:24 +01:00
  • 33d7971364 Mark integer divide by zero as "generated NaN of Inf" in shader debug baldurk 2020-04-02 16:47:53 +01:00
  • c5242e574a Fetch inputs and derivatives baldurk 2020-04-02 16:43:29 +01:00
  • 62c3cec950 Fix reference tracking issue. PartialWrite + Read -> WriteBeforeRead baldurk 2020-04-02 15:49:14 +01:00
  • 9716b407d3 Add helper for generating GLSL450 extinst operations baldurk 2020-04-02 15:07:19 +01:00
  • 85dedabcf8 Add helpers for building SPIR-V ops incrementally baldurk 2020-04-02 14:48:15 +01:00
  • ecc0a53dcb Declare inputs in PSInput struct baldurk 2020-04-02 14:06:50 +01:00
  • feafbde8bc Add GL hack to check for implicit thread switching baldurk 2020-04-02 13:08:21 +01:00
  • ea6cc026ae Allow de-activating GL contexts in tests baldurk 2020-04-02 10:46:17 +01:00
  • d279d6dcd2 Silence D3D debug layer spam by including NULL terminator baldurk 2020-04-02 10:10:02 +01:00
  • d88026a697 Fix KHR storage counter issue for time units Lionel Landwerlin 2020-04-02 15:41:17 +03:00
  • d2f7837ecf qrenderdoc: Drop building swig .py.c files Jordan Justen 2020-03-15 02:23:36 -07:00
  • 528a0c5f5e Guard against integer division by zero baldurk 2020-04-01 17:38:44 +01:00
  • 53ca92965d Add missing resize when constructing matrix composite baldurk 2020-04-01 17:37:16 +01:00
  • 230cf69761 Test integer division by zero in DXBC debugging baldurk 2020-04-01 17:16:28 +01:00
  • 6f2dfc1a2b Add support for non-compressed formats in DDS shell preview baldurk 2020-04-01 15:29:01 +01:00
  • 1cdb617cf9 Make sure to rewind image file when checking header baldurk 2020-04-01 14:11:42 +01:00
  • 9372fa879a Don't allow PNG files to fail to open in Texture_Zoo test baldurk 2020-04-01 14:10:57 +01:00
  • 2cc9dd81d9 Implement initial state creation for D3D12 baldurk 2020-04-01 13:24:15 +01:00
  • ced6ca2bd4 Ensure that Wait/Signal replays happen on correct queue. Closes #1806 baldurk 2020-04-01 12:10:22 +01:00
  • ee12d68a84 Shared handles should now be supported baldurk 2020-04-01 12:09:17 +01:00
  • 9014daf76c Fix remapping readback from non-regular formats on GLES baldurk 2020-04-01 12:03:13 +01:00
  • 3fa87882a7 Fix compilation on apple baldurk 2020-03-31 20:19:45 +01:00
  • 1b8ae53e57 Fix compilation on linux baldurk 2020-03-31 19:47:35 +01:00
  • ad4f736b12 Use edited shader and fetch produced output hit data baldurk 2020-03-31 18:34:27 +01:00
  • 1d0f87cca0 Check for desired pixel and that slot is in bounds baldurk 2020-03-31 18:02:04 +01:00
  • 1931bd6311 Declare output struct, allocate slot, fill in fixed parameters baldurk 2020-03-31 17:16:48 +01:00
  • 11a4a8f3d1 Use StorageBuffer storage class when editing 1.3+ SPIR-V modules baldurk 2020-03-31 15:47:46 +01:00
  • 24ff94ea3c Move SPIR-V editing into separate function baldurk 2020-03-31 15:08:12 +01:00
  • a64611f7fc Declare or fetch builtin inputs as needed baldurk 2020-03-31 12:57:24 +01:00