Commit Graph

46 Commits

Author SHA1 Message Date
Бранимир Караџић
932302d8f4 Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
Бранимир Караџић
83dfadf673 Happy New Year! 2024-01-14 01:56:36 -08:00
Branimir Karadžić
4946079f1d Cleanup. 2023-11-03 21:36:00 -07:00
Julian Sikorski
f4d463990a
Allow simultaneous X11 and Wayland support (#3152)
* Allow simultaneous X11 and Wayland support

* Add NativeWindowHandleType

* Set default value for g_platformData.type

* Use g_platformData.type to check for a native Wayland window

* Stub getNativeWindowHandleType on platform where Wayland is not an option

* Implement getNativeWindowHandleType for GLFW

* Add getNativeWindowHandleType to the remaining C++ examples

* Add getNativeWindowHandleType to the C example
2023-08-17 16:54:31 +02:00
Бранимир Караџић
e9d1e3d0fe Renamed bx::init::* tags. 2023-04-22 22:22:45 -07:00
Бранимир Караџић
466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
Бранимир Караџић
72cbe83275 Removed bgfx::setPlatformData usage from entry example harness. 2022-08-25 20:07:03 -07:00
Бранимир Караџић
ad5cc799a4 Added numeric min/max for type. 2022-08-22 20:33:50 -07:00
Бранимир Караџић
4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Бранимир Караџић
f1ddf67114 Added initializer types. 2021-09-06 09:03:26 -07:00
Бранимир Караџић
453adcf661 Replaced D24* with D32F depth format. 2021-02-25 19:44:13 -08:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08: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
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Leandro Freire
33ac8934ff Fixed tabs/spaces 2019-08-17 14:56:23 -07:00
Leandro Freire
d7c70c49e3 Add url to examples 2019-08-17 13:27:38 -07:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Pierre-Eric Pelloux-Prayer
ef3ad2bdd1 Fix gpudrivenrendering example on Linux
Skip the first frame because the content of m_drawcallInstanceCounts is uninitialized,
and the atomicAdd used in RENDER_PASS_OCCLUDE_PROPS_ID can produce random results.

Fixes #1794
2019-06-20 21:02:58 +02:00
attilaz
827001e74a 37-gpudrivenrendering fix for OpenGL
NOTE: still has problem with flat varying
Needs shader recompile
2019-02-13 19:09:31 +01:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Branimir Karadžić
e1d7b56a85 Removing old vector math. 2018-12-07 19:42:34 -08:00
Branimir Karadžić
bcfc99d094 Cleanup. 2018-11-25 20:11:03 -08:00
Branimir Karadžić
66a7d6ab05 Removing old vector math. 2018-11-16 21:54:20 -08:00
Branimir Karadžić
06bd5d16cd Cleanup. 2018-09-19 21:54:16 -07:00
Branimir Karadžić
f40bf8e862 Added ability to sample stencil part of depth/stencil texture. 2018-08-23 17:59:47 -07:00
Branimir Karadžić
4433b5bcdc Separating sampler flags from texture creation flags. 2018-08-20 17:12:26 -07:00
Branimir Karadžić
db0ec1f5db Removed HMD API and OculusVR support. 2018-07-19 20:22:21 -07:00
Branimir Karadžić
d7c5156084 Cleanup. 2018-06-16 08:34:06 -07:00
Branimir Karadžić
5bb6a14876 Changed bgfx::init to take init parameters as structure instead of arguments. 2018-04-17 15:42:18 -07:00
Branimir Karadžić
6e7e761a3b Cleanup. 2018-03-10 15:01:22 -08:00
Branimir Karadžić
969cc7c8b8 Cleanup. 2018-03-10 14:27:32 -08:00
Branimir Karadžić
628e2fcab7 Removed dummy z-only pass fragment shader (null fragment shader is supported now). 2018-03-06 19:53:37 -08:00
Branimir Karadžić
d1a34aabe4 Cleanup. 2018-03-06 19:48:33 -08:00
Branimir Karadžić
5c07a62164 Fixed issue #1346. 2018-03-06 19:48:13 -08:00
Branimir Karadžić
fa7a871ca7 Cleanup. 2018-03-04 22:11:38 -08:00
Branimir Karadžić
aeeae5454f Fixed OSX build. 2018-03-04 21:44:08 -08:00
Branimir Karadžić
5d2f256dc4 Cleanup. 2018-03-04 21:33:21 -08:00
Branimir Karadžić
14e14c12a5 Removed unused function. 2018-03-04 17:29:35 -08:00
Branimir Karadžić
c69135aff1 Cleanup. 2018-03-04 16:51:43 -08:00
Branimir Karadžić
fb2b2069a6 37-gpudrivenrendering: Added screenshot. 2018-03-04 16:44:41 -08:00
Branimir Karadžić
bcc5cf8539 Fixed MSVC warnings. 2018-03-04 16:23:51 -08:00
Branimir Karadžić
00a53d6d1b Fixed GCC build. 2018-03-04 16:21:23 -08:00
Branimir Karadžić
90aadf835b 37-gpudrivenrendering: Fixed GL shaders. 2018-03-04 16:11:05 -08:00
KostasAAA
e474666a55 Initial commit of gpu occlusion culling with multidraw indirect example (#1344) 2018-03-04 15:02:42 -08:00