Commit Graph

2652 Commits

Author SHA1 Message Date
Leandro Freire
214a125432 Use underscore on arguments 2019-08-17 12:32:16 -07:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Бранимир Караџић
2554425bae Cleanup. 2019-08-17 09:51:50 -07:00
Rinthel
4342db8f3b VK: descriptor set optimization / refactoring
- add support to indirect compute call
- use dynamic uniform buffer instead of uniform
- create depth view for depth/stencil texture
- fix dynamic uniform buffer bug, apply it to compute shader
- refactor descriptor set allocation / setting
- fix image layout reinit
- get and set device feature / fix independent blending
- cleanup
2019-08-17 09:49:01 -07:00
attilaz
75d5662f0b Metal: added support for binding buffers to vertex/fragment shader stages
I have removed the SamplerInfo workaround, because new shaderc preserves texture stages. Some shaders needed recompile with latest shaderc to get the new behavior.
2019-08-16 06:58:44 -07:00
Бранимир Караџић
d7f2ec9386 Fixed frame buffer image. 2019-08-15 21:54:17 -07:00
Бранимир Караџић
e501923756 Fixed back buffer depth format. 2019-08-15 19:18:18 -07:00
Бранимир Караџић
cebb749752 VK: Cleanup. 2019-08-14 08:05:00 -07:00
Бранимир Караџић
981ea06a97 Cleanup. 2019-08-13 19:22:46 -07:00
Rinthel
2fa32d855d implement compute shader support 2019-08-13 18:44:42 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Rinthel Kwon
6bd22840e7 VK: fix vertex binding bug 2019-08-12 08:31:23 -07:00
Бранимир Караџић
a6316cbf75 VK: Added EXT_memory_budget support. 2019-08-11 18:23:42 -07:00
Attila Kocsis
6b96532a41 Vulkan: scissor extent fixed.
I have tested with imgui combobox.
2019-08-11 14:19:08 -07:00
Бранимир Караџић
518a5f189f Fixed variable shadowing warning. 2019-08-11 09:08:16 -07:00
rinthel
2b5246f72c implement multiple vertex stream
- additional condition for devices that don't have debug_utils extension
- set FIFO present mode if possible
- fix attachment load and store operation and its image layout during render pass creation
- fix resolve attachment reference setup during render pass creation
- implement multiple vertex stream
2019-08-11 09:05:29 -07:00
Бранимир Караџић
e8d4cd032a VK: Added device info to debug screen. 2019-08-10 10:57:22 -07:00
Бранимир Караџић
289afdc762 Removed todos. 2019-08-10 08:00:06 -07:00
Бранимир Караџић
a0c06b1c7c Cleanup. 2019-08-08 07:58:14 -07:00
Rinthel
d3d5aa04b4 implement blit / debug draw / instancing 2019-08-08 07:55:43 -07:00
Бранимир Караџић
0a59946b2a Cleanup. 2019-08-07 07:50:17 -07:00
Бранимир Караџић
b53ae838d7 Cleanup. 2019-08-07 06:58:04 -07:00
Rinthel
72abfdc8a4 implement framebuffer / mipmap / cached sampler
- fix texture mipmap setting / texture update bug
- implement framebuffer
- fix image memory barrier bug
- vkstruct explicit initialization
- sampler caching
2019-08-07 06:49:52 -07:00
Бранимир Караџић
69a19c762c Cleanup. 2019-08-04 20:05:42 -07:00
Бранимир Караџић
4591f5029e Cleanup. 2019-08-04 19:54:27 -07:00
Бранимир Караџић
b59467c5fc Cleanup. 2019-08-04 19:53:28 -07:00
Rinthel
e604ca021d remove warning / add build option for osx 2019-08-04 19:51:16 -07:00
Rinthel Kwon
6927a9179b vulkan renderer draft implementation 2019-08-04 19:51:16 -07:00
Attila Kocsis
3a7b71ee12 fixing readTexture for discrete gpus 2019-08-01 21:34:47 -07:00
Бранимир Караџић
02fc8a578b Fixed build. 2019-07-28 08:25:08 -07:00
attilaz
22e1faca69 Fixed objc_msgSend in strict checking mode (#1834) 2019-07-26 17:20:56 -07:00
Бранимир Караџић
7845b74b44 Fixed #1831. 2019-07-26 08:20:40 -07:00
DanielGavin
e14c077b32 command sync (#1823)
Added command barrier bit when submitting with an indirect buffer - this fixes the flickering on tess-41
2019-07-21 17:33:50 -07:00
Бранимир Караџић
5209758d61 Cleanup. 2019-07-19 21:36:49 -07:00
Бранимир Караџић
eddc6d38b3 Merge branch 'master' of github.com:bkaradzic/bgfx 2019-07-19 18:43:14 -07:00
Бранимир Караџић
3327e398d1 Fixed #1505. 2019-07-19 18:43:08 -07:00
DanielGavin
a133fb11c6 Update bgfx_shader.sh (#1819)
New matrix function operations.
2019-07-19 18:40:29 -07:00
Бранимир Караџић
2b1a09e40d Fixed issue #1505. 2019-07-18 19:25:37 -07:00
dom607
f1f2d9ff27 Return to the previous surface after swapchain create / destroy. (#1815) 2019-07-12 19:37:51 -07:00
Anastasia Tondera
d8de0f82b9 Fix compile time errors for objective-c using opengles
- Add missing __bridge keyword for void-pointer cast
- Remove context release which is no longer needed according to ARC standard
2019-07-03 14:39:47 +00:00
Vladimir Vukicevic
7e51b38c3f missing assignment to m_canvas on alloc 2019-07-02 01:24:15 +00:00
Vladimir Vukicevic
6b8d0c7ba2 explicitly look up webgl1 or webgl2 functions in html5 2019-07-02 01:24:15 +00:00
Vladimir Vukicevic
3d460e0445 Work around emscripten double-reporting GL error 2019-07-02 01:24:15 +00:00
Vladimir Vukicevic
142470237e html5 glcontext 2019-07-02 01:24:15 +00:00
Nikolaos Patsiouras
d9110344b0 * Fixed integer overflow when allocating space for very large textures. 2019-06-22 22:45:19 +03:00
Bastien Brunnenstein
e9ad3a6eba Use SRGB texture format on backbuffer when MSAA is enabled 2019-06-13 23:51:22 +02:00
Бранимир Караџић
bbde8417e1 Fixed build. 2019-06-03 21:43:21 -07:00
actboy168
ad559d6889 Fixes CommandBuffer overflow check 2019-06-04 10:58:13 +08:00
Бранимир Караџић
8b6f466493 OS: Fixed texture2DArrayLod. 2019-05-25 19:33:54 -07:00
Бранимир Караџић
54d844be45 Merge branch 'master' of github.com:bkaradzic/bgfx 2019-05-23 17:56:34 -07:00