Commit Graph

  • 80e1cbfba4 Don't duplicate workgroup for derivatives baldurk 2020-04-14 15:11:41 +01:00
  • b17b6e7c4f Optimise rdcspv::Editor destruction baldurk 2020-04-14 15:06:22 +01:00
  • ba1c719179 Add fmtlib to demos for string formatting baldurk 2020-04-14 14:25:40 +01:00
  • 5693c39fca Initialise gradCoords variable baldurk 2020-04-13 19:30:49 +01:00
  • e138fea5ce Ignore needing to create initial state for buffers on vulkan baldurk 2020-04-13 17:58:46 +01:00
  • 7bfee85edc Treat OpInBoundsAccessChain the same as OpAccessChain baldurk 2020-04-13 17:58:35 +01:00
  • 2318305c96 Implement OpVectorExtract/InsertDynamic baldurk 2020-04-13 17:57:15 +01:00
  • a9f7819bf7 Handle implicit lod samples by pushing in calculated derivatives baldurk 2020-04-13 17:12:22 +01:00
  • 8192dab204 Set result number of rows from texture sample baldurk 2020-04-13 17:12:02 +01:00
  • 97e3d0ba98 Handle bias operand by pushing it into the sampler baldurk 2020-04-13 17:04:40 +01:00
  • ee7c0ba4b2 Add handling for image operands baldurk 2020-04-13 16:17:08 +01:00
  • 419519b114 Fix declaration of bool constants baldurk 2020-04-13 16:39:58 +01:00
  • ee5074f4fc Read the proper number of co-ordinates based on image dimension baldurk 2020-04-13 15:56:44 +01:00
  • d857ba8ae8 Create new image view for sampling, to ensure it's array-sized baldurk 2020-04-13 15:39:39 +01:00
  • da1f117886 Replace default framebuffer only attachments in glInvalidateFramebuffer baldurk 2020-04-13 15:13:03 +01:00
  • a4ccf9ab3c Fix wrong index being printed in debug message baldurk 2020-04-13 13:55:48 +01:00
  • 36f16b9998 Add --build-id link parameters on GGP baldurk 2020-04-13 13:55:37 +01:00
  • 410df92bd7 Add function to connect to a remote host from python baldurk 2020-04-13 13:19:09 +01:00
  • 8675bef94e Fix ggp compilation baldurk 2020-04-13 13:10:36 +01:00
  • cc9d91e976 Fix compilation baldurk 2020-04-11 00:02:24 +01:00
  • 9a6696a191 Fix implementation of OpSelect baldurk 2020-04-10 20:52:18 +01:00
  • a61822cfe1 Generate SPIR-V shader to implement some image samples on 2D image baldurk 2020-04-10 19:50:36 +01:00
  • 5af5f847a0 Hide accidental double-serialise of constantIDs baldurk 2020-04-10 19:48:56 +01:00
  • 98a967c5c1 Add a SPIR-V editor helper for declaring spec constants baldurk 2020-04-10 18:47:16 +01:00
  • 50abb444dd Add code to create specialised pipeline, run it, readback results baldurk 2020-04-10 18:13:41 +01:00
  • 4b830d4a66 Pass the texture type to CalculateSampleGather baldurk 2020-04-10 17:57:10 +01:00
  • 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