Commit Graph

3627 Commits

Author SHA1 Message Date
baldurk e28d0d57a6 Fix display of multisampled render buffers 2016-08-02 11:46:46 +02:00
baldurk c623883f78 Parse a config file and determine a whitelist of IPs to listen to.
* The remote server is going to start being responsible for more things
  soon, and one of those is launching programs to capture. Since this is
  remote code execution by design, we want to be able to lock down who
  can communicate with the server.
* By default, only private LAN IP ranges are listened to.
2016-08-01 22:31:23 +02:00
baldurk a995fd0f14 Add some network utility functions for examining a socket's remote IP 2016-08-01 22:30:03 +02:00
baldurk 9dbb37a0cd Add a file getline() function to parse files one line at a time 2016-08-01 22:29:28 +02:00
baldurk e8cb71a895 Add protection for buffer/texture viewer layouts failing to load. 2016-08-01 22:28:57 +02:00
baldurk 5508f9f599 Handle duplicate contents being returned and dummy them. Refs #310
* Unfortunately too late for v0.30, but at least this will help anyone
  who upgrades v0.29 -> v0.31 or such.
2016-08-01 22:22:50 +02:00
baldurk 39f453b166 Rename replay host to remote server, consistently. 2016-08-01 19:38:21 +02:00
baldurk 3655f0610d Bump version information to v0.31 2016-08-01 19:07:48 +02:00
baldurk 8b5f3de916 As DS_SETFOREGROUND doesn't work, move error reporter in/out of topmost
* This will guarantee the window is brought to the front, but it won't
  keep it there and be annoying.
v0.30
2016-08-01 14:56:21 +02:00
baldurk a04379b7a5 Fix incorrect style being removed from crash handler for topmost 2016-08-01 14:03:16 +02:00
Baldur Karlsson c5b5597b27 Add MIT license badge 2016-08-01 11:01:05 +02:00
baldurk 53f53dd1c2 Don't add mesh viewer to log viewer list twice 2016-07-30 12:42:19 +02:00
baldurk 081bdc3fd8 Back out breaking glslang change on nvidia, remove texel fetch hack
* No fixed nvidia driver has been released, and since there is an easy
  workaround that doesn't break any other IHV's drivers, temporarily do
  that until nvidia's driver is working again.
2016-07-29 21:48:27 +02:00
baldurk e6d07b41f3 Mark pipeline layout as referenced in push constants command 2016-07-29 14:11:01 +02:00
baldurk 74c09d064b Suppress debug messages when trying to make separable prorgams
* We half-expect the first attempt to fail, and we want to ignore any
  debug message spew from that failed compilation - if we fail after
  patching, we print out the output log then.
