Commit Graph

8098 Commits

Author SHA1 Message Date
Бранимир Караџић
c5d1a1a8e3 Moving bounds from bgfx to bx. 2021-10-16 10:41:42 -07:00
Richard Schubert
ffeba57b8a
Fix FSR (#2628)
* Clear full framebuffer

* Fix type coercion

* Use bgfx API properly

* Remove redundant calls
2021-10-15 07:36:46 -07:00
Бранимир Караџић
a1d2c03eba Cleanup. 2021-10-14 21:03:34 -07:00
Бранимир Караџић
2d9e6e7f4f Added setTexture validation to check for read back texture. 2021-10-14 21:03:26 -07:00
Branimir Karadžić
46384208ad Define WIN32_LEAN_AND_MEAN if it's not defined when including windows.h. 2021-10-13 20:18:03 -07:00
Бранимир Караџић
84a38eede0 Cleanup. 2021-10-13 19:54:27 -07:00
Бранимир Караџић
6921fc3438 Cleanup. 2021-10-08 19:06:53 -07:00
Branimir Karadžić
5890cef12b 46-fsr: Updated screenshot. 2021-10-06 18:05:00 -07:00
Branimir Karadžić
b7213445db Added 46-fsr example. 2021-10-06 17:40:57 -07:00
Branimir Karadžić
4717192086 Updated makefile. 2021-10-06 17:40:32 -07:00
Branimir Karadžić
778dffb6ee 46-fsr: Built shaders. 2021-10-06 17:40:15 -07:00
Branimir Karadžić
ad8eb09cf6 Fixed warnings. 2021-10-06 17:39:48 -07:00
Branimir Karadžić
a923b86aab Fixed warnings. 2021-10-06 09:55:26 -07:00
Бранимир Караџић
58441ea499 Cleanup. 2021-10-05 19:42:44 -07:00
Richard Schubert
fc513e163b
Add new Example - AMD FidelityFX-FSR (#2612)
* Add new sample

* Add FSR shaders

* Add example template

* Add Antialiasing

* Add multi resolution rendering

* Implement magnifier

* Implement FSR EASU pass

* Implement FSR RCAS pass

* Improve wording of comments and UI

* Remove use of ffx_a.h in cpp

* Remove example external files

* Perform bilinear upsampling by compute shader

* Add FSR 16 Bit support

* Improve magnifier picking

* Fix magnifier picking

* Render magnifier widget

* Renaming of stuff

* Separate magnifier functionality

* Move FSR into separate class

* Reduce scope of FSR resources

* Fix FSR for Vulkan

* Fix OpenGL support

* Update sample screenshot
2021-10-05 09:01:50 -07:00
Бранимир Караџић
f99a6b4246 Fixed bug. 2021-10-03 09:13:28 -07:00
Бранимир Караџић
8bf13f7f4f dxgi: Prettify memory info. 2021-10-02 16:21:30 -07:00
Бранимир Караџић
03fbf9d42b dxgi: Fixed string format. 2021-10-02 16:13:13 -07:00
Бранимир Караџић
7b13de371a dxgi: Fixed string format. 2021-10-02 11:32:25 -07:00
Бранимир Караџић
f50d84da52 Rebuilt SPIR-V shaders. 2021-10-02 11:31:52 -07:00
Бранимир Караџић
bdd174b74c Updated spirv-cross. 2021-10-02 10:49:50 -07:00
Бранимир Караџић
fe54a8720f Updated spirv-tools. 2021-10-02 10:49:42 -07:00
Бранимир Караџић
d2e245c725 Updated ImGui. 2021-10-02 10:49:32 -07:00
Бранимир Караџић
e180849b89 shaderc: Fixed SPIRV outputting useless uniforms. 2021-10-01 20:13:46 -07:00
Бранимир Караџић
73db386165 Added uniform name validation. 2021-09-30 17:24:36 -07:00
Бранимир Караџић
22d5747719 Cleanup. 2021-09-30 17:24:16 -07:00
pezcode
be2c110781
Vulkan: raise maximum number of swapchain images (#2619) 2021-09-30 15:01:39 -07:00
Cedric Guillemet
f9436baea3
store action was not set when clearWithRenderPass false and MSAA on (#2613)
Co-authored-by: Cedric Guillemet <ceguille@microsoft.com>
2021-09-30 11:26:18 -07:00
Gaetan de Villele
89b6c25c4a
fix usage of fatal() function when Clang analyzer is used (#2617) 2021-09-27 19:07:32 -07:00
James Fulop
dfb84e4913
add Guild Wars 2 to #madewithbgfx (#2615) 2021-09-27 19:03:24 -07:00
MooZ
b8d2f01b98
Fixed shadow map sampling for 130 and above glsl profiles. (#2496)
* Fixed shadowmap sampling for 130 and above glsl profiles.

* Fixed shadowmap sampling on OpenGL ES 3 and onwards.
2021-09-27 07:03:06 -07:00
Бранимир Караџић
fc461ce8b1 Updated vulkan headers. 2021-09-25 22:43:36 -07:00
Бранимир Караџић
3c9591d9f9 Cleanup. 2021-09-25 22:30:42 -07:00
Бранимир Караџић
85b370fa37 Updated cgltf. 2021-09-25 20:00:08 -07:00
Бранимир Караџић
ca8b00484a Updated spirv-cross. 2021-09-25 19:59:59 -07:00
Бранимир Караџић
4a4d240746 Updated spirv-tools. 2021-09-25 19:59:49 -07:00
Бранимир Караџић
e6636b8b5f Updated glslang. 2021-09-25 19:59:37 -07:00
Бранимир Караџић
4ac88cde27 Updated spirv-headers. 2021-09-25 19:59:21 -07:00
Бранимир Караџић
133b7ce91f Updated ImGui. 2021-09-25 19:41:03 -07:00
Бранимир Караџић
23994e7f23 Bounds: Overlap aabb/obb, and obb/obb. 2021-09-25 19:20:06 -07:00
Christophe Dehais
ad8e7eb974
Simplify vulkan texture resolve (#2611) 2021-09-22 09:20:48 -07:00
Gary Hsu
79d1b4db56
Fix bug when sampler min/mag is anisotropic but mip is point (#2609) 2021-09-21 18:13:49 -07:00
Бранимир Караџић
227ea05dee Fixed transient vertex buffer when vertex layout allocation fails. 2021-09-16 18:32:58 -07:00
Andrew Willmott
1a001a67db
Fix RG16F typo (#2603) 2021-09-16 07:23:27 -07:00
Бранимир Караџић
7559cb20bf Updated cgltf. 2021-09-13 19:32:22 -07:00
Бранимир Караџић
3aa6853e40 Updated ImGui. 2021-09-13 19:29:32 -07:00
Бранимир Караџић
403b69db78 Cleanup. 2021-09-10 23:26:09 -07:00
Бранимир Караџић
9ecd462538 Cleanup. 2021-09-09 09:50:17 -07:00
James Fulop
bbc2b76948
Dxgi tearing support (#2601)
* present tearing support

* use existing syncInterval variable
2021-09-09 07:20:01 -07:00
Бранимир Караџић
f1ddf67114 Added initializer types. 2021-09-06 09:03:26 -07:00