Commit Graph
5073 Commits
Author SHA1 Message Date
baldurk e55b9d044b Add super hacky fix for even more hacky horrible internal MS code 2017-02-21 15:17:14 +00:00
baldurk 05d0ce2c55 Fix android build referring to deleted files 2017-02-21 13:12:23 +00:00
baldurk 730f23fc78 Fix docs SetPrivateData example, add examples for GL/VK/D3D12. Refs #517 2017-02-21 12:14:31 +00:00
baldurk c141137a59 Fix max index of buffer lookup component being applied to the wrong idx
* The component must be clamped (ie if the stride is 8 bytes, .z is not
  valid) rather than the place of the component (.xxxy is fine - even if
  .y is in the 'w' place)
2017-02-21 12:01:24 +00:00
baldurk 6d428669d5 Follow up to c088c9186d - opcodes can shift by scalar or component-wise 2017-02-21 12:01:23 +00:00
baldurk 06af5ca71e Handle D32 format in pixel history by remapping when creating a UAV 2017-02-21 12:01:23 +00:00
baldurk ee958295b7 Handle InstanceDataStepRate >= 1 in vertex debugging 2017-02-21 12:01:22 +00:00
baldurk 4b60073e81 Workaround for nvidia driver bug - demote IMMUTABLE buffers to DEFAULT 2017-02-21 12:01:22 +00:00
baldurk f98be940ad Fix trying to save images of a typeless format without type hint given 2017-02-21 12:01:21 +00:00
baldurk c12279f641 Fixes for multi-instance picking
* Always at least pick the current instance, even if no others are
  visible
* Only apply to VS output picking. Inputs either don't vary with inst ID
  or are trivial (all verts identical) depending on the element selected
* Respect the currently selected element instead of always picking
  the position output
* If we're selecting a different instance, we have to queue the vertex
  selection because otherwise the refreshing of rows breaks it
2017-02-20 22:16:57 +00:00
baldurk 6c36f5cbd3 Fix GL depth-stencil overlays working on renderbuffers and cubemaps etc 2017-02-20 22:16:57 +00:00
baldurk c615ae102d Remove namespace clash between D3D and GL struct names 2017-02-20 22:16:56 +00:00
baldurk 165a7df694 Fix eventID counting on glMultiDraw* 2017-02-20 22:16:56 +00:00
baldurk 4eb0f38563 Make sure the compiler doesn't re-order input elements to pack them 2017-02-20 22:16:55 +00:00
baldurk e86109ad08 Add marker regions for shader debugging 2017-02-20 22:16:54 +00:00
baldurk 52483a45c3 Update DirectoryFile C# struct to include added fields 2017-02-20 15:14:22 +00:00
baldurk ec2e3cc75d Don't use BindBufferBase when binding a buffer for mapping. Refs #344 2017-02-20 14:48:50 +00:00
baldurk 20437551c6 Copy uniforms after potentially linking program as it resets them to 0 2017-02-20 14:48:49 +00:00
baldurk 913ba6fed1 Don't erase VendorCheck in unrelated function, resetting them to false 2017-02-20 14:48:48 +00:00
baldurk 2475e3844d Add marker regions for self-hosted captures in GL 2017-02-20 14:48:48 +00:00
baldurk f3c3f82cc4 Minor tweaks to GL pipeline view in Qt, to display format for FBO att.s 2017-02-20 14:48:47 +00:00
baldurk dc46612d37 Remove file before copying so we can overwrite 2017-02-20 14:48:46 +00:00
baldurk c47d50ea7b Use per-face targets when serialising cubemap images with TexImage 2017-02-20 14:48:46 +00:00
baldurk 04c22d04f2 Reduce some copy-pasting between mesh stage UI elements 2017-02-20 14:48:45 +00:00
baldurk 7a10504260 Only VSIn stage applies baseVertex offset. 2017-02-20 14:48:44 +00:00
baldurk 7495ff37d5 Use bounding box data for placing arcball/WASD cameras 2017-02-20 14:48:43 +00:00
baldurk d014156e45 Don't spinlock when waiting for blocking render commands 2017-02-20 10:32:12 +00:00
Michael Rennieandbaldurk 71a37c5794 GLWindowingData GLX/EGL context functions now in GLPlatform interface.
immediateBegin/Vert/End refactored to DrawQuads().
2017-02-17 20:32:39 +00:00
Peter GalandBaldur Karlsson 4511c0b86f Add explicit initialization of the GL ES driver
When the EGL api was invoked a normal OpenGL
driver was created instead of a GL ES driver.

With this modification we explicitly initialize the
OpenGL ES driver in case of EGL api calls.
In every other case we assume the normal OpenGL driver.
2017-02-17 20:19:19 +00:00
baldurk bea403743a Include errno.h 2017-02-17 20:16:22 +00:00
baldurk 654a5cb3c9 Remove WIP from Qt UI in README 2017-02-17 20:16:21 +00:00
baldurk 9721a4d1a4 Set up icon and version for OS X packages 2017-02-17 20:16:21 +00:00
baldurk a7964a45d0 Add threaded calculation of bounding boxes in mesh viewer, cached by EID 2017-02-17 20:16:20 +00:00
baldurk 300029d4e1 Apply baseVertex when calculating index 2017-02-17 20:16:19 +00:00
baldurk 16f85cadc2 Comment out use of glXCreateWindow 2017-02-17 20:16:18 +00:00
baldurk da98e9e58d Refcount pointers to BufferData so we can pass them to other threads 2017-02-17 20:16:18 +00:00
baldurk 1e65762e93 Process render commands 1 by 1 to allow pre-empting high frequency cmds 2017-02-17 20:16:17 +00:00
baldurk 24c1042f06 Return an empty MeshFormat for GetPostVSData on invalid drawcall 2017-02-17 13:25:23 +00:00
baldurk 486f8d4441 Fix QString warning about calling .arg() too many times 2017-02-17 13:25:04 +00:00
baldurk b76ca0f060 Add proper guessing and selection of position/secondary elements 2017-02-17 13:24:40 +00:00
baldurk 0787799b88 Remove completed TODO comment 2017-02-17 13:03:32 +00:00
baldurk c2eb0f6eb1 Add fetching of GS/DS output data 2017-02-17 12:32:19 +00:00
baldurk 14e7c1e9a3 Sort position element on output to the start before calculating offsets 2017-02-17 12:30:58 +00:00
baldurk a7af30e800 Don't try to use index buffers for non-indexed draws 2017-02-17 12:30:05 +00:00
baldurk 079dcf2e24 Don't leak menus by creating every time the callback is called 2017-02-17 12:29:11 +00:00
baldurk b6f62d030f Add support for highlighting columns that are selected in buffer viewer 2017-02-17 12:28:47 +00:00
baldurk 55dee854d6 Add default constructor for MeshFormat 2017-02-17 12:27:47 +00:00
baldurk 8ffcab84d9 Add self-hosting tool menu items on windows 2017-02-17 12:26:49 +00:00
baldurk 4b572d4d3c Use valid serialised array count during read. Fixes crash in ClearView 2017-02-17 09:59:42 +00:00
baldurk fae56e453e Fix variable shadowing warning on VS2015 2017-02-16 19:22:40 +00:00