Commit Graph

8840 Commits

Author SHA1 Message Date
Бранимир Караџић
3e2188c27d Updated glslang. 2024-05-27 21:09:28 -07:00
Бранимир Караџић
887dbc8ffe Updated cgltf. 2024-05-27 19:52:14 -07:00
Бранимир Караџић
c08fa3da56 Updated ImGui. 2024-05-27 19:49:43 -07:00
Бранимир Караџић
da5f27f9ce X11: Workaround DISPLAY not being set. 2024-05-25 09:10:05 -07:00
Бранимир Караџић
87fd766c33 shaderc: Fix integer vecs. 2024-05-24 16:42:41 -07:00
Бранимир Караџић
4f1728dfb8 Updated README. 2024-05-17 18:57:14 -07:00
mclohessy
5c17eb6836
Support /Zc:preprocessor on MSVC for standard compliant preprocessor. (#3294) 2024-05-16 08:02:00 -07:00
Alastair
3bcaaccd29
use BX_MAKEFOURCC in shaderc_hlsl.cpp (#3293) 2024-05-13 12:06:34 -07:00
Бранимир Караџић
662071f333 Cleanup. 2024-05-11 22:02:23 -07:00
Бранимир Караџић
cbdc8bf77c Cleanup. 2024-05-10 07:37:28 -07:00
Nikolay Ivanov
2d17b9866b
Fixed incorrect mipmap generation on Vulkan for Cubemaps (#3236) (#3290) 2024-05-10 07:34:44 -07:00
Бранимир Караџић
3a116a90e5 Fixed docs. 2024-05-04 23:58:36 -07:00
kschoice-fr
2dfc9d14b6
Changes to API reference (#3286)
* Update bgfx.rst

Added Texture Flags BGFX_TEXTURE_* in Textures section under TextureFormat

* Update bgfx.h

Added a specific mention that Texture creation BGFX_TEXTURE_* flags can be used, in both relevant createFrameBuffer prototypes
2024-05-04 23:52:43 -07:00
Martijn Courteaux
1437b5c966
Restore support for older macOS/iOS version. Determine features at init, and use at runtime. (#3284)
* Restore support for older macOS/iOS version. Determine features at init, and use at runtime.

* Fix typo for visionOS macro expansion.

* Silence warnings with pragmas and pointer casts where possible.

* Pragma macros.
2024-05-03 07:35:20 -07:00
Бранимир Караџић
9d9ca4f8f6 Cleanup. 2024-05-02 20:00:58 -07:00
João Matos
57d8a0838b
Fixes Emscripten wasm64 compile error in glcontext_html5.cpp. (#3282)
Fixes compile error:

```
glcontext_html5.cpp:74:45: error: cast from pointer to smaller type
'EMSCRIPTEN_WEBGL_CONTEXT_HANDLE' (aka 'int') loses information
74 |                 EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context =
reinterpret_cast<EMSCRIPTEN_WEBGL_CONTEXT_HANDLE>(g_platformData.context);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2024-04-30 07:16:20 -07:00
Aleksandr Bazhin
1138cc0cc9
Examples: change order of calls in loadTexture() (#3281)
Fixes possible concurrency issue - makes code usable in a multithreaded environment. imageReleasCb releases imageContainer after bgfx::createTexture...() is called. If bgfx::frame() is called from another thread, the release can happen before imageContainer is used in bgfx::calcTextureSize(), leading to a crash. Although loadTexture() is not used in multithreaded environment in the examples, calling bgfx::calcTextureSize() before bgfx::createTexture...() is a better reference for users.
2024-04-24 21:25:35 -07:00
Бранимир Караџић
932302d8f4 Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
Martijn Courteaux
0ed3ac95aa
More vulkan profiling. (#3279) 2024-04-17 07:24:11 -07:00
Бранимир Караџић
0ddba0bcf4 Updated Vulkan headers. 2024-04-12 21:21:46 -07:00
Бранимир Караџић
e315f647d6 Updated spirv-cross. 2024-04-12 21:21:46 -07:00
Бранимир Караџић
9287b7cd18 Updated spirv-tools. 2024-04-12 21:21:46 -07:00
Бранимир Караџић
03279fe3c1 Updated spirv-headers. 2024-04-12 21:21:46 -07:00
Бранимир Караџић
406c8deaba Updated glslang. 2024-04-12 21:21:46 -07:00
Бранимир Караџић
de2f308b98 Updated meshoptimizer. 2024-04-12 21:21:46 -07:00
Бранимир Караџић
93a24cae1f Updated ImGui. 2024-04-12 21:21:46 -07:00
Saracen
87603361fd
Corrected Tomb4Plus description. (#3277) 2024-04-10 21:26:42 -07:00
Saracen
39df83496d
Added #madewithbgfx entry for Tomb4Plus (#3276) 2024-04-10 20:48:08 -07:00
Бранимир Караџић
3afb43090f Fixed #3274. 2024-04-02 07:50:19 -07:00
Бранимир Караџић
632489bef5 Fixed #3274. 2024-04-01 09:51:57 -07:00
Бранимир Караџић
0244cc4af2 Updated version. 2024-03-29 17:17:31 -07:00
Бранимир Караџић
2ad67a4dfd Cleanup. 2024-03-29 16:36:55 -07:00
Бранимир Караџић
8ec4b71303 D3D11: Made use staging buffer configurable. 2024-03-28 09:49:02 -07:00
Branimir Karadžić
dc2bb19519 Cleanup. 2024-03-27 19:59:59 -07:00
Бранимир Караџић
5818e34e21 Updated README. 2024-03-23 08:21:09 -07:00
Marukyu
0679b98938
Added Crypt of the NecroDancer to README. (#3273) 2024-03-23 08:15:24 -07:00
IchorDev
e1077e376e
D bindings: Mark enum conversion functions nothrow @nogc pure @safe (#3272)
* 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`
2024-03-21 07:49:01 -07:00
IchorDev
4cb7b7138a
Fix dispatch_indirect still using uint16_t in bgfx.idl (#3268)
* 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
2024-03-12 08:01:27 -07:00
Бранимир Караџић
8778d4d1cf Cleanup. 2024-03-10 07:43:26 -07:00
Krimo
4d8f0f6713
Fix vertex attributes having incorrect state when restarting BGFX. (#3267) 2024-03-10 07:41:21 -07:00
pheonix
56ad576dcd
[shaderc] Clean up (#3258)
* Add Metal Shading Language version options to shaderc. Reference version options from: https://developer.apple.com/documentation/metal/mtllanguageversion?language=objc
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used

* Add Metal Shading Language version options to shaderc. Reference version options from: https://developer.apple.com/documentation/metal/mtllanguageversion?language=objc
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used

* Group ios and osx platform code paths
Reduce the size of temp buffer used in writing the MSL preprocessor define
Fix a compiler warning about size_t to int32_t truncation
Adjust whitespace in usage text

* Remove indented scope left-over from branch condition removal

* Remove some testing code

* Adjust whitespace for function arguments

* Replace BX_ASSERT with bx::write to message handler in spirv generation
2024-02-27 07:32:52 -08:00
pheonix
c00e4395b0
Add Metal Shading Language version options to shaderc. Reference version options from: https://developer.apple.com/documentation/metal/mtllanguageversion?language=objc (#3213)
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used
2024-02-26 23:08:51 -08:00
Бранимир Караџић
a59c3addd6 Updated Vulkan headers. 2024-02-24 19:47:04 -08:00
Бранимир Караџић
26739a1a8f Updated spirv-tools. 2024-02-24 19:46:53 -08:00
Бранимир Караџић
9df6bfc1d6 Updated spirv-headers. 2024-02-24 19:46:42 -08:00
Бранимир Караџић
854602a008 Updated glslang. 2024-02-24 19:46:21 -08:00
Бранимир Караџић
2e9c28f436 Updated ImGui. 2024-02-24 19:41:53 -08:00
Бранимир Караџић
a3eb92d1b6 Cleanup. 2024-02-24 19:24:49 -08:00
Бранимир Караџић
e5fb94d142 texturev: Fixed file dialog scrolling. 2024-02-24 18:53:05 -08:00
pheonix
0b049d4897
Use bx::bit_cast where appropriate for type punning, applying packed struct for arrays when necessary (#3212) 2024-02-24 15:47:04 -08:00