138 Commits

Author SHA1 Message Date
Wojtek Figat
04dde7a3f2 Add warnings on incorrect GPUBuffer or GPUTexture usage when binding to GPUContext (in non-release builds) 2025-01-30 22:03:21 +01:00
Wojtek Figat
44fae3838e Add GPUResourceUsage.Staging for both CPU read/write access 2025-01-30 20:39:04 +01:00
Wojtek Figat
e3c8d19a9e Fix missing D3D11 stencil ref value 2024-11-26 15:56:08 +01:00
Wojtek Figat
ee5021d94d Fix regression bugs from 471d5c2a9b 2024-11-20 18:28:47 +01:00
Wojtek Figat
03fe1f72a3 Fix minor errors 2024-11-20 16:30:23 +01:00
Wojtek Figat
471d5c2a9b Add stencil support in PSO on DX11 2024-11-20 09:46:10 +01:00
Wojtek Figat
f21b259376 Various fixes after merge with Windows ARM pr 2024-07-25 08:34:51 +02:00
Wojtek Figat
dd61d5793c Merge branch 'woa_support' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-woa_support
# Conflicts:
#	Source/ThirdParty/assimp/config.h.in
#	Source/Tools/Flax.Build/Deps/Dependencies/Assimp.cs
2024-07-24 19:03:53 +02:00
Wojtek Figat
3296337f40 Add SetStablePowerState for D3D12 when doing shaders profiling 2024-07-19 14:26:19 +02:00
Wojtek Figat
230c57cca4 Add WinPixEventRuntime for D3D12 to provide GPU profiler event names 2024-07-03 18:30:11 +02:00
Wojtek Figat
fe0711c3e2 Fix D3D11 to properly flush CB/SRVs when bindings new shaders after CB/SRV was set 2024-07-02 00:55:41 +02:00
Wojtek Figat
9486466abf Fix D3D11 to properly issue instanced draws even if instance count is 1 2024-07-02 00:54:49 +02:00
Wojtek Figat
1328e869a9 Fix crash in D3D12 when constant buffer was binded but not updated before the draw 2024-07-02 00:54:17 +02:00
Wojtek Figat
a377933884 Fix d3d12 build regression 2024-06-19 14:10:23 +02:00
Wojtek Figat
1cbcddf410 Add IsDebugToolAttached to GPUDevice for detecting gpu debugger tools attached and auto-enable GPU profiler in that case 2024-06-03 09:24:27 +02:00
Wojtek Figat
bba14d265a Add D3D11 shaders naming for profiling 2024-06-02 22:05:45 +02:00
Wojtek Figat
59e0b43585 Fix missing DirectX resources naming in Development builds for profiling 2024-06-02 22:05:14 +02:00
a716025094 Patch pix3.h for Windows on ARM 2024-06-01 23:23:28 +03:00
2f48521ce7 Fallback to D3D11 devices without debug layers when unavailable 2024-06-01 23:23:25 +03:00
Wojtek Figat
5f4c57d3eb Fix texture copy into staging one on DX12 and Vulkan 2024-05-28 14:56:38 +02:00
Wojtek Figat
8a2acd360d Fix GPUTexture::GetData to properly handle volume textures 2024-05-28 14:56:04 +02:00
Wojtek Figat
9d2dc91920 Add PixelFormat::NV12 2024-05-15 11:14:16 +02:00
Wojtek Figat
3ebf73ec22 Add video texture format YUY2 2024-04-25 10:26:23 +02:00
Wojtek Figat
ebe05d4a51 Refactor RenderToolsDX to support new pixel formats properly 2024-04-24 17:35:58 +02:00
Wojtek Figat
7d92779e99 Merge remote-tracking branch 'origin/master' into 1.9 2024-04-05 21:50:42 +02:00
Wojtek Figat
84e04de23d Add more improvements to optional tess/geo shaders 2024-04-04 18:35:26 +02:00
Wojtek Figat
017def29d4 Rename ShadowSamplerPCF to ShadowSamplerLinear 2024-04-03 13:29:45 +02:00
Wojtek Figat
13a04c2941 Add stencilValue for stencil buffer clearing 2024-04-02 14:56:26 +02:00
Wojtek Figat
e1944bce96 Add statically disabled geometry shaders on mobile 2024-03-30 22:08:44 +01:00
Wojtek Figat
369c19bd5d Add statically disabled tessellation on macOS/iOS 2024-03-30 18:46:37 +01:00
Wojtek Figat
6ccec2f5ff Fix d3d12 warning on initial gpu buffer state 2024-03-20 16:48:15 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
eaafb72ca9 Optimize some includes and use automatic serializers for platform settings 2023-11-13 23:54:07 +01:00
Wojtek Figat
1d41aa01ce Refactor vertex shaders to use GPUShaderProgramVS::InputElement for input layout data 2023-10-26 14:36:02 +02:00
Wojtek Figat
cbdd6c4964 Add HasDepthClip to GPU Device limits 2023-10-11 10:15:44 +02:00
Wojtek Figat
9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
Wojtek Figat
3ede4c2192 Fix typo 2023-09-20 16:02:24 +02:00
Wojtek Figat
7e81fdbd75 Fix crash when D3D11 backend fails to create shader due to driver failure 2023-09-19 23:45:30 +02:00
Wojtek Figat
f952a392de Add **stencil buffer** support to GPUPipelineState 2023-06-19 13:46:37 +02:00
Wojtek Figat
a6353c0bb9 Rename GPUPipelineState::Description::PrimitiveTopologyType to PrimitiveTopology 2023-06-19 11:53:40 +02:00
Wojtek Figat
7fc3b264ac Improve DX12 PSO debug name building 2023-06-19 11:21:53 +02:00
Wojtek Figat
1c9d8aa470 Add GPUContext::SetStencilRef to stencil reference value 2023-06-19 11:21:35 +02:00
Wojtek Figat
007edb4651 Merge commit '2c809389ad7d8953b10e7ab3b1b29aca4d072116' into 1.6 2023-06-01 01:06:27 +02:00
3e848d93da Fix DXGIFactory use after release 2023-05-29 22:22:59 +03:00
Wojtek Figat
81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
4e683dcc15 Clean up DXGIFactory after use on D3D12 2023-05-26 20:17:30 +03:00
bdf6a11491 Prefer high-performance discrete GPUs when enumerating adapters 2023-05-26 20:05:32 +03:00
Wojtek Figat
d13c722ce3 Optimize text formatting in various places 2023-05-09 13:44:32 +02:00
Wojtek Figat
6aaa5832a8 Fix crash when updating GPU texture residency to 0 2023-04-26 15:00:07 +02:00
Wojtek Figat
cf6b9b7ab5 Fix crash when updating GPU texture residency to 0 2023-04-26 14:59:36 +02:00