Commit Graph

  • 72cfee5c0f Add GLSL syntax highlighting baldurk 2015-02-09 18:14:20 +00:00
  • 8ccf071865 Implement GetTextureData for GL - underlying code behind texture saving baldurk 2015-02-09 17:29:13 +00:00
  • bdb823c20b Slice index for 3D textures is always relative to overall depth baldurk 2015-02-09 12:32:44 +00:00
  • 381eb24b01 Don't set depth to 6 for cubemaps, set array size baldurk 2015-02-09 11:52:57 +00:00
  • f64e2ce1d1 Do a default inversion of Y co-ordinates on GL and invert w/ height-1 baldurk 2015-02-09 11:50:11 +00:00
  • a282b68c58 Flip UV sample vertically for cubemap +ve X direction baldurk 2015-02-09 11:48:31 +00:00
  • 065acf8ac9 Fix crash in image viewer since it doesn't go through ReadLogInit() baldurk 2015-02-09 10:58:52 +00:00
  • 2513eabb17 Return compressed format ResourceFormat descriptors properly baldurk 2015-02-09 10:35:07 +00:00
  • ad1ff5712a SRGB8(_ALPHA8)? are UNSIGNED_BYTE based formats, not signed BYTE baldurk 2015-02-09 10:34:45 +00:00
  • 6e42f645e4 GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT is not enabled directly baldurk 2015-02-09 10:34:22 +00:00
  • 6f711a3470 Handle a couple of error cases more gracefully in GL xfb baldurk 2015-02-08 10:45:36 +00:00
  • c3ca815da1 #version technically needs to come even before #if preprocessor stmts baldurk 2015-02-08 10:34:32 +00:00
  • 24577f3612 Drop LazyInit() inside GetDebugManager() baldurk 2015-02-04 17:47:58 +00:00
  • e6e22b1fb7 Don't create shaders & UAV buffers that aren't necessary while injected baldurk 2015-02-04 17:46:47 +00:00
  • 6208e3992d Fall back to WARP if D3D11 hardware isn't present. Closes #121 baldurk 2015-02-01 19:57:09 +00:00
  • c5fafbed5d Implement GPU duration counters on OpenGL baldurk 2015-01-29 10:17:51 +00:00
  • 96d0f472e0 compile error fix baldurk 2015-01-29 08:19:46 +00:00
  • b7f9d5b6d0 Generalise drawcall timing to get arbitrary sets of counter values baldurk 2015-01-28 21:15:19 +00:00
  • 50e571e7d4 Restrict to windows only, in case stl structures change size elsewhere baldurk 2015-01-28 17:19:35 +00:00
  • 68b9179f89 Bring back the "manage replay hosts" window menu item baldurk 2015-01-28 13:11:49 +00:00
  • ea0ed8b064 Implement mesh rendering over the replay proxy - now feature complete! baldurk 2015-01-28 13:09:38 +00:00
  • 67f5724e53 Don't list primitive if it's not available (e.g. top level EID entry) baldurk 2015-01-28 12:34:28 +00:00
  • c9f106b0cb Fix up the replay proxy serialising functions baldurk 2015-01-28 12:34:12 +00:00
  • 1b4bf97574 Fix for instance rates not being accounted for on vertex inputs baldurk 2015-01-28 02:23:30 +00:00
  • 6d64fc7a1a Handle NULL index buffer being bound for indexed draws better baldurk 2015-01-28 02:23:17 +00:00
  • a703dc54d0 Fix instancing support for post-vs mesh views on D3D11 and GL baldurk 2015-01-28 02:21:14 +00:00
  • 7bf45d043b Fix incorrect null check that could crash with no VS bound baldurk 2015-01-26 19:55:42 +00:00
  • d41a285f4d Skip built-in input attributes when copying attrib locations over baldurk 2015-01-26 19:50:23 +00:00
  • 0777a87dee Fix mismatch between C# struct and C++ struct (was hidden in padding) baldurk 2015-01-26 19:48:19 +00:00
  • 4c44fc67cb Fix copy-paste error, use the right interface for getting name baldurk 2015-01-26 19:48:00 +00:00
  • 00226df891 Fix making TCS/TES/GS shaders separable by inserting gl_PerVertex baldurk 2015-01-26 19:10:00 +00:00
  • d7c8c1026c Support XFB from geometry or tessellation shaders baldurk 2015-01-26 19:09:39 +00:00
  • 20927953ed Add some handling for strangely formed DXBC shader files. Refs #122 baldurk 2015-01-26 18:07:01 +00:00
  • b8f54dc008 Add absolutely horrendously disgusting hack for 'fixing' XFB varyings baldurk 2015-01-26 17:20:31 +00:00
  • 577af9c257 Fix enum typo for polygon mode baldurk 2015-01-26 17:19:34 +00:00
  • 64bcf35838 Make sure to copy across attrib location values from 'real' vs program baldurk 2015-01-26 16:57:57 +00:00
  • 06a549cf01 Fix vertex inputs on GL to use input attrib bindpoint mapping baldurk 2015-01-26 16:55:07 +00:00
  • 184d3a6789 Prime post-vs data when log is loaded (or bufferviewer is newly opened) baldurk 2015-01-26 14:27:16 +00:00
  • 5c46ccb86d Use abs instead of saturate to do double-sided lighting on meshes baldurk 2015-01-26 13:24:24 +00:00
  • 41be32a5cd Fix uniforms to make sure we don't get confused between two programs baldurk 2015-01-26 13:22:10 +00:00
  • 9c9c92b08f Use XFB to get postvs data (not post gs/tess yet), and render baldurk 2015-01-26 13:07:24 +00:00
  • 846a83d6b1 Set SSBO/UBO bindings by name so it's more robust baldurk 2015-01-26 02:07:45 +00:00
  • beae000c5a Upgrade functions from mostly to fully implemented baldurk 2015-01-25 22:51:27 +00:00
  • 6bc7eedfa4 Implement vertex and triangle highlighting for GL buffer viewer baldurk 2015-01-25 22:50:18 +00:00
  • 29b40a0971 Bugfix for line topologies being compared wrongly baldurk 2015-01-25 22:49:53 +00:00
  • 6155d6d925 Suppress listing gl_PointSize or gl_ClipDistance if they weren't used baldurk 2015-01-25 21:38:40 +00:00
  • 9bd5fabe1a Implement axis markers and frustum helper on GL mesh view baldurk 2015-01-25 21:11:56 +00:00
  • 0f297734f3 Add geometry-shader calculated face normals for lit mesh view baldurk 2015-01-25 20:30:03 +00:00
  • 4674b76930 Remove attributes not used in VS from GL vtx attribute list baldurk 2015-01-25 19:55:07 +00:00
  • 5972ffa661 Implement mesh-specific fragment shader to display secondary data baldurk 2015-01-25 19:31:47 +00:00
  • 8318720561 Re-implement GL RenderMesh in the new terms - much simpler! baldurk 2015-01-25 19:31:13 +00:00
  • da2470dbcf Use correct stride value baldurk 2015-01-25 17:16:57 +00:00
  • 44f498de0d Fixes to ensure postvs data is available & properly used baldurk 2015-01-25 16:59:42 +00:00
  • 177c5cdfc1 Set default depth-stencil state for rendering checkerboard pattern baldurk 2015-01-25 16:44:25 +00:00
  • 22c9775008 Refactor RenderMesh() to now purely render what's specified baldurk 2015-01-25 14:04:41 +00:00
  • 92e830b801 Return Post VS mesh data just with buffer ID & description baldurk 2015-01-24 22:06:45 +00:00
  • 30516c31c6 Make sure we don't try to debug when no trace is available baldurk 2015-01-22 15:18:10 +00:00
  • ee5a904350 Handle arrays of samplers properly baldurk 2015-01-22 15:17:09 +00:00
  • bc866b9fb2 I always get markdown links the wrong way around baldurk 2015-01-20 19:53:56 +00:00
  • bdee4706da Move the contributing section out of COMPILE.md into CONTRIBUTING.md baldurk 2015-01-20 19:52:01 +00:00
  • 94a5b77be9 Disable GL mesh preview because it's buggy and soon to be rewritten baldurk 2015-01-20 15:14:22 +00:00
  • a1bc380f06 Fix missing else that caused all samplers to be skipped. Oooops. baldurk 2015-01-20 15:05:13 +00:00
  • 6326b3344d s/Constant Buffers/Uniforms and UBOs/ on GL pipeline view baldurk 2015-01-20 15:00:39 +00:00
  • 96b8818120 Give constant buffer previewer proper naming on OpenGL logs baldurk 2015-01-20 14:57:20 +00:00
  • 45a78df2ae Fix vertex input attribute/buffer mutual highlighting baldurk 2015-01-20 13:52:06 +00:00
  • 57c8aa476f Use GetRow instead of GetPositionFromControl as it's more reliable baldurk 2015-01-20 13:45:38 +00:00
  • 74b231a413 Make sure TES and TCS are the right way around baldurk 2015-01-20 11:51:31 +00:00
  • 68f8f1b6e3 Fix GL pipeline state table layouts baldurk 2015-01-20 11:39:06 +00:00
  • 0ee9e9be76 Re-add functions to stb_image_write to write to a FILE*. baldurk 2015-01-19 11:02:55 +00:00
  • 128779581f Update to stb_image_write v0.97 and stb_image v2.02 baldurk 2015-01-19 13:25:24 +00:00
  • c071d883c7 Make sure to clamp data being saved to .hdr to non-negative baldurk 2015-01-19 11:38:35 +00:00
  • 5425a9d423 Allow opengl types in buffer format string parsing baldurk 2015-01-19 02:08:35 +00:00
  • aa81a3955c Display 'read-write' type objects grouped together in GL pipe state baldurk 2015-01-19 02:04:29 +00:00
  • de6d93c47f Improve GL shader reflection to include Atomic bufs, SSBOs and images baldurk 2015-01-19 02:04:08 +00:00
  • 48f98ebdef Add shader subroutines (placeholder) and transform feedback baldurk 2015-01-18 12:06:39 +00:00
  • 3b2d45131b Allow renaming of a stage in the pipeline flowchart control baldurk 2015-01-18 12:05:01 +00:00
  • f89e5a80e2 Mkae transform feedback data public on .NET side baldurk 2015-01-18 12:04:52 +00:00
  • ab4f26871f Fetch transform feedback data even if default feedback object bound baldurk 2015-01-18 12:04:37 +00:00
  • c32e9c7c44 Stop any active feedback/queries before restoring frame initial state baldurk 2015-01-18 12:04:20 +00:00
  • 6107129286 Add group for multisample state on rasterizer tab baldurk 2015-01-18 11:34:26 +00:00
  • d344fc6c88 Add the other bits of rasterizer state to be included in the UI baldurk 2015-01-18 11:20:54 +00:00
  • c05272c23d Show seamless cubemap sampling state in UI baldurk 2015-01-18 10:55:09 +00:00
  • 0fb3c54514 Compile fixes for C# GL pipeline state struct to match real struct baldurk 2015-01-18 10:54:48 +00:00
  • ec1a81cf8b Save config file after adding 'recent file' baldurk 2015-01-18 10:54:24 +00:00
  • cfab18d878 Pass through image, shader storage and atomic buffer binding state baldurk 2015-01-17 22:53:07 +00:00
  • d80687832f Include transform feedback state in GL pipeline state baldurk 2015-01-17 21:47:06 +00:00
  • 11c2d4bdcc Add list of shader subroutine values baldurk 2015-01-17 21:27:45 +00:00
  • 82d262ad8b Pass through multisample state and point/line rast state values baldurk 2015-01-17 19:09:04 +00:00
  • f607f9832e Add texture seamless cubemap enabled state baldurk 2015-01-17 18:47:21 +00:00
  • 8b91c8540b Pass through Read FBO, and handle Draw/Read Buffers indirection baldurk 2015-01-17 18:38:16 +00:00
  • e84a79dc17 Add some default constructors baldurk 2015-01-17 17:57:18 +00:00
  • 91d26c6a75 Pass through some vertex processing state & opengl quality hints baldurk 2015-01-17 17:37:17 +00:00
  • 24fd91a7e0 Display texture swizzling and depth/stencil read mode on textures baldurk 2015-01-17 15:53:09 +00:00
  • ce7c8eb44f Don't fetch sampling parameters for texture buffers (invalid) baldurk 2015-01-17 15:49:03 +00:00
  • 25ab5520c5 Fixes for GL image texture render state baldurk 2015-01-17 15:42:50 +00:00
  • 7e10c5c4ea Pass through ShaderResourceType per-texture for better type naming baldurk 2015-01-17 15:03:34 +00:00
  • af545e00c7 Don't include Samplers in texture array baldurk 2015-01-17 14:57:25 +00:00
  • b47fedf08c Remove a couple of TODOs from GL driver baldurk 2015-01-17 13:06:04 +00:00
  • 760e18c242 Save GL_SAMPLE_SHADING, GL_RASTERIZER_DISCARD and all tex bindings baldurk 2015-01-17 13:05:04 +00:00
  • 772ee5ae3a Fix minor memory leak - array not being freed baldurk 2015-01-16 22:55:27 +00:00