2016-07-28 20:40:25 +02:00
Baldur Karlsson f8a915165f Merge pull request #308 from ianelliottus/ian_160727b_AndroidFixes
Fix problems when building on Linux for Android
2016-07-28 00:57:07 +02:00
Ian Elliott 60f6a3097c Fix problems when building on Linux for Android
There were some typos, some Android-specific WSI code missing, an
uninitialized variable, and a missing library, etc.
2016-07-27 16:34:14 -06:00
baldurk 4f06161fb9 Update template custom shader to include UV, add new globals. Refs #304 2016-07-26 15:18:45 +02:00
baldurk 49cd21c8cc Fix broken implementation of firstbit family of opcodes 2016-07-26 15:04:14 +02:00
baldurk c6defdf1ef Fix vertex picking on Vulkan (proper accounting for inverted NDCs). 2016-07-26 12:47:19 +02:00
baldurk 73d063281f Don't try to display stencil in textures that don't have stencil data 2016-07-26 11:14:44 +02:00
Baldur Karlsson 037cf44ddc Merge pull request #306 from DrChat/minmax_crashfix
Fix a crash when calculating min/max with R11G11B10 formats
2016-07-26 08:47:06 +02:00
Dr. Chat 85f4e724d7 Properly unpack double -> float in min/max calculations. 2016-07-25 17:52:56 -05:00
Baldur Karlsson a163fee437 Merge pull request #305 from DrChat/a2rgb10_fix
Vulkan: Mark A2RGB10 formats as special
2016-07-25 22:01:38 +02:00
Dr. Chat d12a62e457 Mark A2RGB10 formats as special (previously only doing A2BGR10 formats) 2016-07-25 14:11:21 -05:00
baldurk fbcd79b27d Don't create thumbnails until output has been created 2016-07-25 18:27:21 +02:00
baldurk b91518a2aa Prevent a crash when reloading layout, if bufferviewer is destroyed 2016-07-25 18:27:20 +02:00
baldurk 0ecb7c8a6f Fix guidance for row major matrices (row_major not rowmajor) 2016-07-25 18:27:19 +02:00
baldurk 9bc7e99d83 If no pixel shader is bound, don't show shader output in pixel history 2016-07-25 18:27:19 +02:00
baldurk 20c81be074 Make sure to catch any exceptions from processing invalid/garbage paths 2016-07-25 18:27:18 +02:00
baldurk ba7c6711ff Hide *all* remaining thumbnails after setting the visible ones up 2016-07-25 18:27:17 +02:00
baldurk 170df95924 Make usage entries menu items not labels, to be clickable 2016-07-25 18:27:16 +02:00
baldurk ca072b2d43 Fix handling of D3D11 deferred contexts that got broken 2016-07-25 18:27:16 +02:00
baldurk 535cec5b10 Don't error if GetBufferData() is called with ResourceId 0, just return 2016-07-25 18:27:15 +02:00
baldurk 15bf143352 For MultiDrawElements, make sure to divide idx offset by byte size 2016-07-25 18:27:14 +02:00
baldurk 132bef38af Calculate bytesize properly for packed formats in mesh viewer 2016-07-25 18:27:13 +02:00
baldurk eaa53adbc3 For locked textures, reset type hint so they don't inherit from previous 2016-07-25 18:27:13 +02:00
baldurk 77fe1314e2 Properly interpret format elements when calculating mesh bounding box
* This fixes mesh display of e.g. SNORM components
2016-07-25 18:27:12 +02:00
baldurk 0ebf99f0b4 Avoid exception seeking to invalid row in mesh viewer
* This happened when jumping to a primitive from pixel history if the
  views were synced.
2016-07-25 13:01:37 +02:00
baldurk 89402c03bf Add a note about the VULKAN predefined macro. 2016-07-25 11:39:50 +02:00
baldurk a001f35329 Output UVs in [0,1] from blit shader, for custom vis shaders. Refs #304 2016-07-25 11:39:49 +02:00
baldurk ffa96736ee Add required 'uniform' to glsl varaibles in documentation 2016-07-25 11:39:48 +02:00
baldurk fefb6b2526 Pass selected slice/face and sample idx to custom vis shaders. Refs #304 2016-07-25 11:39:47 +02:00
baldurk 54ea69a619 Always enable custom shaders create button, prompt for name. Refs #304 2016-07-25 11:39:47 +02:00
baldurk 12a51ee5a4 Save display type (RGB vs custom) and custom shader per-tex. Refs #304 2016-07-25 11:39:46 +02:00
baldurk 33ed86a45b Print stencil refs and masks as hex in OpenGL. Refs #303 2016-07-22 21:50:44 +02:00
baldurk 41e760dc0a Remove an old TODO 2016-07-22 19:22:07 +02:00
baldurk 889e47c166 Handle column major storage of matrices when friendly-naming registers 2016-07-22 19:19:42 +02:00
baldurk fcca358d0c Handle casting view types for swapchains (non-typeless resource) 2016-07-22 19:18:36 +02:00
baldurk d7102c1694 Don't create MS2Array pipeline if texel fetch is broken 2016-07-22 18:44:28 +02:00