Giter Site home page Giter Site logo

eqmg / acid Goto Github PK

View Code? Open in Web Editor NEW
1.7K 82.0 147.0 173.25 MB

A high speed C++17 Vulkan game engine

Home Page: https://equilibrium.games

License: MIT License

C++ 91.18% GLSL 3.31% Batchfile 0.01% CMake 5.24% CSS 0.24% JavaScript 0.03%
game-engine vulkan vulkan-game-engine renderer graphics-library 3d-engine cross-platform c-plus-plus cpp17 open-source

acid's People

Contributors

0xflotus avatar bernds avatar carlosfromnewyork avatar decaxon avatar dreadris avatar firstlovelife avatar mattparks avatar monkeywithacupcake avatar niansa avatar nnemec avatar shanehyde avatar sum01 avatar warrantyvoids avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acid's Issues

Segfaults in some tests

Mildy modified TestGUI's Main.cpp to point to the assets folder (instead of Resources/Engine) I copied into my test project.

Running it (with gdb) results in:

Reading symbols from acid_test...done.
(gdb) run
Starting program: acid_test 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffee487700 (LWP 4638)]
Selected Physical Device: 'AMD RADV RAVEN (LLVM 7.0.0)', 5597
[New Thread 0x7fffed88f700 (LWP 4639)]
[Detaching after fork from child process 4640]
[Thread 0x7fffed88f700 (LWP 4639) exited]
[New Thread 0x7fffed88f700 (LWP 4641)]
[New Thread 0x7fffed88f700 (LWP 4642)]
[Thread 0x7fffed88f700 (LWP 4641) exited]
[New Thread 0x7fffe7ddf700 (LWP 4643)]
[New Thread 0x7fffe73b7700 (LWP 4644)]

Thread 1 "acid_test" received signal SIGSEGV, Segmentation fault.
0x00007ffff7ef41c4 in acid::ShaderProgram::LoadUniform(glslang::TProgram const&, unsigned int const&, int const&) () from /usr/lib/libAcid.so
(gdb) n
Single stepping until exit from function _ZN4acid13ShaderProgram11LoadUniformERKN7glslang8TProgramERKjRKi,
which has no line number information.
[Thread 0x7fffe73b7700 (LWP 4644) exited]
[Thread 0x7fffe7ddf700 (LWP 4643) exited]
[Thread 0x7fffed88f700 (LWP 4642) exited]
[Thread 0x7ffff4f1f740 (LWP 4634) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit

I think it has something to do with resource loading, although I'm not sure what specifically just yet. I'm assuming anyways, as "Maths" and "Network" tests pass, while the rest segfault.

Test results (unmodified from source), for example:

    Start 1: GUI
1/6 Test #1: GUI ..............................***Exception: SegFault  0.65 sec
    Start 2: Maths
2/6 Test #2: Maths ............................   Passed    0.02 sec
    Start 3: Network
3/6 Test #3: Network ..........................   Passed    0.02 sec
    Start 4: PBR
4/6 Test #4: PBR ..............................***Exception: SegFault  0.67 sec
    Start 5: Physics
5/6 Test #5: Physics ..........................***Exception: SegFault  0.68 sec
    Start 6: Voxel
6/6 Test #6: Voxel ............................***Exception: SegFault  0.64 sec

Seems this is very similar to #12


Also, how would you feel about installing the Resources folder when Cmake installs everything? Since it's used a bit throughout the code, I feel it might make sense to distribute.

Clarity on OpenAL Use

Hello,

I am trying to compile together all the external libraries required, using Visual Studio 2019. So far, all libraries, except for OpenAL, are working perfectly fine when I attempt to compile a test executable (TestFont).

Sample of error coming from building TestFont:

Error	C2664	'ALCcontext *alcCreateContext(ALCdevice *,const ALCint *)': cannot convert argument 1 from 'ALCdevice *' to 'ALCdevice *'	C:\...\Visual Studio 2019\External Libraries\Acid\CMakeLists.txt	C:\...\Visual Studio 2019\Sources\Audio\Audio.cpp	line 15		

I suspect this is due to how I link OpenAL to acid in CMakeSettings.json . I am using:

OPENAL_INCLUDE_DIR	C:/.../Visual Studio 2019/External Libraries/openal-soft/include/AL
OPENAL_LIBRARY	C:/.../Visual Studio 2019/External Libraries/openal-soft/out/build/x64-Debug/OpenAL32.lib

Note: I am partially using vcpkg for some components, and not for others.

Any help would be appreciated. I will try to provide documentation details using visual studio for other people who would like to use this strategy.

Cannot create font Image2D since the image format is not supported

vkCreateImage(): Format VK_FORMAT_R8G8B8_UNORM is not supported for this combination of parameters.
vkCreateImage: pCreateInfo->format 23 is invalid

Not sure if you know the fonts dont work for my build so none of the Tests will start since the Overlays dont work.

Is it expected to work or should I look into making the fixes myself?

VK_ERROR_DEVICE_LOST

Using VS2017 in Win10 - whenever I try to run Flounder either standalone or in the debugger I get the above error msg. Any thoughts?

Compile instructions for windows

Could you describe (in a bit more detail) instructions on how to compile this project on windows, I tried with visual studio and mingw-w64, my personal preference is for the latter but any of these two will do, I got it to work on linux but I couldn't get it to work on windows.

Describe the solution you'd like
For msvc or mingw-w64, to have clear cut instructions on how to compile the project.

INTERNAL COMPILER ERROR - MSVC 2017

Describe the bug
The tests fail to build. For example:

C:\Users\user\GIT\Acid\Tests\TestPhysics\MainApp.cpp : fatal error C1001: An internal error has occurred in the compiler. [C:\Users\user\GIT\Acid\build\Tests\TestPhysics\TestPhysics.vcxproj]
  (compiler file 'd:\agent\_work\3\s\src\vctools\compiler\utc\src\p2\main.c', line 187)
   To work around this problem, try simplifying or changing the program near the locations listed above.
  Please choose the Technical Support command on the Visual C++ 
   Help menu, or open the Technical Support help file for more information
  
  Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe.  You will be prompted to send an error report to Microsoft later.
  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe'
      Please choose the Technical Support command on the Visual C++
      Help menu, or open the Technical Support help file for more information
cl : Command line error D8040: error creating or communicating with child process [C:\Users\user\GIT\Acid\build\Tests\TestPhysics\TestPhysics.vcxproj]

To Reproduce

  • git clone this repo
  • install dependencies with vcpkg
  • generate Visual Studio Community Release 2017, x64 solution with cmake-gui using the vcpkg toolchain
  • build the solution

Expected behaviour
All tests should build properly.

Hardware:

  • OS: Windows 10

Additional context

  • cmake v3.18.1
  • Visual Studio Comunity 2017 v15.9.25

Crash in TestGuis and TestPhysics on Windows

OS: Windows 7 x64

Crashing line: https://github.com/Equilibrium-Games/Acid/blob/d5e79d0c58d8a36e8a861d63a567fcaaabf48f05/Sources/Display/Display.cpp#L852

Console log:

-- Avalable Layers For: 'Instance' --
VK_LAYER_LUNARG_api_dump, VK_LAYER_LUNARG_assistant_layer, VK_LAYER_LUNARG_core_
validation, VK_LAYER_LUNARG_device_simulation, VK_LAYER_LUNARG_monitor, VK_LAYER
_LUNARG_object_tracker, VK_LAYER_LUNARG_parameter_validation, VK_LAYER_LUNARG_sc
reenshot, VK_LAYER_LUNARG_standard_validation, VK_LAYER_GOOGLE_threading, VK_LAY
ER_GOOGLE_unique_objects, VK_LAYER_LUNARG_vktrace, VK_LAYER_AMD_switchable_graph
ics, VK_LAYER_RENDERDOC_Capture, VK_LAYER_VALVE_steam_overlay,
-- Done --
-- Physical Device: '' --
ID: 7
Type: Integrated
Vendor: Intel
Supports Version: 1.0.31
Header Version: 82
-- Done --
Selected Physical Device: '', 7
 [ VUID-VkDeviceQueueCreateInfo-queueCount-00382 ] Object: 0x2e236b0 (Type = 2)
| vkCreateDevice: pCreateInfo->pQueueCreateInfos[0].queueCount (=2) is not less
than or equal to available queue count for this pCreateInfo->pQueueCreateInfos[0
].queueFamilyIndex} (=0) obtained previously from vkGetPhysicalDeviceQueueFamily
Propertiesor vkGetPhysicalDeviceQueueFamilyProperties2[KHR] (i.e. is not less th
an or equal to 1). The spec valid usage text states 'queueCount must be less tha
n or equal to the queueCount member of the VkQueueFamilyProperties structure, as
 returned by vkGetPhysicalDeviceQueueFamilyProperties in the pQueueFamilyPropert
ies[queueFamilyIndex]' (https://www.khronos.org/registry/vulkan/specs/1.0/html/v
kspec.html#VUID-VkDeviceQueueCreateInfo-queueCount-00382)

Failed to compile on macOS 10.15.3

Describe the bug

1. compiler complains about missing including <unordered_map>.

2. ld: can't map file, errno=22 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenAL.framework' for architecture x86_64

To Reproduce

  1. Follow the build instructions in this wiki page
  2. Open Acid.xcodeproj
  3. Build target TestTourial1

Expected behaviour
build should succeed

Screenshots
No

Hardware:

  • Device: MacBook Pro 16-inch
  • OS: macOS 10.15.3

