Commit Graph

11675 Commits

Author SHA1 Message Date
baldurk 916c431dfa Compile fixes 2020-11-18 19:05:03 +00:00
baldurk 0aefcced95 Add a small interface into Qt widgets to our own python wrapping
* This by no means replaces PySide2, but it allows python extensions to write
  simple UIs without needing to rely on PySide2, which might not be available
  (generally all windows builds have it as well as recent binary linux builds,
  but local windows builds may not and most linux builds probably won't).
2020-11-18 18:21:20 +00:00
baldurk ab2f4e4046 Fix exception handling in wrapped python callbacks 2020-11-18 15:41:20 +00:00
baldurk 91d8c30cd3 Fix python object conversion for NULL QWidgets 2020-11-18 13:11:58 +00:00
baldurk a457389937 Thumbnails with automatic scale shouldn't always be linear sampled on GL 2020-11-16 18:33:35 +00:00
baldurk e0147928f1 For 3D texture views the depth is the original texture's depth
* The number of layers is only the depth for array textures.
2020-11-16 18:24:31 +00:00
baldurk 0d4194afc5 Cache id so we don't reference iterator after deletion 2020-11-16 12:20:15 +00:00
baldurk 705eb10c77 Set correct type when interpreting R10G10B10A2_UNORM vertex inputs 2020-11-16 10:35:56 +00:00
baldurk 9fa89e39e3 Disable mesa device select layer. Closes #2093 2020-11-13 14:23:19 +00:00
baldurk 6320923966 When VB stride is 0 read enough data for any single attribute 2020-11-12 17:04:43 +00:00
baldurk 1375a17682 Add missing plugin file to installer manifest 2020-11-12 10:58:43 +00:00
baldurk dc957b4c5c Fix typo and clarify AlphaMapping use. Closes #2090 2020-11-12 10:58:32 +00:00
baldurk 38886ab541 Fix memory leak if only baked commands are freed on vulkan 2020-11-10 14:36:09 +00:00
baldurk 804fddcdf7 Allow python extensions to be loaded from app folder as well as user
* This will let us distribute extensions with the renderdoc builds.
2020-11-10 13:57:27 +00:00
baldurk bd5b79bd3a Tweak Repeat_Load to do two reload tests before grabbing baseline 2020-11-10 13:18:31 +00:00
baldurk c0876f2573 Fix multisampled array framebuffer attachments in initial states 2020-11-10 13:02:28 +00:00
baldurk b402dfeeb5 Don't set program I/O bindings on GL unless it has a vertex/pixel shader
* For separable programs we'll query out I/O bindings for e.g. only the geometry
  pipeline, but we shouldn't try to set those outputs with
  glBindFragDataLocation. Normally we'd expect these bindings to be queried as
  -1 at capture time, but just be sure.
2020-11-10 13:02:08 +00:00
baldurk 5f6f00d175 Fix vulkan vertex shader debugging populating inputs 2020-11-10 12:40:52 +00:00
baldurk daaff29044 Fix crashes with overlays on rasterizer discard enabled pipelines
* None of the overlays do anything when rasterizer discard is enabled, so just
  skip most work.
2020-11-10 11:31:53 +00:00
baldurk 561a15e11a Add some missing GL enums 2020-11-10 11:26:24 +00:00
baldurk 8ca89b9c2d Further compile fixes for half library 2020-11-10 10:06:12 +00:00
baldurk 944070fdd7 Fix warnings with clang build of half library
* Comma operator problems when doing math functions that return two parameters
  (e.g quotient).
* Passing bool tag type through varargs - the varargs aren't actually used and
  there's an overload for true_type, so we can instead accept false_type.
* gcc seems to declare numeric_limits as a struct, so friend'ing it as a class
  throws a warning. Since we only care about C++11 we can omit the tag from the
  friend declaration.
2020-11-09 17:59:53 +00:00
baldurk d5a51dd145 Ignore uselist block in DXIL container 2020-11-09 16:29:39 +00:00
baldurk e3e3d2747e Ignore root signature RST0 chunk in DXBC container 2020-11-09 16:29:29 +00:00
baldurk d9eab23bd5 Fix clipping when rendering RichResourceText documents 2020-11-09 16:02:48 +00:00
baldurk 44b1ab7ef2 Fix patching of indirect draws not storing indexed baseVertex correctly 2020-11-09 16:02:48 +00:00
baldurk 063131d288 Enable and expand float64 tests in VK_Shader_Debug_Zoo 2020-11-09 16:02:48 +00:00
baldurk 58625ad36b Allow debugging SPIR-V shaders that use non-32bit type capabilities/exts 2020-11-09 12:25:21 +00:00
baldurk 7f8e555544 Update remaining I/O handling to support non-32-bit types
* This includes the shader input interface, and storage/cbuffer access.
2020-11-09 12:25:21 +00:00
baldurk 24764c579a Continue type walking from the correct point in type hierarchy 2020-11-09 12:25:21 +00:00
baldurk 9309b09ab6 Convert main SPIR-V dispatch loop to handle any bit width 2020-11-09 12:25:21 +00:00
baldurk 3c65545c82 Add helpers for accessing 'special' properties in pointer/image vars 2020-11-09 12:25:21 +00:00
baldurk 7bdede5dbb Update CalculateSampleGather/CalculateMathOp to support all bit-sizes
* Texture sampling we still do at only 32-bit precision (for inputs and
  outputs). Math operations are done at the correct bit-width.
2020-11-09 12:25:21 +00:00
baldurk 80a7ffc3ec Update GLSL.450 extended instructions to support all bit-widths 2020-11-09 12:25:21 +00:00
baldurk b21f9da85a Add helpers for dispatching in bit-width-agnostic ways 2020-11-09 12:25:21 +00:00
baldurk d9121a7f90 Add half.hpp 2.1.0 from http://half.sourceforge.net/ 2020-11-09 12:25:21 +00:00
baldurk ab28d102cd Fix bug allowing users to close unclosable texture viewer panels 2020-11-09 12:25:20 +00:00
baldurk 2bfccb1321 Properly apply vertexOffset for builtin in indexed draws 2020-11-05 21:29:16 +00:00
trietch e69eacf989 Add Fedora dependencies 2020-11-05 17:11:10 +00:00
baldurk 8be0da2ce3 Add a test of AMD shader operations 2020-11-04 17:48:49 +00:00
baldurk 6352786d31 Fix post-processing of AMD shader ops 2020-11-04 17:24:23 +00:00
baldurk 791a3a6f57 Print used nvapi version 2020-11-04 15:16:16 +00:00
baldurk 47680e3821 All nvapi opcodes are treated as supported
* Some can't be debugged, but we can capture/replay/disassemble all opcodes so
  don't block them.
2020-11-04 15:16:07 +00:00
baldurk c7e1ea08c4 Add support for capture/replay of AGS shader extensions 2020-11-04 15:15:17 +00:00
baldurk 24ec36b4e0 Batch moves of indirect drawcall nodes 2020-11-03 23:32:21 +00:00
baldurk d80300b337 Don't use IDs to identify redundant root signature binds
* If we compare the underlying pointer we know for sure if it's the same or
  different.
2020-11-03 18:55:49 +00:00
baldurk 0eea63c238 Always show UnpackedSignature for root signatures
* We want to display this even if the root signature was de-duplicated to
  another handle.
2020-11-03 18:32:55 +00:00
baldurk 9a0e1c5535 Treat internal D3D12 descriptors as volatile, not static 2020-11-03 18:24:15 +00:00
baldurk 5006a787d9 Account for inverse viewport height when picking vertices 2020-11-02 21:11:50 +00:00
baldurk 41c57c0b68 Tidy up logging of unknown interface queries 2020-10-30 16:49:57 +00:00