Commit Graph

8674 Commits

Author SHA1 Message Date
Бранимир Караџић f7ce1a7b1b Updated vulkan headers. 2023-05-04 22:24:03 -07:00
Бранимир Караџић 6253c23c29 Updated spirv-cross. 2023-05-04 22:23:50 -07:00
Бранимир Караџић 1097abfc57 Updated spirv-tools. 2023-05-04 22:23:36 -07:00
Бранимир Караџић 90e6e6f7a0 Updated spirv-headers. 2023-05-04 22:23:24 -07:00
Бранимир Караџић bf5fda9ae7 Updated glslang. 2023-05-04 22:23:10 -07:00
Бранимир Караџић ddfae2f915 Updated meshoptimizer. 2023-05-04 22:22:44 -07:00
Бранимир Караџић 09ac630f0a Updated ImGui. 2023-05-04 22:22:29 -07:00
Branimir Karadžić 290295136b Added bx::Location, and removed allocator macros. 2023-04-23 19:19:22 -07:00
Branimir Karadžić 277b5f4ada Fixed MSVC warning. 2023-04-23 09:06:41 -07:00
Бранимир Караџић e9d1e3d0fe Renamed bx::init::* tags. 2023-04-22 22:22:45 -07:00
Бранимир Караџић a3e68cd9b7 Cleanup. 2023-04-21 19:04:16 -07:00
Бранимир Караџић 6dd8edc4b1 Cleanup. 2023-04-12 19:25:14 -07:00
Бранимир Караџић d909d01734 Metal: Rebuilt shaders. 2023-04-12 19:23:57 -07:00
rnbhatt fda8a3705f
Fix for #2822 -- points rendering error on Apple silicon (#3079)
* Add pointsize to SPIRV-Cross output before writing

Adds 
float bgfx_metal_pointSize [[point_size]] = 1;
to xlatMtlMain_out, ensuring that it always has a value.

* Update shaderc_metal.cpp

