Commit Graph

8436 Commits

Author SHA1 Message Date
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
Бранимир Караџић
faf90023da Updated spirv-headers. 2023-02-02 19:00:58 -08:00
Бранимир Караџић
028a1cc605 Updated glslang. 2023-02-02 19:00:35 -08:00
Бранимир Караџић
a7ef647e98 Updated ImGui. 2023-02-02 19:00:28 -08:00
Бранимир Караџић
94ce7aa6a9 Updated meshoptimizer. 2023-02-02 19:00:14 -08:00
Бранимир Караџић
35b0fdd60b Updated cgltf. 2023-02-02 19:00:05 -08:00
Christophe Dehais
cd3a1ea7f8
[GL] Fix sRGB framebuffer write (#3032) 2023-02-02 09:16:32 -08:00
issam3105
10ec8e8882
Removed useless precision highp sampler2DArray (#3031)
Co-authored-by: Issam <issam.dahmen@fittingbox.com>
2023-02-02 09:14:22 -08:00
issam3105
6f36b4fb3a
Fix shader preprocessor constructor call (#3030)
Co-authored-by: Issam <issam.dahmen@fittingbox.com>
2023-02-01 07:26:55 -08:00
Бранимир Караџић
c645acdc03 shaderc: Fixed textureSize overloads. Issue #3020. 2023-01-25 20:27:14 -08:00
Бранимир Караџић
bea82a1343 GLES3+: Fix headers. 2023-01-21 08:51:44 -08:00
ShuangLiu1992
adb0f893a3
fix ios entry (#3027)
When initWithFrame is being called s_ctx has not been created yet. Fix with correct assign order.
2023-01-19 08:45:51 -08:00
HumanBean4
9cc4d85b69
Fixed texture side iterator being too small (#3026) 2023-01-19 07:16:28 -08:00
HumanBean4
f449f139f1
Fixed texture side iterator being too small (#3025) 2023-01-19 07:16:04 -08:00
Бранимир Караџић
b1f9fdf449
Updated Khronos headers. (#3023) 2023-01-15 08:40:46 -08:00
Бранимир Караџић
4361298339 Updated Vulkan headers. 2023-01-14 20:57:53 -08:00
Бранимир Караџић
db8f0758d0 Updated ImGui. 2023-01-14 18:41:31 -08:00
Бранимир Караџић
f5297105fa shaderc: Simplified build script. 2023-01-14 18:40:27 -08:00
Бранимир Караџић
35996c46cb Updated shaderc build script. 2023-01-14 18:28:09 -08:00
Бранимир Караџић
ce55c18a8d Updated spirv-cross. 2023-01-14 18:27:49 -08:00
Бранимир Караџић
2d52b5f9af Updated spirv-tools. 2023-01-14 18:27:08 -08:00
Бранимир Караџић
41c35878a7 Updated spirv-headers. 2023-01-14 18:26:49 -08:00
Бранимир Караџић
3d65c8d8a1 Updated glslang. 2023-01-14 18:26:29 -08:00
Бранимир Караџић
466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
Бранимир Караџић
14b8268299 CI: We only care about Android ARM64. 2023-01-13 09:08:59 -08:00
Бранимир Караџић
4f3ce6abcb Entry: Resize window before calling init. 2023-01-13 07:08:51 -08:00
pheonix
e33efb8b42
shaderc updates (#3018)
- add support for Vulkan 1.3 using SPIR-V 1.6 as a profile target
- move ordering of help information of SPIR-V block
- update SPIR-V to Vulkan mapping documentation
2023-01-07 09:07:15 -08:00
Бранимир Караџић
5f435ea56b Cleanup. 2022-12-28 10:26:39 -08:00
Ali Seyedof
877cdb8b1f
shaderc HLSL profile switch fix (#3005)
* shaderc HLSL profile switch fix

* shader makefiles changed to match new hlsl profile switches

Co-authored-by: Ali Seyedof <ali.seyedof@xyzreality.com>
2022-12-28 10:16:37 -08:00
Bryan McNett
a93a714632
fix for save file dialog in windows (#3003)
the save file dialog in windows was an open file dialog, by mistake

Co-authored-by: Bryan McNett <bryan@mcnett.org>
2022-12-23 23:00:26 -08:00
Branimir Karadžić
eb7f79c358 D3D12: Fixed setting draw scissor. 2022-12-22 20:21:39 -08:00
Ali Seyedof
9eb0d2953e
Removed redundant WaitForVBlank from d3d9 (#2998)
Co-authored-by: Ali Seyedof <ali.seyedof@xyzreality.com>
2022-12-16 13:32:06 -08:00
Seyedof
dfbbb64664
Added INDEX32 caps support for d3d9 renderer (#2996)
* Added INDEX32 caps support for d3d9 renderer

* Use UINT16_MAX instead of 1<<16

Co-authored-by: Ali Seyedof <ali.seyedof@xyzreality.com>
2022-12-16 08:43:12 -08:00
Бранимир Караџић
43296d6f3f Cleanup. 2022-12-12 07:53:08 -08:00
pourtheworld
acedbf0af0
renderer_d3d11 fix compute shader input image cubemap format transformation (#2983) 2022-12-10 08:49:12 -08:00
Branimir Karadžić
7911b10c07 D3D12: Probe highest version of device. 2022-12-08 18:57:42 -08:00
Branimir Karadžić
5bf22f90be Updated RenderDoc header. 2022-12-08 18:57:06 -08:00
kuncarous
7c40b8df62
Vulkan: Fixed R16U format. (#2991) 2022-12-06 13:19:53 -08:00
Branimir Karadžić
6d08be28f7 D3D12: Dump all feature support options. 2022-12-03 09:22:27 -08:00