Commit Graph

332 Commits

Author SHA1 Message Date
Jack Andersen 3e1da36f39 Ensure previous pipeline state is rebound on metal after copying render texture 2019-02-03 15:37:19 -10:00
Jack Andersen 2135f4e4dc Reformat Objective-C code with new style 2019-02-03 14:00:12 -10:00
Jack Andersen 058ea23a00 New code style refactor 2018-12-07 19:17:51 -10:00
Jack Andersen 54676aff91 early return case for setClampMode 2018-11-07 14:52:25 -10:00
Jack Andersen b6d40fde97 Add startInst argument to drawInstanced 2018-11-04 21:24:38 -10:00
Jack Andersen 3b4d7abae6 D3D11 Compile fix 2018-10-21 22:12:44 -10:00
Jack Andersen 7bda89073d Fix tessellation pipeline handling for Metal 2018-10-18 16:18:47 -10:00
Jack Andersen 9d91cd459e Ensure VulkanTextureR layouts are predictably initialized 2018-10-18 13:55:15 -10:00
Jack Andersen 7d1be415c6 Fix tessellation pipeline setup 2018-10-16 17:26:07 -10:00
Jack Andersen 65c99ad769 macOS API sync 2018-10-15 17:13:57 -10:00
Jack Andersen 592ffa1372 Windows sync for API changes 2018-10-14 09:59:19 -10:00
Jack Andersen f917d154b2 GLX bug fixes 2018-10-11 10:47:37 -10:00
Jack Andersen 0b52f3dbab Convert to pragma once 2018-10-06 17:36:44 -10:00
Jack Andersen c29d837ab5 Huge shader infrastructure refactor 2018-10-06 16:49:22 -10:00
Jack Andersen abbd3167b2 Implement Metal tessellation shaders 2018-06-11 15:13:34 -10:00
Jack Andersen 2a45cf90d8 Implement tessellation shaders for D3D11 2018-06-07 14:42:43 -10:00
Jack Andersen 4a19ac1e83 OpenGL and Vulkan support for tessellation shaders 2018-06-06 18:36:17 -10:00
Jack Andersen 1a71ed813a Fix TSan-reported race conditions 2018-06-01 14:01:47 -10:00
Jack Andersen fdddeebf52 Small hack to prevent AMD GCN hangs 2018-05-31 20:36:57 -10:00
Jack Andersen 6ff4229f9b Windows deallocation fixes 2018-05-28 10:23:20 -10:00
Jack Andersen 3028e34b51 Silent audio mixing fix; Xlib Vulkan destruction order fix 2018-05-28 09:28:36 -10:00
Jack Andersen d5ec7bcc1e Slab allocation of VkDescriptorPools 2018-05-27 11:35:21 -10:00
Jack Andersen f00d77415a Fix vulkan multisampling 2018-05-26 19:13:50 -10:00
Jack Andersen 19014e0ba7 synchronize macOS with latest changes 2018-05-26 11:29:19 -10:00
Jack Andersen b814cb503a Add GEqual depth testing to Vulkan backend 2018-05-25 17:41:35 -10:00
Jack Andersen 84df8af28c Windows build fixes and cleanups 2018-05-24 20:30:42 -10:00
Jack Andersen 721d10919b Huge Vulkan refactor 2018-05-21 21:48:13 -10:00
Jack Andersen eaff1ba744 Vulkan backend fixes 2018-05-20 12:37:26 -10:00
Phillip Stephens 505700419b Enable PrimitiveRestart in vulkan 2018-05-20 08:37:18 -07:00
Jack Andersen 578432eb2f OpenGL and Vulkan resource tracing 2018-05-19 20:11:49 -10:00
Jack Andersen 4a55a04e18 Use GL_DEPTH_COMPONENT32F for consistency with other backends 2018-05-09 21:24:42 -10:00
Jack Andersen 9031ace975 Ensure GL_PRIMITIVE_RESTART is enabled 2018-05-05 10:55:37 -10:00
Jack Andersen 4580196f6d Fix setWindowFrameDefault() for windows 2018-02-06 15:37:25 -10:00
Jack Andersen cff495550e Windows compile fix 2018-02-04 21:03:54 -10:00
Jack Andersen 1e5e26ced8 Merge branch 'master' of ssh://gitlab.axiodl.com:6431/AxioDL/boo 2018-02-04 20:54:17 -10:00
Jack Andersen edd26fc65b Add shader mode for constant alpha overwrite 2018-02-04 20:52:54 -10:00
Jack Andersen a2c3e14d8e Add nearest-neighbor samplers for remaining backends 2018-02-02 17:05:53 -10:00
Jack Andersen 72c9809655 Add ClampToEdgeNearest texture mode 2018-02-01 13:12:42 -10:00
Jack Andersen c314730d51 Fix subtract blending mode 2018-01-29 21:49:00 -10:00
Jack Andersen 5b62fcd826 Metal API validation fixes 2018-01-24 20:55:42 -10:00
Jack Andersen 1d70723c98 Ensure Vulkan gamma texture is initialized 2018-01-22 18:39:40 -10:00
Jack Andersen 25dc238c44 Xlib deep color support 2018-01-21 21:33:47 -10:00
Jack Andersen b9d200c61d Metal gamma shader coordinate fix 2018-01-21 13:30:01 -10:00
Jack Andersen 5f48359cc7 macOS fixes 2018-01-21 13:07:34 -10:00
Jack Andersen 93c787dcd4 Gamma correction for Vulkan, D3D, OpenGL 2018-01-21 12:01:52 -10:00
Jack Andersen 2df85e8f8b More fixes 2018-01-19 19:50:01 -10:00
Jack Andersen 337c276ccb WTF 2018-01-19 17:02:29 -10:00
Jack Andersen 3d987b6dc9 Add deep color arg to ApplicationRun 2018-01-15 20:29:43 -10:00
Jack Andersen cc6c872747 Fix non-MSAA resolve operations for Metal 2018-01-11 15:28:33 -10:00
Jack Andersen 4257fc0b10 MSAA and Anisotropic filtering variables 2018-01-09 20:15:18 -10:00
Jack Andersen 1dc69c3468 Work on MSAA support 2018-01-06 19:17:14 -10:00
Jack Andersen db82ba674b Add clearDepth parameter to resolveBindTexture() 2018-01-05 20:49:54 -10:00
Jack Andersen ed618fa8cb Metal validation fix 2018-01-04 17:00:58 -10:00
Jack Andersen 02dc5a2a97 GameCube controller calibration fix 2017-12-19 20:04:11 -10:00
Jack Andersen 62c2b1ffac UWP fixes 2017-12-06 18:08:44 -10:00
Jack Andersen f228f23661 UWP support 2017-12-05 17:20:59 -10:00
Jack Andersen 03de8811b1 Object tracker list refactor; add object tracker to audio system 2017-12-02 20:05:16 -10:00
Jack Andersen 579ddc822c Fix Metal DXT1 loading 2017-12-01 19:49:07 -10:00
Jack Andersen b23da43f05 Windows and Vulkan fixes 2017-11-24 16:49:20 -10:00
Jack Andersen 3c90192351 Make shader compilation errors fatal for GL 2017-11-24 12:07:23 -10:00
Jack Andersen 49d76b84be Ensure boo IObj instances are heap-allocated 2017-11-19 13:44:46 -10:00
Jack Andersen de9159ce51 Vulkan API fixes 2017-11-18 15:31:05 -10:00
Jack Andersen a99bddc905 ClampToEdge mode for textures; cocoa termination exception fix 2017-11-16 22:55:51 -10:00
Jack Andersen bffdf43f9e Vulkan render pass fix 2017-11-16 13:48:18 -10:00
Jack Andersen 4b064a58f2 Make D3D depth range consistent with OpenGL and Vulkan 2017-11-14 21:25:28 -10:00
Jack Andersen b7646f7f9a Windows fixes 2017-11-13 17:32:44 -10:00
Jack Andersen 6950d96b46 Linux build fixes 2017-11-12 21:19:49 -10:00
Jack Andersen cb5d22eed6 string_view refactor 2017-11-12 20:13:32 -10:00
Jack Andersen 420dcee552 Metal consistency fixes 2017-11-11 19:14:10 -10:00
Jack Andersen 165314b817 Windows and Vulkan fixes for AMD GPU 2017-11-08 22:10:43 -10:00
Jack Andersen 1a2fc1d2a3 IObj destructor race condition fix 2017-11-07 21:33:10 -10:00
Jack Andersen 3cd375e67b Restore VkShaderModule caching 2017-11-07 16:24:07 -10:00
Jack Andersen 2cd7de7a28 Clear Vulkan resources if command buffer abandoned 2017-11-06 22:04:44 -10:00
Jack Andersen 6c3a35f15d Finish object tracker for remaining platforms 2017-11-05 20:53:54 -10:00
Jack Andersen 3a7987bb21 Object tracker bug fixes; optional metal binary shader compilation 2017-11-04 20:12:49 -10:00
Jack Andersen 021143fd89 New object management architecture for OpenGL subsystem (more platforms to come) 2017-11-02 23:39:26 -10:00
Jack Andersen 90e2df40dd Merge commit '46156' into gl-fixes 2017-11-01 23:38:22 -10:00
Jack Andersen 4615641a12 Add buffer logging 2017-11-01 23:37:50 -10:00
Jack Andersen 0f96af94f6 Addresses some resource lifetime issues in OpenGL and Vulkan 2017-11-01 23:24:50 -10:00
Jack Andersen 10364557b9 Vulkan array-texture validation fix; better handling of unsupported audio HW on ALSA 2017-10-30 17:42:41 -10:00
Jack Andersen 3c207386e7 Metal autorelease pools at API boundaries 2017-10-27 00:09:22 -10:00
Jack Andersen d1b980b529 Windows fixes; experimental UWP framework (not working) 2017-10-23 17:09:50 -10:00
Jack Andersen 41d225bd64 Use metal shading language 1.2 2017-10-21 20:09:58 -10:00
Jack Andersen 55d1a5bc93 Windows compile fixes 2017-09-30 19:31:29 -10:00
Jack Andersen 2a49a8d447 Add texture clamp mode 2017-09-30 18:23:28 -10:00
Jack Andersen 175893f055 HID parser for udev; Vulkan fixes 2017-09-15 15:55:41 -10:00
Jack Andersen 0f2a838bfb Add Cross-platform HID parser 2017-09-15 07:20:52 -10:00
Jack Andersen 5bc17c753c Remove logic defeating blend assignment 2017-09-04 21:55:17 -10:00
Jack Andersen dd6e53119a Add subtractive blending mode to backends 2017-09-04 16:59:41 -10:00
Jack Andersen 18cbfd2865 Add GEqual Z-test option for pipeline backends 2017-09-02 19:52:53 -10:00
Jack Andersen 49afde2fb9 Reinstate glFlush for buffer updates 2017-07-13 19:13:29 -10:00
Phillip Stephens a5b38596a5 Fix maxAnisotropy validation error 2017-05-09 17:00:30 -07:00
Jack Andersen 9a7cadce3a Minor Metal backend change 2017-03-19 19:08:19 -10:00
Jack Andersen 5f903c09ee Windows sync 2017-03-17 13:31:51 -10:00
Jack Andersen 05c26a535b OpenGL and metal rendering interface upgrades 2017-03-13 21:02:53 -10:00
Jack Andersen 73891af56a Add frontface culling support to Metal 2017-03-10 11:07:29 -10:00
Jack Andersen ca20aea834 Add front-face culling support 2017-03-10 10:38:00 -10:00
Jack Andersen 3b7a5781f5 OpenGL and Metal fixes 2017-03-05 13:34:24 -10:00
Jack Andersen a547eb9dbb Runtime shader cache fixes 2017-03-05 12:59:58 -10:00
Jack Andersen 03f155fcf5 Move xxhash to boo; cached shader components 2017-03-04 21:54:58 -10:00