Commit Graph

8803 Commits

Author SHA1 Message Date
James Fulop e464102960
fix typo (scrach -> scratch) (#3353) 2024-09-12 19:19:10 -07:00
IchorDev f29c1b7cde
D bindings: Fix a casing error (#3350)
* Fix error in dynamic version of D bindings

Dazed and confused but trying to continue

* Fix dispatch_indirect still using uint16_t in bgfx.idl

* D bindings: Mark enum conv. functions `nothrow @nogc pure @safe`

* D bindings: Fix a casing error
2024-09-04 09:01:09 -07:00
Daniel Kalmar eaec8ddf3b
Fix a crash in renderer_d3d12.cpp (#3349)
If querying the debug1 interface fails, don't attempt to release it.
2024-08-31 11:15:28 -07:00
Бранимир Караџић 4fb2edfee5 Updated Vulkan headers. 2024-08-30 20:22:21 -07:00
Бранимир Караџић ec4220ae44 Updated spirv-cross. 2024-08-30 20:21:18 -07:00
Бранимир Караџић 7cda7c988f Updated spirv-tools. 2024-08-30 20:21:05 -07:00
Бранимир Караџић cce563101d Updated spirv-headers. 2024-08-30 20:20:53 -07:00
Бранимир Караџић cb50d2873f Updated glslang. 2024-08-30 20:20:38 -07:00
Бранимир Караџић 0c26b42851 Updated ImGui. 2024-08-30 20:18:23 -07:00
Бранимир Караџић 69eb4a54f3 Updated meshoptimizer. 2024-08-30 20:18:09 -07:00
Бранимир Караџић 8fc9516dcd Updated cgltf. 2024-08-30 20:18:01 -07:00
Aleš Mlakar 6622b4d26f
Update Who is using it? part of README.md with World Of Goo 2 (#3348)
* Updated README (with World Of Goo 2).

* Updated README (with World Of Goo 2).

---------

Co-authored-by: Aleš Mlakar <ales.ambits@gmail.com>
2024-08-29 02:06:55 -07:00
Oskar Kwaśniewski ed03259c41
fix: visionOS 1.2 build errors (#3347) 2024-08-28 09:22:38 -07:00
Daniel Kalmar ff1fa8dd39
Use the correct options enum when checking D3D12 features. (#3346) 2024-08-28 09:21:59 -07:00
Oskar Kwaśniewski 0b73e8c7e2
fix: layer rendering (#3339) 2024-08-12 07:55:15 -07:00
Sim Saëns 3f3d3b4433
feat: optional immersive rendering in visionOS (#3335)
* Implements optional code path for immersive rendering based on the type of nwh

* Reverted change in SwapChainMtl destructor
2024-08-09 23:25:47 -07:00
Sami Kyöstilä 85726bcb53
egl: Release per-thread resources before unloading (#3337)
Release EGL's per-thread resources before unloading the EGL library to
avoid a potential crash when the render thread is terminated.

Co-authored-by: Sami Kyöstilä <sami.kyostila@unrealvoodoo.org>
2024-08-08 10:36:45 -07:00
Sandy 409fbc5d14
Replace ALooper_pollAll with ALooper_pollOnce (#3334) 2024-08-02 15:38:56 -07:00
Oskar Kwaśniewski aa4f8c5833
feat: add world tracking provider to render on acutal device (#3326) 2024-07-30 08:15:23 -07:00
Sim Saëns 0de1f036d8
Fixed Doxygen warnings (#3330) 2024-07-28 04:17:56 -07:00
Oskar Kwaśniewski b4df15f848
fix: properly set viewports and render targets (#3325)
fix: do not use STL
2024-07-25 01:17:47 -07:00
Sandy 987a6f89de
Fix issue with visionOS not being defined (#3327)
VisionOS SDK was introduced in xcode 15.2.
xcode 15.0, 15.1 do not have the visionOS platform defined.
Additionally, if you use a different llvm such as llvm 17 or 18 from
homebrew, the platform might not be defined even when using xocde 15.2 or
newer.
2024-07-19 20:54:44 -07:00
Бранимир Караџић e41cbebf16 Set define for USE_ENTRY. 2024-07-09 07:28:59 -07:00
Raziel Alphadios 500e03ffcb
Change ImGuiKey_Mod* to new names ImGuiMod_* (#3322) 2024-07-09 07:17:35 -07:00
elvencache 74e7edccdc
Fix issues with controller in entry_sdl.cpp. (#3321)
SDL2's concept of GameController is a like a PS or Xbox controller, two sticks, four face buttons, etc. These are the same as the bgfx example's Gamepad.

SDL also has a concept of Joystick, which could be anything, like a flight stick. Game Controllers are implemented by these lower level joystick's.

Entry SDL gets duplicate events, for both controller and the joystick implementing it. Game controller buttons are remapped to bgfx gamepad, but joystick buttons are not. This causes incorrect button presses.

Additionally, the joystick z axis behaves differently than game controller or bgfx gamepad. With at-rest value being negative, not zero.

Due to all of this, it seems like the best approach would be to ignore joystick events and only handle game controller events.

Also, minor additional fix to get handle's index when using it as array index. Fixes compilation in Visual Studio.
2024-07-07 18:52:23 -07:00
Бранимир Караџић 6f79fe00e9
Update README.md 2024-07-04 22:44:54 -07:00
Бранимир Караџић af12904d8c Noop: Added missing caps. 2024-06-28 08:16:26 -07:00
Бранимир Караџић 2529e1abc7 Sorted caps. 2024-06-28 08:16:09 -07:00
Бранимир Караџић a476c5b9a4 Cleanup. 2024-06-26 13:17:28 -07:00
Бранимир Караџић 85b33a0f63 Updated meshoptimizer. 2024-06-25 22:36:46 -07:00
Daniel Kalmar 14750e1392
Minimal changes for Vulkan support on NX. (#3317) 2024-06-25 07:19:59 -07:00
Faaux 93961afcfd
Use correct GLSL shader version if onyl gl_VertexID is used (#3315) 2024-06-23 08:59:37 -07:00
Бранимир Караџић 06d0e2af2f Cleanup. 2024-06-21 07:37:44 -07:00
Martijn Courteaux 1109f3c5bf
Vulkan: improve staging data performance by using scratch buffers per frame. (#3295)
* Vulkan: improve staging data performance by using scratch buffers per frame.

* vulkan: Add alignment parameter to request scratch space.

* Align staging buffers to texel block size.

* Fix scratch buffer allocation bug.

* Fix some non-deterministic behavior found by Valgrind. Paranoid printing.

* Remove debugging printing

* Fix alignment of converted formats.

* Remove forgotten debug print.
2024-06-21 07:32:00 -07:00
Бранимир Караџић d9c74e9412 Removed bx.h dependency for embedded shader. 2024-06-16 09:41:16 -07:00
Бранимир Караџић 4c74c06661 Cleanup. 2024-06-15 20:23:44 -07:00
Бранимир Караџић 32866e9e75 texturev: Added horizontal and vertical flip. 2024-06-15 17:14:24 -07:00
Бранимир Караџић acfad63e8f Cleanup. 2024-06-15 16:53:08 -07:00
Branimir Karadžić d1feabe319 Rebuilt shaders. 2024-06-15 14:47:08 -07:00
Бранимир Караџић 72d5832998 spirv-tools: Disable bad validation. 2024-06-15 12:40:50 -07:00
Бранимир Караџић a02d9b541b Updated version. 2024-06-15 10:34:51 -07:00
Бранимир Караџић f37ffe9750 Updated Vulkan headers. 2024-06-15 10:34:17 -07:00
Бранимир Караџић e5ffd1ede8 Updated spirv-cross. 2024-06-15 10:33:47 -07:00
Бранимир Караџић ba632e83b8 Updated spirv-tools. 2024-06-15 10:33:35 -07:00
Бранимир Караџић 2ca2bbc20e Updated spirv-headers. 2024-06-15 10:33:24 -07:00
Бранимир Караџић ad28ab88ab Updated glslang. 2024-06-15 10:33:05 -07:00
Бранимир Караџић ee481af66c Updated meshoptimizer. 2024-06-15 10:29:43 -07:00
Бранимир Караџић 961bbfa295 Updated cgltf. 2024-06-15 10:29:36 -07:00
Бранимир Караџић 739b1156e7 Updated ImGui. 2024-06-15 10:28:55 -07:00
Branimir Karadžić 8432a0a76d MSVC: Enable preprocessor conformance mode. 2024-06-15 10:14:01 -07:00