Commit Graph

2004 Commits

Author SHA1 Message Date
Бранимир Караџић b2259d7c11 Updated screenshots. 2020-09-19 20:05:25 -07:00
Branimir Karadžić 73508ac80f Fixed warnings. 2020-09-07 10:06:47 -07:00
Бранимир Караџић 66deeb10c2 21-deferred: Fixed depth format selection. 2020-09-05 12:15:07 -07:00
Wencey Wang 0093a67681
Fix Windows ARM build (#2254) 2020-09-02 08:31:39 -07:00
Бранимир Караџић 4d4ef74fe6 Fixed GCC warning.: 2020-09-01 20:21:58 -07:00
kingscallop ba3be9affd
Fixes example 42 (#2235)
Because example 42 was using the shaders from example 07 (callback), which have
input vertex attributes position and color, while the mesh from example 42 has
attributes position and normal, this causes problems on Windows when using
AMD gpus (no bunny mesh would appear on the window).
2020-08-16 11:44:00 -07:00
kingscallop e5d25a7d88
Fixes example 41 on OpenGL (#2234)
The glsl function findMSB is overriden, causing an error on Windows and Linux
when running on AMD or Intel gpus. Nvidia, for whatever reason, seems to allow
overriding the function.
2020-08-16 11:43:28 -07:00
kingscallop a39b14cacc
Fixes example 37 on Windows using AMD GCN 1.0 gpus (#2232)
When compiling shader cs_gdr_stream_compaction.sc on GCN 1.0 gpus
the following error appears:

Compute link error: HW_UNSUPPORTED.
ERROR: Internal compile error, error code: E_SC_NOTSUPPORTED
Shader not supported by HW

These changes avoid the error.
2020-08-16 11:41:53 -07:00
kingscallop 988077804f
Fix X11 flicker when window is being resized (#2203) 2020-07-18 11:41:01 -07:00
Бранимир Караџић 8acb8383b0 Fixed issue #2201. 2020-07-16 06:57:18 -07:00
云风 ecb0143a40
update sdf see #2193 (#2196) 2020-07-06 23:43:21 -07:00
Бранимир Караџић 301629ed16 Cleanup. 2020-07-05 21:30:52 -07:00
Бранимир Караџић 7efb218fd1 Fixed issue #2192. 2020-07-03 00:07:46 -07:00
Бранимир Караџић c08f2db901 02-metaballs: Added settings. 2020-07-02 20:55:07 -07:00
Бранимир Караџић 38ac02695d Fixed emscripten build. 2020-06-19 20:36:44 -07:00
Бранимир Караџић 77c974b69f Fixed use of BX_ASSERT in entry_html5. 2020-06-16 18:44:31 -07:00
Бранимир Караџић 2cbcb6ea90 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:18 -07:00
juj 75384ccfe1
Add checks for Emscripten API return values to make sure API calls are not failing (#2160) 2020-06-05 07:34:11 -07:00
Бранимир Караџић 0a80a7bfcc
Updated license text. (#2157) 2020-06-03 14:50:54 -07:00
Бранимир Караџић d042d3d70a 42-bunnylod: Switched to flat shaded to better show LOD. 2020-06-01 11:47:38 -07:00
Бранимир Караџић dba154036f Cleanup. 2020-05-31 15:41:18 -07:00
Бранимир Караџић a53871ccdc Added screenshot. 2020-05-31 11:50:52 -07:00
Бранимир Караџић 99637d536b Fixed warning. 2020-05-31 11:09:13 -07:00
云风 d1586fcb38
Improve example 42 (#2156)
* rename to weldVertices

* cache to temp/bunnylod.cache

* use bgfx::weldVertices instead
2020-05-30 22:38:42 -07:00
Бранимир Караџић adc701d611 Fixed warning. 2020-05-30 21:42:08 -07:00
Бранимир Караџић dfaf816822 Cleanup. 2020-05-30 13:05:43 -07:00
Бранимир Караџић a433c040d8 42-bunnylod: Better slider control towards 0. 2020-05-30 12:54:00 -07:00
Бранимир Караџић 4007876315 Fixed model. 2020-05-30 11:21:57 -07:00
Бранимир Караџић a5f79320a5 Cleanup. 2020-05-30 11:12:10 -07:00
云风 be95d12307
Add examples 42 : BunnyLOD (#2155) 2020-05-30 10:49:06 -07:00
juj 098e6194d9
Update examples to build on Emscripten Wasm. Add separate wasm and wasm2js targets. (#2145) 2020-05-16 19:45:55 -07:00
Hugo Amnov 79321ffce2
Replace freetype with stb_truetype in font examples (#2139)
* Replace freetype with stb_truetype in font example

* Remove freetype
2020-05-10 17:44:14 -07:00
Hugo Amnov b62302631e
Add Webgpu backend (#2132)
* WebGPU first draft (shaderc bin version 8)

* WebGPU scripts
2020-05-08 08:53:53 -07:00
Бранимир Караџић 76e355e11f Updated Metal shaders. 2020-05-03 14:20:48 -07:00
Бранимир Караџић cf170738b1 Updated Vulkan shaders. 2020-05-03 14:20:25 -07:00
Бранимир Караџић 90f30592bf Merge branch 'master' of github.com:bkaradzic/bgfx 2020-05-03 13:54:36 -07:00
Hugo Amnov b48b084d25
Vulkan cleanup for Webgpu (#2127)
* Harmonize and simplify Vulkan SPIRV bindings mappings

* Handle Vulkan V-flip properly

* Update Embedded shaders
2020-05-03 13:54:30 -07:00
Бранимир Караџић 06d508a8e4 Updated makefile. 2020-05-03 13:54:20 -07:00
Hugo Amnov f9b1a9f5d4
Vulkan cleanup and minor bug fixes (#2129) 2020-05-03 13:27:31 -07:00
Бранимир Караџић d7abbecb38 Fixed maybe uninitialized warning. 2020-04-12 13:22:53 -07:00
Бранимир Караџић b3d1460368 Cleanup. 2020-04-10 21:11:18 -07:00
Бранимир Караџић cb604eb1fe Cleanup. 2020-04-10 12:02:29 -07:00
Бранимир Караџић 93f1d78cec Cleanup. 2020-04-08 18:10:31 -07:00
Бранимир Караџић 428040da52 Added texture-uv-filtering-test and renamed other test textures. 2020-04-07 19:02:57 -07:00
Attila Kocsis 0e8e22b049 entry_osx: setMouseLock implementation 2020-03-29 16:16:16 +00:00
attilaz bf0a6f31af setMouseLock windows fix for _lock = false case 2020-03-28 22:01:59 +00:00
Бранимир Караџић a577989f07 Cleanup. 2020-03-24 08:18:27 -07:00
Cedric Guillemet dbb83d2525 PR feedback 2020-03-18 02:14:20 +00:00
Cedric Guillemet c49db61702 missing conversion in bgfx_utils 2020-03-18 02:14:20 +00:00
Cedric Guillemet 063bd173ea wrong arguments for submit in example 41 2020-03-18 02:14:20 +00:00