Only apply patch to vertex shaders
2023-04-12 10:16:58 -07:00
issam3105 c3e3053935
Fix call to non-existant glDrawBuffers on mobile WebGL 1 (#3068)
Co-authored-by: Issam <issam.dahmen@fittingbox.com>
2023-04-04 07:52:40 -07:00
Francis Hart 27a801ea8e
Ensure bgfx::init() respects BGFX_RESET_FLIP_AFTER_RENDER (#3073)
This updates the behaviour of bgfx::init() to ensure that it
checks for the BGFX_RESET_FLIP_AFTER_RENDER flag.
2023-04-03 10:15:25 -07:00
Бранимир Караџић 4d11ad55f3 Cleanup. 2023-04-03 07:23:49 -07:00
IchorDev ecbff2ad30
Update Apple platform naming in readme (#3072)
* Fixed some platform naming

* Update build.rst

* Update internals.rst

* Update overview.rst
2023-04-02 21:47:38 -07:00
Бранимир Караџић c43c4479de Fixed issue #3067. 2023-04-02 09:00:18 -07:00
Бранимир Караџић 538c9a05eb Updated version number. 2023-03-31 19:04:14 -07:00
Бранимир Караџић 6b29d8ee2b Updated vulkan headers. 2023-03-31 19:03:34 -07:00
Бранимир Караџић 49cc81e149 Updated spirv-cross. 2023-03-31 19:03:12 -07:00
Бранимир Караџић b3cfedc79e Updated spirv-tools. 2023-03-31 19:03:03 -07:00
Бранимир Караџић 379300facd Updated spirv-headers. 2023-03-31 19:02:54 -07:00
Бранимир Караџић 5b5774fbc1 Updated glslang. 2023-03-31 19:02:41 -07:00
Бранимир Караџић d87baafbcc Updated ImGui. 2023-03-31 19:02:32 -07:00
Бранимир Караџић 2c07181c1e Updated cgltf. 2023-03-31 19:02:20 -07:00
Бранимир Караџић b0bb4fc578
Revert "fix unused uniforms replace when multi uniform defined in one line and there is some unused uniforms in that line. (#3056)" (#3064)
This reverts commit bd7a01aa8a.
2023-03-17 19:57:51 -07:00
simon chen bd7a01aa8a
fix unused uniforms replace when multi uniform defined in one line and there is some unused uniforms in that line. (#3056) 2023-03-17 19:49:42 -07:00
Бранимир Караџић 954c18b417 Updated version number. 2023-03-16 20:29:57 -07:00
Бранимир Караџић b9d0d5474f Updated vulkan headers. 2023-03-16 20:29:34 -07:00
Бранимир Караџић c10fd5ed24 Updated spirv-cross. 2023-03-16 20:27:23 -07:00
Бранимир Караџић 8c9826c7a3 Updated spirv-tools. 2023-03-16 20:27:10 -07:00
Бранимир Караџић 9f162a8cf3 Updated spirv-headers. 2023-03-16 20:26:58 -07:00
Бранимир Караџић ea6510a9a7 Updated glslang. 2023-03-16 20:18:50 -07:00
Бранимир Караџић bae9021d05 Updated meshoptimizer. 2023-03-16 20:04:22 -07:00
Бранимир Караџић 0c5b986faf Updated ImGui. 2023-03-16 20:03:45 -07:00
Raziel Alphadios c3d55ba9f5
Update supported platforms and compilers (#3057)
* Update supported platforms and compilers

* Update overview doc too

---------

Co-authored-by: Raziel Alphadios <raziely@gmail.com>
2023-03-08 12:51:34 -08:00
Jorge Rodriguez 70ac58fd38
Write messages to a stream specified by the caller of compilerShader … (#3054)
* Write messages to a stream specified by the caller of compilerShader rather than directly to stdOut, to allow tool writers to easily capture it.

* PR updates

* Missed a write

* PR updates
2023-03-06 10:30:06 -08:00
Бранимир Караџић f8019cb3d4 Cleanup. 2023-03-02 21:45:20 -08:00
Бранимир Караџић 5ec297bc71 Fixed issue #3045. 2023-03-02 21:21:10 -08:00
Max 23edb9c4d9
Make the formatting of example projects consistent in README.md and fix broken image URLs (#3051)
* Make the formatting of bgfx example projects consistent in README.md

* Capital letter after hyphen

* Fix broken image URLs

* Make links visible

* Remove broken web demo links
2023-02-28 15:42:55 -08:00
Gary Hsu e0b5e0d67a
Add support for Windows App SDK (WinUI 3) (#3044)
* Add support for Windows App SDK (WinUI 3)

* Update namespace
2023-02-27 18:38:49 -08:00
Francis Hart 403c4da2e0
Fix compiler warnings for nanovg wrapper (#3048)
* Fix compiler warnings for nanovg wrapper

Code for the nanovg wrapper was generating compiler warnings for
implicit casts from int32_t to uint16_t. These casts are unavoidable
due to how bgfx and nanovg APIs use different types for texture
width/height.

* Fix compiler warning from nanovg fontstash.h

This fixes some warnings for signed/unsigned comparsion
coming from the nanovg fontstash.h header.
2023-02-27 18:33:29 -08:00
Francis Hart caa637dbd5
Expose nvgCreateBgfxTexture() helper function (#3046)
The nvgCreateBgfxTexture() helper function is already implemented in
the nanovg wrapper library, so its useful to expose this function
to the user.

Also expose the NVG_IMAGE_NODELETE flag so this can be passed to the
nvgCreateBgfxTexture() function, to indicate that the caller retains
ownership of the bgfx texture.
2023-02-27 07:10:53 -08:00
Бранимир Караџић 9d5b980f5c Cleanup. 2023-02-15 21:54:54 -08:00
Бранимир Караџић 4f878bf473 Updated version number. 2023-02-13 19:59:31 -08:00
Бранимир Караџић dcf926f624 Updated vulkan headers. 2023-02-02 19:01:37 -08:00
Бранимир Караџић 709d33f2c5 Updated spirv-cross. 2023-02-02 19:01:23 -08:00
Бранимир Караџић 3d390308dc Updated spirv-tools. 2023-02-02 19:01:13 -08:00