Commit Graph

2836 Commits

Author SHA1 Message Date
Turanszki Janos 42829dccd9 moved more things to bindless 2021-09-08 12:41:27 +02:00
Turanszki Janos db1ed8db32 vulkan: texture initial data layers fix 2021-09-08 10:15:56 +02:00
Turanszki Janos 331f52e8c3 some memcpy removals, dx12 fix 2021-09-07 16:36:02 +02:00
Turanszki Janos 5ca25dde0d added updaterenderdataasync, fixes 2021-09-07 12:17:56 +02:00
WANG QY 168f8d3ac7 Disable enum bitmask operators by default (#300)
Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2021-09-07 08:56:40 +02:00
Turanszki Janos b6469cb9a9 optimized scene buffer updates 2021-09-06 19:23:47 +02:00
Turanszki Janos 39d2f13a39 dx12 primitivetopology fix 2021-09-06 18:11:55 +02:00
Turanszki Janos e6c5936fba raytracing fixes 2021-09-06 17:18:07 +02:00
Amer Koleci d0051dcb5f RHI improvements (#299)
* GPUBufferDesc.ByteWidth is uint64_t, we don't support D3D11 anymore.
AllocateGPU, UpdateBuffer uses uint64_t.
Rename SubresourceData members with better name.
PipelineStateDesc support custom patch control points, default to 3.

* CreateBuffer accepts const void* instead of const SubresourceData.
Cleanup and improve documentation about buffer creations.

* Rename StructureByteStride to Stride.

* GPUBufferDesc rename ByteWidth to Size.

* CreateBuffer: Under D3D12 - USAGE_READBACK use D3D12_RESOURCE_FLAG_DENY_SHADER_RESOURCE flag and honor BIND_SHADER_RESOURCE.
2021-09-06 16:32:25 +02:00
Turanszki Janos 0674f736ed dx12, vulkan: copy allocator doesn't need to map again 2021-09-06 11:05:52 +02:00
Turanszki Janos 88da51d3e8 fix: incorrect initialization of non-POD data 2021-09-06 10:12:12 +02:00
Turanszki Janos 220342b461 texture readback fix 2021-09-05 20:02:18 +02:00
Turánszki János f3687dbf4e DX11 removal, Surfel GI
version 0.57.0:
- DX11 removed, DX12 is default now on Windows
- graphics interfaces improved:
	- Bindless descriptor support is now assumed
	- GPU Buffers with USAGE_UPLOAD and USAGE_READBACK will be persistently mapped after creation
	- Removed Map/Unmap
	- added BindDynamicConstantBuffer helper function
	- improved AllocateGPU helper function
	- GPU Queries resolving can be done directly into GPUBuffer
	- UpdateBuffer now doesn't synchronize internally, this allows batching updates
	- removed support for bindless constant buffers (uniform buffers)
	- BindConstantBuffer will accept offset
	- RESOURCE_STATES refactor, they can be combined now in the barriers
	- many other refactors
- gbuffer normals removed, implemented visibility buffer
- bindless decals, bindless lightmaps, bindless hair particles, bindless software path tracing
- hair particles path tracing support
- path tracing eye adaption supported
- Surfel GI (experimental)
2021-09-05 18:59:03 +02:00
Turanszki Janos b549e6c597 editor: jump to camera will retain screen aspect 2021-08-24 20:20:33 +02:00
Turanszki Janos 93bdf5c21c updated credits 2021-08-24 20:01:31 +02:00
Turanszki Janos d694ee1f03 updated profiler timing display 2021-08-20 09:41:35 +02:00
Turanszki Janos f8c3a05478 updated proxy camera visualizer 2021-08-19 14:16:23 +02:00
Turanszki Janos 3a9351e9bd editor: camera improvements 2021-08-19 12:07:00 +02:00
Turanszki Janos 6ae2faf139 fix for surfaces that don't support shadow mask (ray traced or screen space shadows) such as envmaps, transparents;
change default ao power to 1;
2021-08-16 16:33:01 +02:00
Turanszki Janos e320d041b7 vulkan: must not reset logical bindings when descriptor pool resized; fixes #296 2021-08-11 11:53:36 +02:00
Turanszki Janos 814e6a07bd envprobe parallax correction fix 2021-08-11 10:17:32 +02:00
Molly a89cf6c8dd Added Unix Makefile generators to CMakeSettings.json (#295) 2021-08-09 09:10:09 +02:00
Turanszki Janos 493cb308e5 updated credits 2021-08-07 10:02:12 +02:00
Turanszki Janos 0234c972ab editor: fixed textureslot tooltip 2021-08-06 20:09:12 +02:00
Amer Koleci 6d6dbd75bd Samplers: Correctly implement BorderColor (#294)
Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2021-08-05 14:00:25 +02:00
Turanszki Janos 855f09ac63 dds texture fix #40 2021-08-04 22:18:27 +02:00
Turanszki Janos 91cf6a33c1 vulkan: fixed bindless sampler memory leak 2021-08-03 19:52:29 +02:00
Turanszki Janos f8c2653c26 dx11 and vulkan fix 2021-08-02 23:53:09 +02:00
Turanszki Janos f4b808cd0d Merge branch 'master' of https://github.com/turanszkij/WickedEngine 2021-07-23 00:36:49 +02:00
Turanszki Janos ab21ffc61d editor: obj importer will create root entity, translator update 2021-07-23 00:36:38 +02:00
Silas Oler 6dda0bb2aa Volumetric clouds reprojection update (#290) 2021-07-21 10:39:40 +02:00
Turanszki Janos 7948b9b944 raytraced shadow and ao improvements 2021-07-19 18:55:01 +02:00
Turanszki Janos 0fec698835 vulkan: shading rate fixes, zero-initialization of textures and buffers by default 2021-07-19 14:39:10 +02:00
Turanszki Janos f6419f9561 ocean fade out at distance and reduce tiling 2021-07-19 12:59:37 +02:00
Turánszki János 3d55225452 FidelityFX-FSR (#288)
* FidelityFX-FSR

* fsr update

* editor fsr sharpness slider
2021-07-18 17:18:01 +02:00
Turanszki Janos 19690fc160 updated credits 2021-07-17 20:20:34 +02:00
Amer Koleci 5712d91103 Improvements (#286)
* Vulkan: Correctly consider IndependentBlendEnable during blend state logic.

* D3D12: Correctly handle alpha blend factors.

* ENH: Add SHADERMODEL_6_6 and SHADERMODEL_6_7.

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2021-07-15 19:03:28 +02:00
Turanszki Janos 5b7249e999 recursive entity serialization; editor fixes for selection, copy, instance placement, gui focus 2021-07-15 13:46:23 +02:00
Turanszki Janos 6131aa2365 vulkan fix, scene index buffers marker for ray tracing 2021-07-15 12:35:26 +02:00
Amer Koleci 4709f29976 D3D12 improvements (#285)
* D3D12: Enable DXGI debug only in debug mode (DXGIGetDebugInterface1 is not supported in UWP) and improve ID3D12InfoQueue logic.

* D3D12: Improve SwapChain creation, handle supported formats and correctly create RTV with wanted format.

* D3D12: Use IDXGIFactory4 and check for variable refresh rate display support (tearing) and improve adapter detection.

* D3D12: Create debug DXGIFactory when debuglayer is requested.

* D3D12: SetEnableGPUBasedValidation only if ID3D12Debug1 is supported and gpuvalidation is set.

* D3D12: Remove adapter and improve candidate adapter detection.
2021-07-14 18:22:06 +02:00
Turanszki Janos 9cf805e318 vulkan fix 2021-07-14 18:17:04 +02:00
Turánszki János 0567ecfbbb ci build updates (#283) 2021-07-14 16:51:05 +02:00
Amer Koleci e4199f9c9a Vulkan improvements (#284)
* Vulkan: When resetting command pool its always better to create with VK_COMMAND_POOL_CREATE_TRANSIENT_BIT flag.

* Vulkan: Improve instance creation and validation layer selection as well as debug utils support.
2021-07-14 16:19:18 +02:00
Turanszki Janos 6fdf171ae6 vulkan swapchain fix 2021-07-14 12:41:38 +02:00
Amer Koleci 297c868987 Updates (#282)
* Update Vulkan headers to 1.2.184.

* Update volk and vma.

* Update D3D12MA.

* Update SPIRV-Reflect.

* Update STB libraries.

* Update DX Compiler to June 2021 release.
2021-07-14 12:37:49 +02:00
Turanszki Janos 8fb16ceb7c updated readme 2021-07-13 14:14:00 +02:00
Turanszki Janos 52a377cbd9 updated credits, licenses, readme 2021-07-13 14:11:19 +02:00
Turanszki Janos 9d4c08ba44 voxel gi secondary bounce fix 2021-07-12 17:32:26 +02:00
Turanszki Janos a8669498b5 Merge branch 'master' of https://github.com/turanszkij/WickedEngine 2021-07-12 16:30:42 +02:00
Turanszki Janos d7e3b37b2a voxel gi update 2021-07-12 16:30:07 +02:00