Additional context
I noticed this commit fixes this issue but build still fails :(

cling based C++ as scripting language / hot code reload

cling based C++ as scripting language / hot code reload
Why? Able to run C++ script in runtime or compile it for max speed ( as in example https://github.com/derofim/cling-cmake )

HOT code reload
possible approaches:

store app state
fix cling undo for files
https://root-forum.cern.ch/t/loading-unloading-class-as-interpreted-macro-in-cling-multiple-times/32976/2

execute cling code to change callbacks & variables
nested cling::Interpreter with multiple cling::MetaProcessor
IDK how to do it, but you can create child cling::Interpreter

Global namespace using

The line

using namespace acid;

in the file BlitFilter.hpp : 5 seems unnecessary and wrecks projects since a lot of classnames coincide with other libraries.
Is there a reason for this?

Would you like to accept to replace git submodule with cmake's FetchContent?

https://cmake.org/cmake/help/v3.11/module/FetchContent.html

Acid uses many git submodules https://github.com/Equilibrium-Games/Acid/blob/master/.gitmodules

So cmake's FetchContent can be very useful, as explained in this post: https://www.reddit.com/r/cpp/comments/9284h5/dependency_management_with_cmake_and_git/e33xxh2/

Besides, with the help of FetchContent, we can avoid clone libraries that have been already installed on local, which is not doable via git submodule.

As a cmake project(and all the libraries used by acid are also cmake-based), imo it'll be good to make use of cmake's feature.

The only requirement is FetchContent requires cmake 3.11, but latest cmake(3.13 now) can be installed convinently via pip(pip install cmake).

If you would like to accept FetchContent and drop git submodule, I am very willing to make a pr.(if you are not sure about the effect of the feature and want to see before deciding, feel free to tell me, I'll also make a pr)

Ubuntu: Linker issue when linking against a system installed libSPIRV

When building on linux (Ubuntu 18.04), libAcid.so fails to link against any of the test programs.

The error message says:
../../../../lib/libAcid.so: undefined reference to glslang::TPoolAllocator::allocate(unsigned long)' ../../../../lib/libAcid.so: undefined reference to glslang::TPoolAllocator::push()'
../../../../lib/libAcid.so: undefined reference to glslang::TProgram::~TProgram()' ../../../../lib/libAcid.so: undefined reference to glslang::GetKhronosToolId()'
.... (ommitted for brevity) ....

Could not find registered component: "skyboxCycle"

When starting ./Editor,

[Host] Updating plugin
[Guest] Operation load: 1
[Game] Constructor
Working Directory: "/media/wjl/0B8803760B880376/github/2/Acid/build/bin"
Failed to mount path Resources/Engine, not found
Could not find registered component: "skyboxCycle"

The screen is black, and nothing exists. Is missing sth?

System: ubuntu18.04 driver: Nvidia 435 Vulkan 1.121

Resizing Window Crashes

SwapChain should be recreated while resizing windows.
Destroy the swapchain and create the swapchain again.
For example:

VkResult res = swapChain.queuePresent(queue, currentBuffer, semaphores.renderComplete);
    if (!((res == VK_SUCCESS) || (res == VK_SUBOPTIMAL_KHR))) {
        if (res == VK_ERROR_OUT_OF_DATE_KHR) {
            // Swap chain is no longer compatible with the surface and needs to be recreated
            windowResize();
            return;
        } else {
            VK_CHECK_RESULT(res);
        }
    }
    VK_CHECK_RESULT(vkQueueWaitIdle(queue));
void VulkanBase::windowResize()
{
    if (!prepared)
    {
        return;
    }
    prepared = false;

    // Ensure all operations on the device have been finished before destroying resources
    vkDeviceWaitIdle(device);

    // Recreate swap chain
    width = destWidth;
    height = destHeight;
    setupSwapChain();

    // Recreate the frame buffers
    vkDestroyImageView(device, depthStencil.view, nullptr);
    vkDestroyImage(device, depthStencil.image, nullptr);
    vkFreeMemory(device, depthStencil.mem, nullptr);
    setupDepthStencil();    
    for (uint32_t i = 0; i < frameBuffers.size(); i++) {
        vkDestroyFramebuffer(device, frameBuffers[i], nullptr);
    }
    setupFrameBuffer();

    if ((width > 0.0f) && (height > 0.0f)) {
        if (settings.overlay) {
            UIOverlay.resize(width, height);
        }
    }

    // Command buffers need to be recreated as they may store
    // references to the recreated frame buffer
    destroyCommandBuffers();
    createCommandBuffers();
    buildCommandBuffers();

    vkDeviceWaitIdle(device);

    if ((width > 0.0f) && (height > 0.0f)) {
        camera.updateAspectRatio((float)width / (float)height);
    }

    // Notify derived class
    windowResized();
    viewChanged();

    prepared = true;
}

Windows, Clang (MSVC 2017), Linker errors

Describe the bug
Some of the test targets fail to link with the error:
lld-link: error: undefined symbol: __declspec(dllimport) public: static class acid::Vector3<float>

Acid, TestFont and TestPBR build fine.

To Reproduce

  • git clone this repo
  • install dependencies with vcpkg
  • open folder in Visual Studio Code
  • add /EHsc to CMAKE_CXX_FLAGS (it complains about missing exceptions support without it)
  • configure with the Clang 10.0.0 for MSVC with Visual Studio Community Release 2017 (amd64) kit
  • build the Release configuration

Expected behaviour
All targets should build properly.

Hardware:

  • OS: Windows 10

Additional context

  • clang v10.0.0
  • cmake v3.18.1
  • Visual Studio Code v1.47.3 with CMake Tools v1.4.1
  • Visual Studio Comunity 2017 v15.9.25

EventChange implementation mistakes

EventChange isn't properly implemented. As a template class, it should have its methods defined in the same file that was declared, or including the .inl (cpp) at the end of the file (hpp).

Also the EventTriggered has a typo i guess.

T newValue = &m_reference; //&

I think that the real intention was to obtain the value of the reference

T newValue = *m_reference; //*

and also the if (newValue == nullptr) has no sense in this context.

Notice that this implementation will only notify one change if any per frame. I'd recommend also adding another method to achieve this kind of behavior but for every change like an Observer-Subject pattern or wrapping the change value inside a class as suggested in this SO https://stackoverflow.com/a/3159198/7908019.

Linking Acid to an external project

Once the project is built by MVSC I am having some kind of issue with building a basic empty project that only includes Acid.hpp.

Receiving 143 errors on Time.hpp. ACID_EXPORT seems to be the culprit on line 13. Perhaps incorrect linking to my project via properties? Not sure where to go from here.

ucrtbase dll crashing on certain tests

Running TestPhysics provides me with this error before code even begins executing:

Unhandled exception at 0x00007FFD4D8EE91E (ucrtbase.dll) in TestPhysics.exe: Fatal program exit requested

The console provides some more insight, with errors such as:

Type mismatch on descriptor slot 0.0 (expected VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) but descriptor of type VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
THREADING ERROR : object of type VkQueue is simultaneously used in thread 0x2214 and thread 0x3ed0

My step-by-step build so far can be found Here under the Compiling category.

Packaging on Linux is rough

I was attempting to package this before I tried it out, but a few things cropped up that were causing issues.

  1. No option/alternative way to use system libraries. Note that literally all used libraries (except Glslang) can be found using find_package(), although FindVulkan requires minimum Cmake v3.7
  2. These lines cause install to prefix all header install locations with junk. Example: /usr/include/Acid/home/sum01/dev/Acid/Sources/Acid.hpp when it should be /usr/include/Acid/Acid.hpp

Some Cmake notes:

  • I recommend include(GNUInstallDirs) for sensible, user-overridable installation default locations instead of all of this
  • All references to LIB_TYPE in the Cmake files can be removed, even from add_library(). This is because add_library() already changes to STATIC/SHARED based on what BUILD_SHARED_LIBS is set to.
  • BUILD_TESTING is a more common/standard name for a Cmake testing flag (it's defined in CTest)
  • I'm pretty sure all of this will only work for single-configuration systems, such as Make & Ninja. MSVC (and others?) use multi-configuration, which ignores CMAKE_BUILD_TYPE. Note you can check for #ifdef NDEBUG as Cmake defines it automatically
    on release builds, at least when I've tested it.
  • You can do project versioning in the project() call, which automatically sets all the various ACID_XXX_VERSION and ACID_VERSION vars. Example: project(Acid VERSION 0.10.0 LANGUAGES C CXX) (specifying the used languages is also nice).
  • Having ACID_INSTALL as an option is pointless. If someone doesn't want to install they can just not use the --target install flag when calling cmake.
  • The threads library from FindThreads is never actually linked against your lib. Either link against ${CMAKE_THREAD_LIBS_INIT} or require minimum Cmake v3.1 and link against the target Threads::Threads
  • Using file globbing makes Cmake re-run everything every time, as it can't track changes. While annoying, it is recommended to put each file name in the CMakeLists.txt. I recommend using target_sources with the proper private/public settings for headers & sources.

Hopefully I'm not coming off as annoying, just trying to be helpful.

AMD graphics card not supported?

I wanted to try out Acid in my project. But when i'm trying to run one of demo projects I got error:
Expression: false && "Vulkan runtime error, failed to find a suitable gpu!"

I debugged code and find out the VK_KHR_push_descriptor vulkan extension is not supported on AMD GPU. I found thread on AMD forum. There is suggestion to use VK_KHR_descriptor_update_template instead.

System specs:

  • System: Windows 10 Pro 1809 x64
  • CPU: AMD Ryzen 7 2700X
  • RAM: 32GB
  • GPU: AMD Radeon RX 570 Series

Allow shared libraries on MSVC

Currently when Acid is compiled with BUILD_SHARED_LIBS=ON on MSVC and linked into an application it will produce errors like these:

  [416/416] cmd.exe /C "cd . && "D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=Tests\TestGuis\CMakeFiles\TestGuis.dir --manifests  -- D:\PROGRA~1\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\bin\Hostx64\x64\link.exe /nologo Tests\TestGuis\CMakeFiles\TestGuis.dir\Main.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\MainRenderer.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\MainUpdater.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Scenes\FixedCamera.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Scenes\Scene1.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\ContentExit.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\UiNavigation.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\UiTab.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\OverlayDebug.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\UiInventory.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\TestGuis.rc.res  /out:"C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\bin\TestGuis.exe" /implib:"C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\TestGuis.lib" /pdb:"C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\bin\TestGuis.pdb" /version:0.0  /machine:x64 /INCREMENTAL:NO  /subsystem:console /ENTRY:mainCRTStartup  "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\Acid.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Libraries\vulkan\lib\vulkan-1.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Libraries\openal\lib\OpenAL32.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\SPIRV.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\glslang.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\OGLCompiler.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\OSDependent.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\glfw3dll.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletSoftBody.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletDynamics.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletCollision.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\LinearMath.lib" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
  FAILED: C:/Users/mattp/Documents/Acid Workspace/Acid/Build/Release/bin/TestGuis.exe 
  cmd.exe /C "cd . && "D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=Tests\TestGuis\CMakeFiles\TestGuis.dir --manifests  -- D:\PROGRA~1\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\bin\Hostx64\x64\link.exe /nologo Tests\TestGuis\CMakeFiles\TestGuis.dir\Main.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\MainRenderer.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\MainUpdater.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Scenes\FixedCamera.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Scenes\Scene1.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\ContentExit.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\UiNavigation.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\UiTab.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\OverlayDebug.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\UiInventory.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\TestGuis.rc.res  /out:"C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\bin\TestGuis.exe" /implib:"C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\TestGuis.lib" /pdb:"C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\bin\TestGuis.pdb" /version:0.0  /machine:x64 /INCREMENTAL:NO  /subsystem:console /ENTRY:mainCRTStartup  "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\Acid.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Libraries\vulkan\lib\vulkan-1.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Libraries\openal\lib\OpenAL32.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\SPIRV.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\glslang.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\OGLCompiler.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\OSDependent.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\glfw3dll.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletSoftBody.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletDynamics.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletCollision.lib" "C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\LinearMath.lib" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
  LINK: command "D:\PROGRA~1\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\bin\Hostx64\x64\link.exe /nologo Tests\TestGuis\CMakeFiles\TestGuis.dir\Main.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\MainRenderer.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\MainUpdater.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Scenes\FixedCamera.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Scenes\Scene1.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\ContentExit.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\UiNavigation.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\Navigation\UiTab.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\OverlayDebug.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\Uis\UiInventory.cpp.obj Tests\TestGuis\CMakeFiles\TestGuis.dir\TestGuis.rc.res /out:C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\bin\TestGuis.exe /implib:C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\TestGuis.lib /pdb:C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\bin\TestGuis.pdb /version:0.0 /machine:x64 /INCREMENTAL:NO /subsystem:console /ENTRY:mainCRTStartup C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\Acid.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Libraries\vulkan\lib\vulkan-1.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Libraries\openal\lib\OpenAL32.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\SPIRV.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\glslang.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\OGLCompiler.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\OSDependent.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\glfw3dll.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletSoftBody.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletDynamics.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\BulletCollision.lib C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\LinearMath.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\bin\TestGuis.exe.manifest" failed (exit code 1120) with the following output:
     Creating library C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\TestGuis.lib and object C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\lib\TestGuis.exp
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\OverlayDebug.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Scene1.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\ContentExit.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\UiNavigation.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\UiTab.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Main.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\MainRenderer.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\MainUpdater.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\FixedCamera.cpp.obj : error LNK2001: unresolved external symbol "private: static class acid::Engine * acid::Engine::INSTANCE" (?INSTANCE@Engine@acid@@0PEAV12@EA)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\UiNavigation.cpp.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > acid::Files::SEARCH_PATHS" (?SEARCH_PATHS@Files@acid@@0V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@A)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\UiTab.cpp.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > acid::Files::SEARCH_PATHS" (?SEARCH_PATHS@Files@acid@@0V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@A)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\OverlayDebug.cpp.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > acid::Files::SEARCH_PATHS" (?SEARCH_PATHS@Files@acid@@0V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@A)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Main.cpp.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > acid::Files::SEARCH_PATHS" (?SEARCH_PATHS@Files@acid@@0V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@A)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\MainRenderer.cpp.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > acid::Files::SEARCH_PATHS" (?SEARCH_PATHS@Files@acid@@0V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@A)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Scene1.cpp.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > acid::Files::SEARCH_PATHS" (?SEARCH_PATHS@Files@acid@@0V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@A)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\ContentExit.cpp.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > acid::Files::SEARCH_PATHS" (?SEARCH_PATHS@Files@acid@@0V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@A)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\OverlayDebug.cpp.obj : error LNK2001: unresolved external symbol "public: static class acid::Vector3 const acid::Vector3::ONE" (?ONE@Vector3@acid@@2V12@B)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Main.cpp.obj : error LNK2001: unresolved external symbol "public: static class acid::Vector3 const acid::Vector3::ONE" (?ONE@Vector3@acid@@2V12@B)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\MainRenderer.cpp.obj : error LNK2001: unresolved external symbol "public: static class acid::Vector3 const acid::Vector3::ONE" (?ONE@Vector3@acid@@2V12@B)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\FixedCamera.cpp.obj : error LNK2001: unresolved external symbol "public: static class acid::Vector3 const acid::Vector3::ONE" (?ONE@Vector3@acid@@2V12@B)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Scene1.cpp.obj : error LNK2001: unresolved external symbol "public: static class acid::Vector3 const acid::Vector3::ONE" (?ONE@Vector3@acid@@2V12@B)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\MainRenderer.cpp.obj : error LNK2019: unresolved external symbol "public: static class acid::Colour const acid::Colour::BLACK" (?BLACK@Colour@acid@@2V12@B) referenced in function "void __cdecl test::`dynamic initializer for 'RENDERPASS_0_CREATE''(void)" (??__ERENDERPASS_0_CREATE@test@@YAXXZ)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Scene1.cpp.obj : error LNK2019: unresolved external symbol "public: static class acid::Vector2 const acid::Vector2::ZERO" (?ZERO@Vector2@acid@@2V12@B) referenced in function "public: void __cdecl acid::VertexAnimated::`default constructor closure'(void)" (??_FVertexAnimated@acid@@QEAAXXZ)
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Scene1.cpp.obj : error LNK2019: unresolved external symbol "public: static class acid::Vector3 const acid::Vector3::ZERO" (?ZERO@Vector3@acid@@2V12@B) referenced in function "public: void __cdecl acid::VertexAnimated::`default constructor closure'(void)" (??_FVertexAnimated@acid@@QEAAXXZ)
C:\Users\mattp\Documents\Acid Workspace\Acid\Build\Release\bin\TestGuis.exe : fatal error LNK1120: 6 unresolved externals

error popup on all examples

~/.../build/bin >>> ./Editor                                                                                                                      ±[●][master]
-- Instance --
Layers: VK_LAYER_VALVE_steam_overlay_64, VK_LAYER_VALVE_steam_overlay_32, VK_LAYER_LUNARG_screenshot, VK_LAYER_LUNARG_monitor, VK_LAYER_LUNARG_vktrace, VK_LAYER_LUNARG_device_simulation, VK_LAYER_LUNARG_api_dump, VK_LAYER_LUNARG_core_validation, VK_LAYER_GOOGLE_threading, VK_LAYER_GOOGLE_unique_objects, VK_LAYER_LUNARG_object_tracker, VK_LAYER_LUNARG_parameter_validation, VK_LAYER_LUNARG_standard_validation, 
-- Done --
INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete
-- Physical Device: 358 'Intel(R) Ivybridge Mobile' --
Extensions: VK_KHR_bind_memory2, VK_KHR_create_renderpass2, VK_KHR_dedicated_allocation, VK_KHR_descriptor_update_template, VK_KHR_device_group, VK_KHR_driver_properties, VK_KHR_external_fence, VK_KHR_external_fence_fd, VK_KHR_external_memory, VK_KHR_external_memory_fd, VK_KHR_external_semaphore, VK_KHR_external_semaphore_fd, VK_KHR_get_memory_requirements2, VK_KHR_image_format_list, VK_KHR_incremental_present, VK_KHR_maintenance1, VK_KHR_maintenance2, VK_KHR_maintenance3, VK_KHR_push_descriptor, VK_KHR_relaxed_block_layout, VK_KHR_sampler_mirror_clamp_to_edge, VK_KHR_sampler_ycbcr_conversion, VK_KHR_shader_draw_parameters, VK_KHR_storage_buffer_storage_class, VK_KHR_swapchain, VK_KHR_variable_pointers, VK_KHR_multiview, VK_EXT_display_control, VK_EXT_external_memory_dma_buf, VK_EXT_shader_viewport_index_layer, VK_EXT_vertex_attribute_divisor, VK_EXT_calibrated_timestamps, VK_GOOGLE_decorate_string, VK_GOOGLE_hlsl_functionality1, 
Type: Integrated
Vendor: Intel
Supports Version: 1.1.90
Header Version: 100
-- Done --
Selected Physical Device: 'Intel(R) Ivybridge Mobile', 358
Max MSAA Samples: 8
terminator_CreateDevice: Failed in ICD /usr/lib/libvulkan_intel.so vkCreateDevicecall
vkCreateDevice:  Failed to create device chain.
Vulkan error: A requested feature is not supported, -8
terminate called after throwing an instance of 'std::runtime_error'
  what():  Vulkan error: A requested feature is not supported
zsh: abort (core dumped)  ./Editor

Sidenote:
Most example on https://github.com/SaschaWillems/Vulkan/tree/master/examples can run without errors

Can you paste a picture of the Editor example run on your computer?

Have Seg Fault in TestGuis and TestPhysics

Hello team,

First of all, I'm looking for c++ 3D Engine with Vulkan backend and I find your project really interesting.
I would like to compare performance and code abstraction between Banshee3D and your project to choose which engine I would use for my development.

So I already compile and try some samples with Banshee3D framework but I cannot launch your tests.

Platform: Linux Debian 9
Compilation command: mkdir build && cd build && cmake .. && make -j4
I also linked your resources in your Build/bin directory.
And when I run ./TestGuis or ./TestPhysics just get Seg Fault and nothing else.

I don't have any log so it's hard to find why.
So should I do other steps?

Regards.

Using unique_ptr with forwarded class btCollisionObject error

Compiling on VS 2017 v 15.9.1 gives the next error:

error C2027: use of undefined type 'btCollisionObject'

As pointed out in this SO post https://stackoverflow.com/a/6089065/7908019 it is necessary for a unique_ptr to know the complete type of T when its destroyed. So CollisionObject should add an empty destructor definition on its cpp file (where btCollisionObject is a complete type) to solve this.

CollisionObject.hpp

class btCollisionObject;

class ACID_EXPORT CollisionObject :
		public IComponent
	{
        protected:
        std::unique_ptr<btCollisionObject> m_body; //Incomplete type
	...
	public:
       ~CollisionObject(); // Added destructor
       ...
       };

CollisionObject.cpp

...

CollisionObject::~CollisionObject() 
{
}

...

After adding the previous code it compiles without errors.

Fail to build on osx

I'm trying to build Acid on my imac on osx mojave. But the build fail on Timer class :

In file included from /Users/gianni/devel/git/Acid/Sources/Engine/Engine.cpp:18:
/Users/gianni/devel/git/Acid/Sources/Timers/Timers.hpp:68:9: error: non-const lvalue reference to type 'unique_ptr<...>' cannot bind to a temporary of type 'unique_ptr<...>'
                auto &instance = std::make_unique<TimerInstance>(intervel, 1);
                      ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/gianni/devel/git/Acid/Sources/Timers/Timers.hpp:77:9: error: non-const lvalue reference to type 'unique_ptr<...>' cannot bind to a temporary of type 'unique_ptr<...>'
                auto &instance = std::make_unique<TimerInstance>(intervel, std::nullopt);
                      ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/gianni/devel/git/Acid/Sources/Timers/Timers.hpp:86:9: error: non-const lvalue reference to type 'unique_ptr<...>' cannot bind to a temporary of type 'unique_ptr<...>'
                auto &instance = std::make_unique<TimerInstance>(intervel, repeat);
                      ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 3 errors generated.

any idea?

[VCPP2017] Runtime crash due to dynamic_cast of m_dynamicsWorld

Hi!

I'm trying to run Microverse and getting runtime crush in attempt to execute
auto softDynamicsWorld = dynamic_cast<btSoftRigidDynamicsWorld *>(m_dynamicsWorld.get()); in ScenePhysics::ScenePhysics() :. Crash message is the following:
Exception thrown at 0x00007FF8448C6727 (vcruntime140d.dll) in Microverse.exe: 0xC0000005: Access violation reading location 0x0000000000000004.

If I replacedynamic_cast with static_cast here and in the body of void ScenePhysics::SetAirDensity(const float &airDensity) I'm able to run the game successfully.

Is this a known issue?

freetype submodule fails on windows

Using fresh git clone of acid and submodules and cmake 3.13.3 :

CMake Error at Libraries/freetype2/CMakeLists.txt:162 (message):
In-source builds are not permitted! Make a separate folder for building,
e.g.,

cmake -E make_directory build
cmake -E chdir build cmake ..

compilation error linux mint 19.2 g++ 7.4.0

/home/natty/code/Acid/Sources/StdAfx.hpp:11:10: fatal error: filesystem:
No such file or directory

#include < filesystem >

I can bypass it by with
#include <experimental/filesystem>

then other errors appear elsewhere.
Any advice?

attempting to reference a deleted function

Hi guys,

When on stage of building Acid.dll I see several errors like this (same stuff about deleted function) and build failed (VS 2017 15.7.6):

C:\Dev\Vulkan\Acid\Sources\Meshes\RendererMeshes.cpp(11): error C2280: 'acid::UniformHandler::UniformHandler(const acid::UniformHandler &)': attempting to reference a deleted function
C:\Dev\Vulkan\Acid\Sources\Renderer/Handlers/UniformHandler.hpp(68): note: compiler has generated 'acid::UniformHandler::UniformHandler' here
C:\Dev\Vulkan\Acid\Sources\Renderer/Handlers/UniformHandler.hpp(68): note: 'acid::UniformHandler::UniformHandler(const acid::UniformHandler &)': function was implicitly deleted because a data member invokes a deleted or inaccessible function 'std::unique_ptr<acid::UniformBuffer,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)'
with
[
_Ty=acid::UniformBuffer
]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\include\memory(2308): note: 'std::unique_ptr<acid::UniformBuffer,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)': function was explicitly deleted
with
[
_Ty=acid::UniformBuffer
]
[10/86] C:\PROGRA2\MICROS1\2017\COMMUN~1\VC\Tools\MSVC\14.14.26428\bin\HostX86\x86\cl.exe /nologo /TP -DACID_BUILD_DEBUG -DACID_BUILD_MSVC -DACID_BUILD_WINDOWS -DACID_EXPORTS -DACID_VERBOSE -DGLFW_DLL -DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -IC:\Dev\Vulkan\Acid\Libraries\vulkan\include -IC:\Dev\Vulkan\Acid\Libraries\openal\include -IC:\Dev\Vulkan\Acid\Libraries\glslang -IC:\Dev\Vulkan\Acid\Libraries\glfw\include -IC:\Dev\Vulkan\Acid\Libraries\bullet3\src -IC:\Dev\Vulkan\Acid\Sources -IC:\Dev\Vulkan\Acid\Libraries\glslang\glslang.. -IC:\Dev\Vulkan\Acid\Libraries\glslang\SPIRV.. /DWIN32 /D_WINDOWS /W3 /GR /EHsc /DWIN32 /D_WINDOWS /std:c++17 /INCREMENTAL:NO /Oi /Ot /GT /GF /GS- /fp:fast /fp:except- /MP /W3 /wd4251 /arch:SSE2 /MDd /Zi /Ob0 /Od /RTC1 /Od /Ob0 /RTC1 /MDd /DEBUG /Zi /Od /Ob0 /RTC1 /MDd /DEBUG /Zi -std:c++17 /showIncludes /FoSources\CMakeFiles\Acid.dir\Physics\ColliderCapsule.cpp.obj /FdSources\CMakeFiles\Acid.dir\ /FS -c C:\Dev\Vulkan\Acid\Sources\Physics\ColliderCapsule.cpp

Add Examples?

It would be nice to see an examples folder with source code. Perhaps projects for the PBR spheres and teapots, vertex buffers, offscreen rendering, post effects, etc. : )

.clang_format inconsistencies

Clang Format currently has three formatting issues:

  1. Inheritance will wrap into the class line.
  2. AllowShortFunctionsOnASingleLine will shorten constructors and some methods but not others.
  3. Some parameters get split to create 2 new lines instead of 1.
// Correct
class Texture : 
	public NonCopyable, 
	public Descriptor, 
	public Resource{}
Json::Json(Metadata *metadata) : 
	Metadata("", "")
{
	AddChildren(metadata, this);
}
static std::unique_ptr<uint8_t[]> LoadPixels(const std::string &filename, 
	uint32_t &width, uint32_t &height, uint32_t &components, VkFormat &format);

// Current
class Texture : public NonCopyable, public Descriptor, public Resource{}
Json::Json(Metadata *metadata) : Metadata("", "") { AddChildren(metadata, this); }
static std::unique_ptr<uint8_t[]> LoadPixels(
	const std::string &filename, uint32_t &width, uint32_t &height, uint32_t &components, VkFormat &format);

Some indentation also gets ugly:

		m_pipelineMaterial = PipelineMaterial::Create(
			{1, 0}, PipelineGraphicsCreate({"Shaders/Skyboxes/Skybox.vert", "Shaders/Skyboxes/Skybox.frag"},
						{VertexModel::GetVertexInput()}, {}, PipelineGraphics::Mode::Mrt, PipelineGraphics::Depth::None,
						VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, VK_POLYGON_MODE_FILL, VK_CULL_MODE_FRONT_BIT));

some errors when using clang complie

/usr/bin/../lib64/gcc/x86_64-suse-linux/8/../../../../include/c++/8/optional:567:9: error: call to implicitly-deleted copy constructor of
'std::_Optional_payload<acid::Transform, true, false, false>'
: _Optional_payload(__engaged ?
^ ~~~~~~~~~~~
/usr/bin/../lib64/gcc/x86_64-suse-linux/8/../../../../include/c++/8/optional:733:4: note: in instantiation of member function
'std::_Optional_payload<acid::Transform, true, false, false>::_Optional_payload' requested here
: _M_payload(__other._M_payload._M_engaged,
^
/usr/bin/../lib64/gcc/x86_64-suse-linux/8/../../../../include/c++/8/optional:985:11: note: in instantiation of member function
'std::_Optional_base<acid::Transform, false, false>::_Optional_base' requested here
class optional
^
/home/fl0at/Git/Acid/Sources/Uis/UiObject.hpp:122:63: note: in implicit copy constructor for 'std::optionalacid::Transform' first required here
std::optional GetWorldTransform() const { return m_worldTransform; }
^
/usr/bin/../lib64/gcc/x86_64-suse-linux/8/../../../../include/c++/8/optional:581:7: note: explicitly defaulted function was implicitly deleted here
_Optional_payload(const _Optional_payload&) = default;
^
/usr/bin/../lib64/gcc/x86_64-suse-linux/8/../../../../include/c++/8/optional:622:24: note: copy constructor of '_Optional_payload<acid::Transform, true,
false, false>' is implicitly deleted because variant field '_M_payload' has a non-trivial copy constructor
_Stored_type _M_payload;

confusion with working directory when debugging in Visual Studio

When I try to execute the ExampleStarting project in the Flounder.sln solution from the Build folder the working directory is Flounder/Build/Sources/ExampleStarting I don't see a way to tell it that the resources are up a few directory levels. How do you typically handle this when running in the debugger?

ubuntu 19.10: build successful, but no runnable application

Describe the bug
The build of Acid has been successful (inside Acid/build folder).
Unfortunately I can't get any application to run.

To Reproduce
Just try to run any application/test inside Acid/build/bin folder.

Expected behaviour
Applications and tests work.

Screenshots

Hardware:

  • Device: Nvidia GeForce GTX 970
  • OS: Ubuntu 19.10

Additional context
All applications print these information:

Version: 0.13.3
Git: ee705bb9 on master
Compiled on: Linux-4.19.0-5-amd64Audio Device: OpenAL Soft
Selected Audio Device: 'OpenAL Soft'
Instance Layers: VK_LAYER_KHRONOS_validation, VK_LAYER_LUNARG_core_validation, VK_LAYER_LUNARG_object_tracker, VK_LAYER_GOOGLE_unique_objects, VK_LAYER_LUNARG_parameter_validation, VK_LAYER_LUNARG_standard_validation, VK_LAYER_GOOGLE_threading, VK_LAYER_LUNARG_assistant_layer, VK_LAYER_LUNARG_demo_layer, VK_LAYER_LUNARG_starter_layer, VK_LAYER_LUNARG_vktrace, VK_LAYER_LUNARG_api_dump, VK_LAYER_LUNARG_monitor, VK_LAYER_LUNARG_screenshot, VK_LAYER_LUNARG_device_simulation, VK_LAYER_LUNARG_cmake, 

Discrete Physical Device: 5058 'Nvidia' 'GeForce GTX 970'
API Version: 1.1.95
Extensions: VK_KHR_8bit_storage, VK_KHR_16bit_storage, VK_KHR_bind_memory2, VK_KHR_create_renderpass2, VK_KHR_dedicated_allocation, VK_KHR_depth_stencil_resolve, VK_KHR_descriptor_update_template, VK_KHR_device_group, VK_KHR_draw_indirect_count, VK_KHR_driver_properties, VK_KHR_external_fence, VK_KHR_external_fence_fd, VK_KHR_external_memory, VK_KHR_external_memory_fd, VK_KHR_external_semaphore, VK_KHR_external_semaphore_fd, VK_KHR_get_memory_requirements2, VK_KHR_image_format_list, VK_KHR_maintenance1, VK_KHR_maintenance2, VK_KHR_maintenance3, VK_KHR_multiview, VK_KHR_push_descriptor, VK_KHR_relaxed_block_layout, VK_KHR_sampler_mirror_clamp_to_edge, VK_KHR_sampler_ycbcr_conversion, VK_KHR_shader_atomic_int64, VK_KHR_shader_draw_parameters, VK_KHR_shader_float16_int8, VK_KHR_shader_float_controls, VK_KHR_storage_buffer_storage_class, VK_KHR_swapchain, VK_KHR_swapchain_mutable_format, VK_KHR_variable_pointers, VK_KHR_vulkan_memory_model, VK_EXT_blend_operation_advanced, VK_EXT_conditional_rendering, VK_EXT_conservative_rasterization, VK_EXT_depth_range_unrestricted, VK_EXT_descriptor_indexing, VK_EXT_discard_rectangles, VK_EXT_display_control, VK_EXT_global_priority, VK_EXT_inline_uniform_block, VK_EXT_post_depth_coverage, VK_EXT_sample_locations, VK_EXT_sampler_filter_minmax, VK_EXT_scalar_block_layout, VK_EXT_shader_subgroup_ballot, VK_EXT_shader_subgroup_vote, VK_EXT_shader_viewport_index_layer, VK_EXT_transform_feedback, VK_EXT_vertex_attribute_divisor, VK_NV_dedicated_allocation, VK_NV_device_diagnostic_checkpoints, VK_NV_fill_rectangle, VK_NV_fragment_coverage_to_color, VK_NV_framebuffer_mixed_samples, VK_NV_geometry_shader_passthrough, VK_NV_sample_mask_override_coverage, VK_NV_shader_subgroup_partitioned, VK_NV_viewport_array2, VK_NV_viewport_swizzle, VK_NVX_device_generated_commands, VK_NVX_multiview_per_view_attributes,

Selected Physical Device: 5058 'GeForce GTX 970'

Running bin/Editor issues this additional error message:

File System error while adding a path or zip(Resources/Engine): not found
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create
Aborted

While running any of the tests bin/Test* issues this additional error message:

Selected Physical Device: 5058 'GeForce GTX 970'
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create
Aborted

Can you help?
Thanks

Intel UHD graphics bug

Describe the bug
Total image corruption, I can only get this to generate from a Intel UHD chip, and only in TestPhysics (does not show up in editor). The images speak more than anyway I could describe...

Screenshots
image
image
image

Hardware:

  • Device: i5-8265U
  • OS: Windows 10 Pro 1903

Log
https://drive.google.com/open?id=1VSV9-M9tpxslOEuq5tm6sYWO3sbj9qMu

Version: 0.13.4
Git: 20100bb9 on master
Compiled on: Windows-10.0.18362 from: Ninja with: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.22.27905/bin/HostX64/x64/cl.exe

Audio Device: Generic Software
Selected Audio Device: "Generic Software"
Instance Layers: VK_LAYER_RENDERDOC_Capture, VK_LAYER_LUNARG_api_dump, VK_LAYER_LUNARG_assistant_layer, VK_LAYER_LUNARG_core_validation, VK_LAYER_LUNARG_device_simulation, VK_LAYER_KHRONOS_validation, VK_LAYER_LUNARG_monitor, VK_LAYER_LUNARG_object_tracker, VK_LAYER_LUNARG_screenshot, VK_LAYER_LUNARG_standard_validation, VK_LAYER_LUNARG_parameter_validation, VK_LAYER_GOOGLE_threading, VK_LAYER_GOOGLE_unique_objects, VK_LAYER_LUNARG_vktrace,

Integrated Physical Device: 16032 "Intel" "Intel(R) UHD Graphics 620"
API Version: 1.1.95
Extensions: VK_KHR_swapchain, VK_KHR_external_memory, VK_KHR_external_memory_win32, VK_EXT_external_memory_host, VK_KHR_external_semaphore, VK_KHR_external_semaphore_win32, VK_KHR_external_fence, VK_KHR_external_fence_win32, VK_KHR_get_memory_requirements2, VK_KHR_bind_memory2, VK_KHR_dedicated_allocation, VK_KHR_sampler_mirror_clamp_to_edge, VK_KHR_maintenance1, VK_KHR_maintenance2, VK_KHR_maintenance3, VK_KHR_shader_draw_parameters, VK_KHR_push_descriptor, VK_KHR_descriptor_update_template, VK_KHR_multiview, VK_KHR_16bit_storage, VK_KHR_8bit_storage, VK_EXT_shader_subgroup_ballot, VK_EXT_shader_subgroup_vote, VK_KHR_storage_buffer_storage_class, VK_KHR_variable_pointers, VK_KHR_relaxed_block_layout, VK_EXT_sampler_filter_minmax, VK_KHR_device_group, VK_KHR_sampler_ycbcr_conversion, VK_EXT_post_depth_coverage, VK_EXT_shader_viewport_index_layer, VK_EXT_shader_stencil_export, VK_EXT_conservative_rasterization, VK_EXT_sample_locations, VK_KHR_draw_indirect_count, VK_KHR_image_format_list, VK_EXT_vertex_attribute_divisor, VK_EXT_descriptor_indexing, VK_EXT_inline_uniform_block, VK_KHR_create_renderpass2, VK_KHR_swapchain_mutable_format, VK_KHR_driver_properties, VK_KHR_vulkan_memory_model, VK_EXT_conditional_rendering,

Selected Physical Device: 16032 "Intel(R) UHD Graphics 620"
Failed to mount path Resources/Engine, not found
File "Configs/Audio.json" loaded in 0.2ms
File "Configs/Graphics.json" loaded in 0.152ms
Window is going windowed
File "Configs/Audio.json" saved in 1.609ms
File "Configs/Graphics.json" saved in 1.536ms
Current DateTime: 2019-09-30 11:00:33
Working Directory: "C:\\Users\\albrem\\Documents\\Personal\\Acid\\Build\\x64-RelWithDebInfo\\bin"
Bitmap "Icons/Icon-16.png" loaded in 1.369ms
Bitmap "Icons/Icon-24.png" loaded in 1.036ms
Bitmap "Icons/Icon-32.png" loaded in 1.32ms
Bitmap "Icons/Icon-48.png" loaded in 1.037ms
Bitmap "Icons/Icon-64.png" loaded in 1.269ms
Bitmap "Icons/Icon-96.png" loaded in 3.005ms
Bitmap "Icons/Icon-128.png" loaded in 2.112ms
Bitmap "Icons/Icon-192.png" loaded in 2.458ms
Bitmap "Icons/Icon-256.png" loaded in 2.55ms
Bitmap "Guis/Black.png" loaded in 5.286ms
Bitmap "Logos/Acid_01.png" loaded in 25.242ms
Bitmap "Fonts/ProximaNova/Regular.png" loaded in 14.865ms
File "Objects/Player/Player.json" loaded in 2.794ms
Model "Gizmos/Capsule.obj" loaded in 5.345ms
File "Objects/SkyboxClouds/SkyboxClouds.json" loaded in 2.262ms
Timer Hello World!
Bitmap "Objects/SkyboxClouds\\Right.png" loaded in 94.124ms
Bitmap "Objects/SkyboxClouds\\Left.png" loaded in 93.327ms
Bitmap "Objects/SkyboxClouds\\Top.png" loaded in 68.553ms
Bitmap "Objects/SkyboxClouds\\Bottom.png" loaded in 50.765ms
Bitmap "Objects/SkyboxClouds\\Back.png" loaded in 106.249ms
Bitmap "Objects/SkyboxClouds\\Front.png" loaded in 99.675ms
Bitmap "Objects/Animated/Diffuse.png" loaded in 81.415ms
File "Prefabs/Animated.json" loaded in 0.139ms
File "Prefabs/Animated.json" saved in 1.272ms
Bitmap "Undefined2.png" loaded in 119.768ms
Timer Repeat Tick #0
Model "Gizmos/Cube.obj" loaded in 4.378ms
Bitmap "Objects/Terrain/Rocks.png" loaded in 38.273ms
Bitmap "Objects/Terrain/Grass.png" loaded in 49.876ms
File "Prefabs/Terrain.json" loaded in 0.206ms
File "Prefabs/Terrain.json" saved in 1.362ms
Model "Objects/Suzanne/Suzanne.obj" loaded in 40.13ms
Model "Objects/Testing/Model_Tea.obj" loaded in 30.579ms
Bitmap "Objects/Testing/Normal.png" loaded in 467.34ms
0 fps, 1 ups
File "Prefabs/Teapot1.json" loaded in 0.205ms
File "Prefabs/Teapot1.json" saved in 1.374ms
Model "Gizmos/Cone.obj" loaded in 2.722ms
Model "Gizmos/Sphere.obj" loaded in 3.182ms
Model "Gizmos/Cylinder.obj" loaded in 2.844ms
File "Objects/Smoke/Smoke.json" loaded in 1.504ms
Bitmap "Objects/Smoke/Circular.png" loaded in 15.983ms
File "Prefabs/SmokeSystem.json" loaded in 0.154ms
File "Prefabs/SmokeSystem.json" saved in 1.617ms
File "Objects/Animated/Model.dae.json" loaded in 14.906ms
Render Stage created in 1.09ms
Timer Repeat Tick #1
Render Stage created in 449.954ms
Pipeline Graphics "Shaders/Deferred/Deferred.frag" loaded in 163.671ms
File "Deferred/Shader.json" saved in 1.929ms
Vertex attribute at location 2 not consumed by vertex shader
Pipeline Graphics "Shaders/Particles/Particle.frag" loaded in 38.669ms
Attachment 0 not written by fragment shader; undefined values will be written to attachment
Pipeline Graphics "Shaders/Post/Fxaa.frag" loaded in 49.46ms
Pipeline Graphics "Shaders/Post/Default.frag" loaded in 20.388ms
Vertex attribute at location 2 not consumed by vertex shader
Pipeline Graphics "Shaders/Guis/Gui.frag" loaded in 50.472ms
Vertex attribute at location 2 not consumed by vertex shader
Pipeline Graphics "Shaders/Fonts/Font.frag" loaded in 35.288ms
Vertex attribute at location 1 not consumed by vertex shader
Vertex attribute at location 2 not consumed by vertex shader
Pipeline Graphics "Shaders/Skyboxes/Skybox.frag" loaded in 45.813ms
Pipeline Compute "Shaders/Brdf.comp" created in 275.74ms
Pipeline Graphics "Shaders/Defaults/Default.frag" loaded in 45.269ms
Pipeline Graphics "Shaders/Defaults/Default.frag" loaded in 29.531ms
vkCreateGraphicsPipelines(): VkRenderPass 0x45b8d80000000176[] subpass 0 has colorAttachmentCount of 4 which doesn't match the pColorBlendState->attachmentCount of 1. The Vulkan spec states: If rasterization is not disabled and the subpass uses color attachments, the attachmentCount member of pColorBlendState must be equal to the colorAttachmentCount used to create subpass (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-attachmentCount-00746)
Pipeline Graphics "Shaders/Terrains/Terrain.frag" loaded in 47.219ms
Pipeline Graphics "Shaders/Defaults/Default.frag" loaded in 34.053ms
Pipeline Graphics "Shaders/Defaults/Default.frag" loaded in 37.359ms
Bitmap "Deferred/Brdf.png" written in 106.34ms
Pipeline Compute "Shaders/Prefiltered.comp" created in 273.669ms
Pipeline Compute "Shaders/Irradiance.comp" created in 284.836ms
1 fps, 1 ups
Timer Repeat Tick #2
Bitmap "Deferred/Irradiance.png" written in 36.084ms
Could not find descriptor in shader "Shaders/Terrains/Terrain.frag" of name "samplerG"
Could not find descriptor in shader "Shaders/Deferred/Deferred.frag" of name "samplerShadows"
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xe1759e000000017c[] in imageView VkImageView 0x786575000000017f[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xce3280000000186[] in imageView VkImageView 0x1e24070000000189[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xa3d2ff0000000181[] in imageView VkImageView 0x2e4ee60000000184[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xfe146d0000000177[] in imageView VkImageView 0x7d3264000000017a[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xfcb849000000018b[] in imageView VkImageView 0x873430000000018e[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x786575000000017f[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xe1759e000000017c[] in imageView VkImageView 0x786575000000017f[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x873430000000018e[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
Bitmap "Deferred/Prefiltered_0.png" written in 1489.77ms
Bitmap "Deferred/Prefiltered_1.png" written in 411.825ms
Bitmap "Deferred/Prefiltered_2.png" written in 115.924ms
74 fps, 44 ups
THREADING ERROR : object of type VkQueue is simultaneously used in thread 0xd434 and thread 0x12e40
Bitmap "Deferred/Prefiltered_3.png" written in 41.807ms
Bitmap "Deferred/Prefiltered_4.png" written in 15.943ms
Bitmap "Deferred/Prefiltered_5.png" written in 7.823ms
Bitmap "Deferred/Prefiltered_6.png" written in 4.255ms
THREADING ERROR : object of type VkQueue is simultaneously used in thread 0xd434 and thread 0x12e40
Bitmap "Deferred/Prefiltered_7.png" written in 5.932ms
Bitmap "Deferred/Prefiltered_8.png" written in 4.027ms
Bitmap "Deferred/Prefiltered_9.png" written in 2.425ms
80 fps, 44 ups
77 fps, 43 ups
89 fps, 47 ups
89 fps, 47 ups
89 fps, 47 ups
89 fps, 47 ups
89 fps, 47 ups
89 fps, 47 ups
87 fps, 49 ups
82 fps, 44 ups
84 fps, 46 ups
Model "Gizmos/Sphere.obj" loaded in 0.957ms
81 fps, 42 ups
78 fps, 42 ups
87 fps, 47 ups
87 fps, 40 ups
81 fps, 42 ups
81 fps, 42 ups
Window is going fullscreen
Recreating swapchain old (1080, 720) new (1920, 1080)
Render Stage created in 689.961ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x6a781f0000000e54[] in imageView VkImageView 0xbb2b680000000e57[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x12a8d50000000e5e[] in imageView VkImageView 0xcdf7360000000e61[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x635c1e0000000e59[] in imageView VkImageView 0xa79b770000000e5c[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x3acb00000000e4f[] in imageView VkImageView 0xb6e9790000000e52[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x3904940000000e63[] in imageView VkImageView 0x7d43ed0000000e66[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xbb2b680000000e57[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x6a781f0000000e54[] in imageView VkImageView 0xbb2b680000000e57[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x7d43ed0000000e66[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
31 fps, 22 ups
Window is going windowed
Recreating swapchain old (1920, 1080) new (1080, 720)
Render Stage created in 11.688ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x428ce90000000f49[] in imageView VkImageView 0xdf268c0000000f4c[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xeabd9f0000000f53[] in imageView VkImageView 0x8757420000000f56[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x4a33ea0000000f4e[] in imageView VkImageView 0x7fb0410000000f51[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xa203340000000f44[] in imageView VkImageView 0x9a5c330000000f47[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x2f87f80000000f58[] in imageView VkImageView 0x27e0f70000000f5b[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xdf268c0000000f4c[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x428ce90000000f49[] in imageView VkImageView 0xdf268c0000000f4c[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x27e0f70000000f5b[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
26 fps, 15 ups
5 fps, 3 ups
Window is going fullscreen
Recreating swapchain old (1080, 720) new (1920, 1080)
46 fps, 44 ups
Render Stage created in 1191.83ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xbef868000000109d[] in imageView VkImageView 0x98d87500000010a0[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x45557200000010a7[] in imageView VkImageView 0xf1bdbf00000010aa[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xf1c81700000010a2[] in imageView VkImageView 0x66c13000000010a5[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x6b6b0d0000001098[] in imageView VkImageView 0xe059ce000000109b[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xd05c5900000010ac[] in imageView VkImageView 0x454b1a00000010af[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x98d87500000010a0[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xbef868000000109d[] in imageView VkImageView 0x98d87500000010a0[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x454b1a00000010af[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
26 fps, 18 ups
30 fps, 26 ups
40 fps, 24 ups
36 fps, 24 ups
35 fps, 25 ups
Window is going windowed
Recreating swapchain old (1920, 1080) new (1080, 720)
Render Stage created in 168.897ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x341bc40000001340[] in imageView VkImageView 0xcb0b9b0000001343[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xdc4c7a000000134a[] in imageView VkImageView 0xf8eb49000000134d[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xf8f5a10000001345[] in imageView VkImageView 0xae6ccc0000001348[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x7e3253000000133b[] in imageView VkImageView 0xd25506000000133e[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x88341f000000134f[] in imageView VkImageView 0x569d820000001352[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xcb0b9b0000001343[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x341bc40000001340[] in imageView VkImageView 0xcb0b9b0000001343[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x569d820000001352[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
74 fps, 45 ups
Window is going fullscreen
Recreating swapchain old (1080, 720) new (1920, 1080)
Render Stage created in 184.616ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xa1bd1000000013f4[] in imageView VkImageView 0xbe518700000013f7[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x49edc600000013fe[] in imageView VkImageView 0x18d1e80000001401[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x66823d00000013f9[] in imageView VkImageView 0xa1b2b800000013fc[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x44007f00000013ef[] in imageView VkImageView 0x1269e200000013f2[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x1ba1a20000001403[] in imageView VkImageView 0x4dc33f0000001406[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xbe518700000013f7[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xa1bd1000000013f4[] in imageView VkImageView 0xbe518700000013f7[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x4dc33f0000001406[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
23 fps, 14 ups
31 fps, 21 ups
Window is going windowed
Recreating swapchain old (1920, 1080) new (1080, 720)
35 fps, 20 ups
Render Stage created in 109.301ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xa090ff000000154d[] in imageView VkImageView 0xfb737e0000001550[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x5adf710000001557[] in imageView VkImageView 0x5458c8000000155a[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x5fac600000001552[] in imageView VkImageView 0x1ae2070000001555[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x6c7160000001548[] in imageView VkImageView 0xb6a925000000154b[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xdcd77a000000155c[] in imageView VkImageView 0x4f8bd9000000155f[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xfb737e0000001550[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xa090ff000000154d[] in imageView VkImageView 0xfb737e0000001550[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x4f8bd9000000155f[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
74 fps, 41 ups
Window is going fullscreen
95 fps, 44 ups
Recreating swapchain old (1080, 720) new (1920, 1080)
Render Stage created in 634.886ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x1caaa100000016e2[] in imageView VkImageView 0x303a9200000016e5[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x4a8a4f00000016ec[] in imageView VkImageView 0x20e23800000016ef[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x20ec9000000016e7[] in imageView VkImageView 0x1ca04900000016ea[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x8871ca00000016dd[] in imageView VkImageView 0x746f9300000016e0[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xc912ee00000016f1[] in imageView VkImageView 0xc4db5700000016f4[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x303a9200000016e5[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x1caaa100000016e2[] in imageView VkImageView 0x303a9200000016e5[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xc4db5700000016f4[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
36 fps, 22 ups
33 fps, 22 ups
35 fps, 25 ups
Window is going windowed
Recreating swapchain old (1920, 1080) new (1080, 720)
Render Stage created in 75.528ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xfef5d2000000189f[] in imageView VkImageView 0x905eef00000018a2[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x3cd19400000018a9[] in imageView VkImageView 0x31c58100000018ac[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x7a46c900000018a4[] in imageView VkImageView 0xe3ec4a00000018a7[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xab6877000000189a[] in imageView VkImageView 0x206190000000189d[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xd32c1300000018ae[] in imageView VkImageView 0xff998c00000018b1[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x905eef00000018a2[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xfef5d2000000189f[] in imageView VkImageView 0x905eef00000018a2[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xff998c00000018b1[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
68 fps, 42 ups
76 fps, 43 ups
Recreating swapchain old (1080, 720) new (1183, 720)
Render Stage created in 120.058ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xb9ad7a0000001a39[] in imageView VkImageView 0x5f55fb0000001a3c[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x95cf980000001a43[] in imageView VkImageView 0xda0ef10000001a46[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x44beb90000001a3e[] in imageView VkImageView 0x43b4720000001a41[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x9c8e030000001a34[] in imageView VkImageView 0x117cc40000001a37[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x20d67f0000001a48[] in imageView VkImageView 0x4d4e500000001a4b[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x5f55fb0000001a3c[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xb9ad7a0000001a39[] in imageView VkImageView 0x5f55fb0000001a3c[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x4d4e500000001a4b[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
60 fps, 30 ups
Recreating swapchain old (1183, 720) new (1313, 720)
Render Stage created in 65.301ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xd755480000001a93[] in imageView VkImageView 0x1b94a10000001a96[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xc807460000001a9d[] in imageView VkImageView 0x529be70000001aa0[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x625c2f0000001a98[] in imageView VkImageView 0x9a1d400000001a9b[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x6415e90000001a8e[] in imageView VkImageView 0x9083620000001a91[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x3804a50000001aa2[] in imageView VkImageView 0xacfdbe0000001aa5[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x1b94a10000001a96[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xd755480000001a93[] in imageView VkImageView 0x1b94a10000001a96[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xacfdbe0000001aa5[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
Recreating swapchain old (1313, 720) new (1435, 720)
Render Stage created in 8.718ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xdca2df0000001ae8[] in imageView VkImageView 0x91ab00000001aeb[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x84d3950000001af2[] in imageView VkImageView 0xf9ccae0000001af5[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x424df60000001aed[] in imageView VkImageView 0x9421970000001af0[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x519bf80000001ae3[] in imageView VkImageView 0x95db510000001ae6[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x8915840000001af7[] in imageView VkImageView 0x3c524d0000001afa[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x91ab00000001aeb[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xdca2df0000001ae8[] in imageView VkImageView 0x91ab00000001aeb[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x3c524d0000001afa[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
Recreating swapchain old (1435, 720) new (1012, 720)
Render Stage created in 9.418ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x26d54f0000001b47[] in imageView VkImageView 0x3db5a20000001b4a[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x91cdfd0000001b51[] in imageView VkImageView 0x8487880000001b54[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xcd08d00000001b4c[] in imageView VkImageView 0xe99d470000001b4f[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x7aedaa0000001b42[] in imageView VkImageView 0x978c790000001b45[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x7539860000001b56[] in imageView VkImageView 0x494cb50000001b59[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x3db5a20000001b4a[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x26d54f0000001b47[] in imageView VkImageView 0x3db5a20000001b4a[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x494cb50000001b59[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
45 fps, 24 ups
Recreating swapchain old (1012, 720) new (654, 720)
Render Stage created in 7.058ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x19d7c00000001b9c[] in imageView VkImageView 0x2b22f70000001b9f[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xef80360000001ba6[] in imageView VkImageView 0xb84a250000001ba9[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xcb6d0000001ba1[] in imageView VkImageView 0xfece380000001ba4[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x73a43f0000001b97[] in imageView VkImageView 0x7f3b520000001b9a[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xa654b0000001bab[] in imageView VkImageView 0xa6feee0000001bae[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x2b22f70000001b9f[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x19d7c00000001b9c[] in imageView VkImageView 0x2b22f70000001b9f[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xa6feee0000001bae[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
Recreating swapchain old (654, 720) new (444, 720)
Render Stage created in 5.941ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x88d5300000001bec[] in imageView VkImageView 0xa569a70000001bef[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x3105e60000001bf6[] in imageView VkImageView 0x519150000001bf9[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x4d9a5d0000001bf1[] in imageView VkImageView 0x4053e80000001bf4[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xe2a1af0000001be7[] in imageView VkImageView 0xf982020000001bea[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x57343b0000001bfb[] in imageView VkImageView 0xe8849e0000001bfe[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xa569a70000001bef[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x88d5300000001bec[] in imageView VkImageView 0xa569a70000001bef[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xe8849e0000001bfe[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
Recreating swapchain old (444, 720) new (1129, 720)
Render Stage created in 8.801ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x30af810000001c50[] in imageView VkImageView 0xfbbe2a0000001c53[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x8994cb0000001c5a[] in imageView VkImageView 0x9d24bc0000001c5d[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xe5a6040000001c55[] in imageView VkImageView 0xe82e390000001c58[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x443f720000001c4b[] in imageView VkImageView 0x39335f0000001c4e[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xdd22260000001c5f[] in imageView VkImageView 0x6e8b430000001c62[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xfbbe2a0000001c53[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x30af810000001c50[] in imageView VkImageView 0xfbbe2a0000001c53[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x6e8b430000001c62[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
Recreating swapchain old (1129, 720) new (1413, 720)
Render Stage created in 108.525ms
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #4 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x54a3740000001ca5[] in imageView VkImageView 0x6274e90000001ca8[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #6 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x5768d60000001caf[] in imageView VkImageView 0xbb5a330000001cb2[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #5 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x3db7b0000001caa[] in imageView VkImageView 0x176b6c0000001cad[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x39be5f0000000250[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x39be5f0000000250[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xdb4c8b0000000195[] binding #3 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0xaaf6310000001ca0[] in imageView VkImageView 0x7604da0000001ca3[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x388fa50000001cb4[] in imageView VkImageView 0xee78e0000001cb7[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x99bfaa0000000251[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x99bfaa0000000251[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x13742900000001ab[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0x6274e90000001ca8[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #1 failed with error message: Attempted write update to combined image sampler descriptor failed due to: Descriptor update with descriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER is being updated with invalid imageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for image VkImage 0x54a3740000001ca5[] in imageView VkImageView 0x6274e90000001ca8[]. Allowed layouts are: VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageLayout member of each element of pImageInfo must be a member of the list given in Sampled Image or Combined Image Sampler, corresponding to its type (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-01403)
vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x679e0d0000000252[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x679e0d0000000252[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0xaf30ef00000001b1[] binding #0 failed with error message: Attempted write update to image descriptor failed due to: ImageView (VkImageView 0xee78e0000001cb7[]) of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE type is being updated with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL but according to spec section 13.1 Descriptor Types, 'Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout.'.
26 fps, 14 ups
64 fps, 37 ups

C:\Users\albrem\Documents\Personal\Acid\Build\x64-RelWithDebInfo\bin\TestPhysics.exe (process 76340) exited with code -1.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .

macOS can't map OpenAL.framework

Describe the bug
Attempting to build Acid on macOS will result in a build error with OpenAL.

To Reproduce
Build on macOS with BUILD_SHARED_LIBS=ON

Screenshots

ld: can't map file, errno=22 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenAL.framework' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Too many dynamic allocations

In my opinion, you are overusing dynamic allocation. If it isn't necessary, you should avoid it, because it is a very slow operation. I don't see the point of making most members of a class pointers to dynamic memory. Please consider changing this.

Lost Link Libraries

png
stdc++fs
harfbuzz
Add these to target_link_libraries for target Acid
Linux need linking libpng.so libstdc++fs.so (filesystem) libharfbuzz.so

Vulkan commandbuffer compliance issue on Mesa::RADV/ANV/AMDVLK

Turned on VK_LAYER_LUNARG_standard_validation and got this in terminal on Linux machines:

Calling vkBeginCommandBuffer() on active VkCommandBuffer 0x559a114172d0[] before it has completed. You must check command buffer fence before this call. The Vulkan spec states: commandBuffer must not be in the recording or pending state. (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkBeginCommandBuffer-commandBuffer-00049)

Interesting to note that RADV does it much more frequently than AMDVLK.
Is everything being fenced properly?

Hardware:

  • Device: WX7100
  • OS: Gentoo Linux

png couldn't be found with 040ae47550654344b620e3372aa741b9f50af9a9

Editor example

~/dev/Acid >>> ./build/bin/Editor                                 ±[●●][master]
-- Instance --
Layers: VK_LAYER_VALVE_steam_overlay_64, VK_LAYER_VALVE_steam_overlay_32, VK_LAYER_LUNARG_screenshot, VK_LAYER_LUNARG_monitor, VK_LAYER_LUNARG_vktrace, VK_LAYER_LUNARG_device_simulation, VK_LAYER_LUNARG_api_dump, VK_LAYER_LUNARG_core_validation, VK_LAYER_GOOGLE_threading, VK_LAYER_GOOGLE_unique_objects, VK_LAYER_LUNARG_object_tracker, VK_LAYER_LUNARG_parameter_validation, VK_LAYER_LUNARG_standard_validation, 
-- Done --
INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete
-- Physical Device: 358 'Intel(R) Ivybridge Mobile' --
Extensions: VK_KHR_bind_memory2, VK_KHR_create_renderpass2, VK_KHR_dedicated_allocation, VK_KHR_descriptor_update_template, VK_KHR_device_group, VK_KHR_driver_properties, VK_KHR_external_fence, VK_KHR_external_fence_fd, VK_KHR_external_memory, VK_KHR_external_memory_fd, VK_KHR_external_semaphore, VK_KHR_external_semaphore_fd, VK_KHR_get_memory_requirements2, VK_KHR_image_format_list, VK_KHR_incremental_present, VK_KHR_maintenance1, VK_KHR_maintenance2, VK_KHR_maintenance3, VK_KHR_push_descriptor, VK_KHR_relaxed_block_layout, VK_KHR_sampler_mirror_clamp_to_edge, VK_KHR_sampler_ycbcr_conversion, VK_KHR_shader_draw_parameters, VK_KHR_storage_buffer_storage_class, VK_KHR_swapchain, VK_KHR_variable_pointers, VK_KHR_multiview, VK_EXT_display_control, VK_EXT_external_memory_dma_buf, VK_EXT_shader_viewport_index_layer, VK_EXT_vertex_attribute_divisor, VK_EXT_calibrated_timestamps, VK_GOOGLE_decorate_string, VK_GOOGLE_hlsl_functionality1, 
Type: Integrated
Vendor: Intel
Supports Version: 1.1.90
Header Version: 100
-- Done --
Selected Physical Device: 'Intel(R) Ivybridge Mobile', 358
Max MSAA Samples: 8
File System error while adding a path or zip(Resources/Engine): not found
Error while opening file to load Guis/White.png: not found
Texture could not be loaded: 'Guis/White.png'
Error while opening file to load Undefined.png: not found
Texture 'Guis/White.png' loaded in 0.091ms
Error while opening file to load Guis/Button_Filled.png: not found
Texture could not be loaded: 'Guis/Button_Filled.png'
Error while opening file to load Undefined.png: not found
Texture 'Guis/Button_Filled.png' loaded in 0.028ms
Error while opening file to load Guis/Triangle_Down.png: not found
Texture could not be loaded: 'Guis/Triangle_Down.png'
Error while opening file to load Undefined.png: not found
Texture 'Guis/Triangle_Down.png' loaded in 0.022ms
Error while opening file to load Fonts/ProximaNova/Regular.png: not found
Texture could not be loaded: 'Fonts/ProximaNova/Regular.png'
Error while opening file to load Undefined.png: not found
Texture 'Fonts/ProximaNova/Regular.png' loaded in 0.022ms
terminate called after throwing an instance of 'std::invalid_argument'
  what():  File not found: Fonts/ProximaNova/Regular.fnt
zsh: abort (core dumped)  ./build/bin/Editor

TestFont Example

~/dev/Acid >>> ./build/bin/TestFont                               ±[●●][master]
-- Instance --
Layers: VK_LAYER_VALVE_steam_overlay_64, VK_LAYER_VALVE_steam_overlay_32, VK_LAYER_LUNARG_screenshot, VK_LAYER_LUNARG_monitor, VK_LAYER_LUNARG_vktrace, VK_LAYER_LUNARG_device_simulation, VK_LAYER_LUNARG_api_dump, VK_LAYER_LUNARG_core_validation, VK_LAYER_GOOGLE_threading, VK_LAYER_GOOGLE_unique_objects, VK_LAYER_LUNARG_object_tracker, VK_LAYER_LUNARG_parameter_validation, VK_LAYER_LUNARG_standard_validation, 
-- Done --
INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete
-- Physical Device: 358 'Intel(R) Ivybridge Mobile' --
Extensions: VK_KHR_bind_memory2, VK_KHR_create_renderpass2, VK_KHR_dedicated_allocation, VK_KHR_descriptor_update_template, VK_KHR_device_group, VK_KHR_driver_properties, VK_KHR_external_fence, VK_KHR_external_fence_fd, VK_KHR_external_memory, VK_KHR_external_memory_fd, VK_KHR_external_semaphore, VK_KHR_external_semaphore_fd, VK_KHR_get_memory_requirements2, VK_KHR_image_format_list, VK_KHR_incremental_present, VK_KHR_maintenance1, VK_KHR_maintenance2, VK_KHR_maintenance3, VK_KHR_push_descriptor, VK_KHR_relaxed_block_layout, VK_KHR_sampler_mirror_clamp_to_edge, VK_KHR_sampler_ycbcr_conversion, VK_KHR_shader_draw_parameters, VK_KHR_storage_buffer_storage_class, VK_KHR_swapchain, VK_KHR_variable_pointers, VK_KHR_multiview, VK_EXT_display_control, VK_EXT_external_memory_dma_buf, VK_EXT_shader_viewport_index_layer, VK_EXT_vertex_attribute_divisor, VK_EXT_calibrated_timestamps, VK_GOOGLE_decorate_string, VK_GOOGLE_hlsl_functionality1, 
Type: Integrated
Vendor: Intel
Supports Version: 1.1.90
Header Version: 100
-- Done --
Selected Physical Device: 'Intel(R) Ivybridge Mobile', 358
Max MSAA Samples: 8
File System error while adding a path or zip(Resources/Engine): not found
Working Directory: /home/firstlove/dev/Acid
Error while opening file to load Icons/Icon-16.png: not found
Texture could not be loaded: 'Icons/Icon-16.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Icons/Icon-24.png: not found
Texture could not be loaded: 'Icons/Icon-24.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Icons/Icon-32.png: not found
Texture could not be loaded: 'Icons/Icon-32.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Icons/Icon-48.png: not found
Texture could not be loaded: 'Icons/Icon-48.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Icons/Icon-64.png: not found
Texture could not be loaded: 'Icons/Icon-64.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Icons/Icon-96.png: not found
Texture could not be loaded: 'Icons/Icon-96.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Icons/Icon-128.png: not found
Texture could not be loaded: 'Icons/Icon-128.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Icons/Icon-192.png: not found
Texture could not be loaded: 'Icons/Icon-192.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Icons/Icon-256.png: not found
Texture could not be loaded: 'Icons/Icon-256.png'
Error while opening file to load Undefined.png: not found
Error while opening file to load Guis/White.png: not found
Texture could not be loaded: 'Guis/White.png'
Error while opening file to load Undefined.png: not found
Texture 'Guis/White.png' loaded in 0.043ms
Error while opening file to load Guis/Button_Filled.png: not found
Texture could not be loaded: 'Guis/Button_Filled.png'
Error while opening file to load Undefined.png: not found
Texture 'Guis/Button_Filled.png' loaded in 0.037ms
Error while opening file to load Guis/Button.png: not found
Texture could not be loaded: 'Guis/Button.png'
Error while opening file to load Undefined.png: not found
Texture 'Guis/Button.png' loaded in 0.022ms
Error while opening file to load Fonts/ProximaNova/Regular.png: not found
Texture could not be loaded: 'Fonts/ProximaNova/Regular.png'
Error while opening file to load Undefined.png: not found
Texture 'Fonts/ProximaNova/Regular.png' loaded in 0.020ms
terminate called after throwing an instance of 'std::invalid_argument'
  what():  File not found: Fonts/ProximaNova/Regular.fnt
zsh: abort (core dumped)  ./build/bin/TestFont

Skybox shader corruption on linux

Describe the bug
The skybox of my test builds has major corruption that is cut through by the on screen models.
The corruption seems to pulsate in color.

To Reproduce
Not sure what's the cause yet...

Expected behaviour
A clear view into the skybox without the slowly pulsating color.

Screenshots
Screenshot_20190829_013120

Hardware:
Gentoo linux kernel 5.2.10, AMD WX 7100, RADV

Additional context

I am using Mesa ACO git but I have tested with the LLVM compiler and ACO both and I get the same odd behavior.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.