Бранимир Караџић
ac89c244fb
Updated README.
2021-04-03 18:32:50 -07:00
Бранимир Караџић
517942f8e1
Cleanup.
2021-04-02 20:17:42 -07:00
Бранимир Караџић
45c0b29470
Cleanup.
2021-04-02 16:46:42 -07:00
Paul Gruenbacher
3b34b6e68a
Update bgfx_p.h ( #2444 )
...
If you do
```
bgfx::setIndexBuffer()
bgfx::submit(BGFX_DISCARD_NONE)
bgfx::submit()
```
then the second submit will be broken because even though it still uses the correct index buffer it will lose the BGFX_SUBMIT_INTERNAL_INDEX32 state.
Basically all multi-pass calls involving a 32index buffer are broken currently in bgfx master.
This fixes bug introduced by 5c304dad3b
2021-04-02 16:43:52 -07:00
Бранимир Караџић
1fb245c581
Cleanup.
2021-04-02 12:51:59 -07:00
Бранимир Караџић
0df2e90edb
Cleanup.
2021-04-01 20:09:16 -07:00
Branimir Karadžić
117b5ec4ee
05-instancing: Fixed update logic.
2021-04-01 19:16:13 -07:00
Vladimir Vukicevic
cb77d3bb46
Fix crash when hitting max draw call limit ( #2440 )
...
* Expand instancing demo to have non-instanced path
* Fix count vs. index off by one error when hitting max draw calls
2021-04-01 19:03:01 -07:00
pezcode
e38920c07b
View rect/scissor and framebuffer validation ( #2439 )
...
* Crop view rect and scissor to frame-/backbuffer size
* Validate framebuffer attachments
Check texture size, mip, layer range, layer count mismatch
* Remove framebuffer check from Vulkan backend
* Fix layer check for 3D attachment
* Cleanup
2021-04-01 16:18:09 -07:00
Christophe Dehais
2433b598e7
Fix BGFX_STATE_FRONT_CCW flag being ignored in DX12 and VK ( #2438 )
2021-04-01 08:47:45 -07:00
simon chen
0b8677ed06
fix update bug when compressed texture create with BGFX_TEXTURE_SRGB ( #2437 )
...
Co-authored-by: chenmou.cm <chenmou.cm@alibaba-inc.com>
2021-03-30 19:50:19 -07:00
Бранимир Караџић
3c7e21f1a6
Updated spirv-cross.
2021-03-27 15:38:57 -07:00
Бранимир Караџић
38fcc957b4
Updated spirv-tools.
2021-03-27 15:38:45 -07:00
Бранимир Караџић
d059039774
Updated glslang.
2021-03-27 15:38:33 -07:00
Бранимир Караџић
23b92ce879
Updated ImGui.
2021-03-27 15:11:04 -07:00
Бранимир Караџић
7fce7273af
Updated .appveyor.
2021-03-23 13:25:46 -07:00
Бранимир Караџић
c86e458a9c
Updated .appveyor.
2021-03-23 12:51:45 -07:00
Бранимир Караџић
4c495f7ab3
Updated cgltf.
2021-03-23 07:42:57 -07:00
Бранимир Караџић
99383a0eb5
Updated spirv-tools.
2021-03-21 22:36:21 -07:00
Бранимир Караџић
da1cd83850
Updated glslang.
2021-03-21 22:36:10 -07:00
Бранимир Караџић
43f70fa964
Updated ImGui.
2021-03-21 18:50:36 -07:00
pheonix
1781308312
Remove obsolete branch point. ( #2429 )
2021-03-21 18:49:34 -07:00
Бранимир Караџић
5d46232b3e
Updated ImGui.
2021-03-18 19:51:52 -07:00
Aleš Mlakar
f2a42ec216
Updated Beef bindings ( #2426 )
...
* Vulkan shader compiler uniform size fix (>255).
* Updated IDL Beef bindings
Co-authored-by: Aleš Mlakar <ales.ambits@gmail.com>
2021-03-17 17:49:01 -07:00
Бранимир Караџић
ed037a74f1
Updated cgltf.
2021-03-10 21:35:10 -08:00
Бранимир Караџић
396717efb8
Updated spirv-cross.
2021-03-10 21:33:33 -08:00
Бранимир Караџић
5f436c6cd6
Updated spirv-tools.
2021-03-10 21:33:17 -08:00
Бранимир Караџић
1bee3c81a2
Updated spirv-headers.
2021-03-10 21:33:03 -08:00
Бранимир Караџић
9bec915c2b
Updated glslang.
2021-03-10 21:32:49 -08:00
Бранимир Караџић
fcbc500cec
Updated vulkan headers.
2021-03-10 21:32:36 -08:00
Бранимир Караџић
57472fd18a
Updated ImGui.
2021-03-10 21:23:12 -08:00
C. M. Barth
f218d7ed13
Support dynamic SwapChainPanel changes for DirectX11 UWP scenarios ( #2422 )
...
* remove swap chain from consumer
* fix swap chain cleanup
* renderer workaround
* cleanup changes around platform data
* only update swapchainpanels
* revert spacing
* favor NULL over nullptr
2021-03-08 15:13:04 -08:00
Aleš Mlakar
dc3a92ef99
Vulkan shader compiler uniform size fix (>255). ( #2421 )
...
Co-authored-by: Aleš Mlakar <ales.ambits@gmail.com>
2021-03-08 07:48:17 -08:00
pezcode
02e4786e04
Vulkan: fix sync hazards ( #2419 )
...
- write-after-write when blitting to the same image
- missing barrier between compute dispatches if a view has no draws
2021-03-06 18:56:55 -08:00
Бранимир Караџић
a735fccd15
Cleanup.
2021-03-05 18:07:45 -08:00
Бранимир Караџић
b3dcc83d66
Fixed warning.
2021-03-04 19:09:10 -08:00
Бранимир Караџић
38a559ea89
Fixed build.
2021-03-04 10:01:42 -08:00
Бранимир Караџић
cf1d24cb38
Fixed OSX build.
2021-03-04 09:57:28 -08:00
Бранимир Караџић
104a20754c
VK: Enabled VK_EXT_line_rasterization.
2021-03-03 16:56:19 -08:00
pezcode
28be8bba61
Vulkan extension detection fix ( #2418 )
...
* Fix variable naming
* Check if VK_KHR_get_physical_device_properties2 is actually supported
* Fix extension detection logic
Device extension data wasn't cleared after enumerating each physical device, essentially checking if ANY device supports that extensions, not just the selected device
2021-03-03 16:55:01 -08:00
Бранимир Караџић
998947d58c
VK: Disabled VK_EXT_line_rasterization.
2021-03-03 12:10:50 -08:00
Бранимир Караџић
696ab702fe
Merge branch 'master' of github.com:bkaradzic/bgfx
2021-03-03 08:28:11 -08:00
Бранимир Караџић
3dd78ef893
Cleanup.
2021-03-03 08:27:57 -08:00
Бранимир Караџић
e30c32ed86
Fixed GCC errors & warnings.
2021-03-02 18:26:44 -08:00
pezcode
f9679fde50
Misc. Vulkan features and fixes ( #2417 )
...
* Vulkan: add conservative rasterization
* Vulkan: check device features for caps and state
* Vulkan: add line AA
* Don't assert in init()
* Vulkan: fix swapchain reset logic and handle lost surface
* Vulkan: report dedicated memory info in Stats
* Vulkan: fix sRGB backbuffer pipeline hash
* Vulkan: check BGFX_RESET_SUSPEND
2021-03-02 18:23:55 -08:00
Бранимир Караџић
58f0d55612
Cleanup.
2021-02-28 18:59:05 -08:00
pezcode
ece0c4e1a1
Vulkan: ignore BGFX_CLEAR_STENCIL if depth attachment has no stencil ( #2413 )
2021-02-28 15:16:19 -08:00
Branimir Karadžić
8e75b38207
Don't include compute on HLSL 3 and below.
2021-02-28 13:41:16 -08:00
pezcode
302c978b1d
Make shaderc output independent of backend enums ( #2411 )
...
* Fix typo in SPIR-V id
* Use backend-agnostic shaderc output
...as opposed to directly storing and comparing against Vulkan and WebGPU enums. This is backwards-compatible with existing code and shaders.
* Remove comments and Undefined value
2021-02-28 12:38:12 -08:00
Julian Sikorski
39cdaace39
Fix building with wayland ( #2412 )
2021-02-28 10:15:09 -08:00