GithubHelp home page GithubHelp logo

raytracedgl1's People

Contributors

kd-11 avatar pac85 avatar sultim-t 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

raytracedgl1's Issues

AMD or Intel support

Does this library support RT on anything beside NVidia RTX cards? I can't get it to work on Intel Arc under Proton.

Build steps are a bit off

These steps don't build anything in the Build/ directory. Everything is built in the base directory of the repo:

mkdir Build
cd Build
cmake ..

Ie,

ls $PWD/libRayTracedGL1.so 
~/RayTracedGL1/libRayTracedGL1.so

When attempting to build prboom-plus-rt, of course it fails with:

gmake[2]: *** ~/RayTracedGL1/Build/RelWithDebInfo/libRayTracedGL1.so', needed by 'prboom-plus'.  Stop.

Though it also seems that prboom-plus-rt should be looking for Release rather than in RelWithDebInfo, but that's somewhat of a separate issue.

I will probably move/copy/link the library to the expected path as a short term workaround, but it would be better to fix the build steps so that they work for everyone without having to muck around.

Unfortunately, I have very low familiarity with cmake.

Can't compile Shaders

Checking dependency files in current folder
Checking dependency files in Source/KTX/lib/
Traceback (most recent call last):
File "D:\RayTracedGL1\Source\Shaders\GenerateShaders.py", line 291, in
main()
File "D:\RayTracedGL1\Source\Shaders\GenerateShaders.py", line 199, in main
dpdFile = line.split(""")[1]
IndexError: list index out of range

OS I am using is Manjaro

[linux] Cmakelists.txt fix quotes

incorrect quotes location

set(KTXSources

set(KTXSources
    ${KTXSourceFolder}"/texture.c"
    ${KTXSourceFolder}"/texture1.c"
    ${KTXSourceFolder}"/texture2.c"
    ${KTXSourceFolder}"/hashlist.c"
    ${KTXSourceFolder}"/checkheader.c"
    ${KTXSourceFolder}"/swap.c"
    ${KTXSourceFolder}"/memstream.c"
    ${KTXSourceFolder}"/filestream.c"
    ${KTXSourceFolder}"/vkloader.c"
    ${KTXSourceFolder}"/vk_funcs.c"
    ${KTXSourceFolder}"/basisu/zstd/zstd.c"
    ${KTXSourceFolder}"/dfdutils/createdfd.c"
    ${KTXSourceFolder}"/dfdutils/interpretdfd.c"
    ${KTXSourceFolder}"/dfdutils/queries.c"
    ${KTXSourceFolder}"/dfdutils/vk2dfd.c"
)

should be:

set(KTXSources
    "${KTXSourceFolder}/texture.c"
    "${KTXSourceFolder}/texture1.c"
    "${KTXSourceFolder}/texture2.c"
    "${KTXSourceFolder}/hashlist.c"
    "${KTXSourceFolder}/checkheader.c"
    "${KTXSourceFolder}/swap.c"
    "${KTXSourceFolder}/memstream.c"
    "${KTXSourceFolder}/filestream.c"
    "${KTXSourceFolder}/vkloader.c"
    "${KTXSourceFolder}/vk_funcs.c"
    "${KTXSourceFolder}/basisu/zstd/zstd.c"
    "${KTXSourceFolder}/dfdutils/createdfd.c"
    "${KTXSourceFolder}/dfdutils/interpretdfd.c"
    "${KTXSourceFolder}/dfdutils/queries.c"
    "${KTXSourceFolder}/dfdutils/vk2dfd.c"
)

[feature request] updated release

Please release updated version of RayTracedGL1 because it simply does not compile with latest cmake neither on windows nor linux.

[Q/A] Regarding MacOS

Not sure how RTX support works.

RTX does M1 GPU have an equivalent?

If so, could MoltenVK add this support to your library via vulkan or are the APIs too extended?

[linux] testing build for prboom-plus-rt. needs troubleshooting

cmake -DRG_WITH_NVIDIA_DLSS=OFF ..

-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Adding Vulkan. VulkanSDK: 
-- Found Vulkan: /usr/lib/x86_64-linux-gnu/libvulkan.so (found version "1.3.204") 
-- RG_WITH_EXPORTS enabled. RTGL1 functions are exported.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/build

cmake --build .

[  1%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o
In file included from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/SectorVisibility.h:26,
                 from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/TriangleInfoManager.h:25,
                 from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/VertexCollector.h:30,
                 from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/ASManager.h:29,
                 from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/Scene.h:25,
                 from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/VulkanDevice.h:31,
                 from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/RTGL1.cpp:23:
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:55:20: error: ‘is_pod_v’ is not a member of ‘std’; did you mean ‘is_pod’?
   55 | static_assert(std::is_pod_v<LightArrayIndex>, "");
      |                    ^~~~~~~~
      |                    is_pod
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:55:44: error: expected primary-expression before ‘>’ token
   55 | static_assert(std::is_pod_v<LightArrayIndex>, "");
      |                                            ^
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:55:45: error: expected primary-expression before ‘,’ token
   55 | static_assert(std::is_pod_v<LightArrayIndex>, "");
      |                                             ^
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:77:20: error: ‘is_pod_v’ is not a member of ‘std’; did you mean ‘is_pod’?
   77 | static_assert(std::is_pod_v<SectorID>, "");
      |                    ^~~~~~~~
      |                    is_pod
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:77:37: error: expected primary-expression before ‘>’ token
   77 | static_assert(std::is_pod_v<SectorID>, "");
      |                                     ^
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:77:38: error: expected primary-expression before ‘,’ token
   77 | static_assert(std::is_pod_v<SectorID>, "");
      |                                      ^
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:100:20: error: ‘is_pod_v’ is not a member of ‘std’; did you mean ‘is_pod’?
  100 | static_assert(std::is_pod_v<SectorArrayIndex>, "");
      |                    ^~~~~~~~
      |                    is_pod
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:100:45: error: expected primary-expression before ‘>’ token
  100 | static_assert(std::is_pod_v<SectorArrayIndex>, "");
      |                                             ^
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/LightDefs.h:100:46: error: expected primary-expression before ‘,’ token
  100 | static_assert(std::is_pod_v<SectorArrayIndex>, "");
      |                                              ^
In file included from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/VulkanDevice.h:50,
                 from /home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/RTGL1.cpp:23:
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/RenderResolutionHelper.h: In member function ‘float RTGL1::RenderResolutionHelper::GetMipLodBias(float) const’:
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/RenderResolutionHelper.h:148:36: error: ‘log2f’ was not declared in this scope
  148 |         float bias =  nativeBias + log2f(std::max(0.01f, ratio)) - 1.0f;
      |                                    ^~~~~
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/RTGL1.cpp: In function ‘RgResult rgCreateInstance(const RgInstanceCreateInfo*, RgInstance_T**)’:
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/RTGL1.cpp:88:38: error: ‘make_unique’ is not a member of ‘std’
   88 |         G_DEVICES[rgInstance] = std::make_unique<VulkanDevice>(pInfo);
      |                                      ^~~~~~~~~~~
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/RTGL1.cpp:88:38: note: ‘std::make_unique’ is only available from C++14 onwards
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Source/RTGL1.cpp:88:62: error: expected primary-expression before ‘>’ token
   88 |         G_DEVICES[rgInstance] = std::make_unique<VulkanDevice>(pInfo);
      |                                                              ^
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:76: CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/RayTracedGL1.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Compiling RayTracedGL1 with wayland support issues

When trying to compile RTGL1 with XCB compat, it works, but when enabling wayland instead, i encounter this weird error.

Building Logs
[  2%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/RTGL1A.cpp.o
[  2%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/Buffer.cpp.o
[  3%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o
[  5%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/VulkanDevice.cpp.o
[  6%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/Scene.cpp.o
[  7%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/PhysicalDevice.cpp.o
/home/spid/prboom-plus-rt/dependencies/RayTracedGL1/Source/VulkanDevice.cpp: In static member function 'static VkSurfaceKHR_T* RTGL1::VulkanDevice::GetSurfaceFromUser(VkInstance, const RgInstanceCreateInfo&)':
/home/spid/prboom-plus-rt/dependencies/RayTracedGL1/Source/VulkanDevice.cpp:1767:40: error: cannot convert 'VkSurfaceKHR_T**' to 'VkResult' in assignment
 1767 |         r = (instance, &wlInfo, nullptr, &surface);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
      |                                        |
      |                                        VkSurfaceKHR_T**
[  8%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/Queues.cpp.o
[ 10%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/Swapchain.cpp.o
[ 11%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/GlobalUniform.cpp.o
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:104: CMakeFiles/RayTracedGL1.dir/Source/VulkanDevice.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/RayTracedGL1.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Am i missing something here ? 😅

Not an issue. Just some props

Just wanted to pass on my appreciation for this work. I spent an hour or so porting this lib and your prboom mod to Linux with very little effort - testament to how well written it is. This is tremendous work. I’m enjoying Doom once again. Thank you!

Linux compile broken on hl1 branch

Kind of a shame, wanted to try out some HL1 raytraced.
Arch Linux, RTX 2080.

Forced CLANG for the build.
(Tried to) build with:
cmake -DRG_WITH_NVIDIA_DLSS=OFF -DRG_WITH_SURFACE_WAYLAND=ON -DRG_WITH_SURFACE_XCB=OFF -DRG_WITH_SURFACE_XLIB=OFF -DRG_WITH_SURFACE_WIN32=OFF ..
Getting errors like:

[ 36%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/ASManager.cpp.o
In file included from /home/shared/Downloads/RayTracedGL1/Source/Swapchain.cpp:27:
/home/shared/Downloads/RayTracedGL1/Source/Utils.h:200:22: error: expected unqualified-id
    constexpr double M_PI = 3.1415926535897932384626433;
                     ^
/usr/include/math.h:1151:16: note: expanded from macro 'M_PI'
# define M_PI           3.14159265358979323846  /* pi */

make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:146: CMakeFiles/RayTracedGL1.dir/Source/Scene.cpp.o] Error 1
/home/shared/Downloads/RayTracedGL1/Source/VulkanDevice_Init.cpp:99:13: error: incompatible pointer to integer conversion assigning to 'VkResult' from 'VkSurfaceKHR *' (aka 'VkSurfaceKHR_T **')
        r = ( instance, &wlInfo, nullptr, &surface );
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And some files reference , which doesn't actually seem to be a valid header (even on clang 15, where it should apparently exist).
Also, is the build 32-bit as that might explain some of these issues.

GenerateShaders.py fail, GL_ARB_bindless_texture not enabled

When running python GenerateShaders.py I get this message

python GenerateShaders.py 
> Checking dependency files in current folder
> Checking dependency files in CAS/
> Checking dependency files in ../Generated/
> Checking dependency files in LPM/
> Building RsSwapchain.frag
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building EfColorTint.comp
> Building EfChromaticAberration.comp
> Building RtRaygenIndirectInit.rgen
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building CmVertexPreprocess.comp
> Building RsDepthCopying.frag
> Building RsDecal.frag
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building RsRasterizerLensFlare.frag
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building RtRaygenReflRefr.rgen
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building CmSVGFAtrous.comp
> Building CmBloomDownsample.comp
> Building EfWipe.comp
> Building RsWorld.frag
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building RtGradients.rgen
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building CmSVGFEstimateVariance.comp
> Building CmCas.comp
> Building RtRaygenDirect.rgen
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building EfHueShift.comp
> Building RtMissShadowCheck.rmiss
> Building RtRaygenPrimary.rgen
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building CmPrepareFinal.comp
LPM/ffx_lpm.h:307: error: 'opAAddOneF3' : no matching overloaded function found
1 error generated.

> Building CmBloomUpsample.comp
> Building RsDecal.vert
> Building CmLightGridBuild.comp
> Building CmLuminanceAvg.comp
> Building EfCrtDemodulateEncode.comp
> Building RtVolumetric.rgen
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building EfDistortedSides.comp
> Building RtMiss.rmiss
> Building CmASVGFGradientAtrous.comp
> Building RsSky.frag
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building RtAlphaTest.rahit
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building RtRaygenIndirectFinal.rgen
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building RtClsOpaque.rchit
> Building EfRadialBlur.comp
> Building CmSVGFAtrous_Iter0.comp
> Building EfCrtDecode.comp
> Building CmCullLensFlares.comp
> Building CmAntiFirefly.comp
> Building RsRasterizerMultiview.vert
> Building CmVolumetricProcess.comp
> Building CmLuminanceHistogram.comp
> Building CmBloomApply.comp
> Building RsRasterizerLensFlare.vert
> Building CmCheckerboard.comp
> Building CmSVGFTemporalAccumulation.comp
> Building RtInitialReservoirs.rgen
/home/eric/src/RayTracedGL1/Source/Shaders/ShaderCommonGLSLFunc.h:74: error: 'return' : sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled
1 error generated.

> Building EfWaves.comp
> Building EfInverseBW.comp
> 15 shader builds failed.

I'm running KUbuntu 22.04 on a laptop with a GTX 3060 mobile and the NVidia 525.78.01 drivers.

Vulkan function names error

Hi,

I'm attempting to build this library on GNU Guix. I've added the vulkan-loader and vulkan-headers as dependency.

But I get these errors:

/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin/c++ -DKHRONOS_STATIC -DLIBKTX -DRG_LIBRARY_EXPORTS -DRG_USE_SURFACE_WAYLAND -DRayTracedGL1_EXPORTS -DVK_USE_PLATFORM_WAYLAND_KHR -I/tmp/guix-build-rtgl1-.drv-0/source/Source/KTX/include -I/tmp/guix-build-rtgl1-.drv-0/source/Source/KTX/other_include -I/tmp/guix-build-rtgl1-.drv-0/source/Source/KTX/lib/basisu/zstd -I/tmp/guix-build-rtgl1-.drv-0/source/Include -O2 -g -DNDEBUG -fPIC -std=gnu++17 -MD -MT CMakeFiles/RayTracedGL1.dir/Source/ScratchBuffer.cpp.o -MF CMakeFiles/RayTracedGL1.dir/Source/ScratchBuffer.cpp.o.d -o CMakeFiles/RayTracedGL1.dir/Source/ScratchBuffer.cpp.o -c /tmp/guix-build-rtgl1-.drv-0/source/Source/ScratchBuffer.cpp
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/PhysicalDevice.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/PhysicalDevice.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/Queues.h:24,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/Queues.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/Buffer.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/AutoBuffer.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/GlobalUniform.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/GlobalUniform.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/BlueNoise.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/RayTracingPipeline.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/RayTracingPipeline.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/Buffer.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/Buffer.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.h:27,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/RTGL1.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/CommandBufferManager.h:25,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/CommandBufferManager.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.h:27,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/VertexCollectorFilter.h:25,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VertexCollectorFilter.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/Swapchain.h:26,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/Swapchain.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/ASBuilder.h:25,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/ASManager.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/Scene.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/Scene.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/ASBuilder.h:25,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/ASBuilder.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/Buffer.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/ScratchBuffer.h:25,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/ScratchBuffer.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/Buffer.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VertexCollector.h:25,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VertexCollector.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/ASBuilder.h:25,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/ASManager.h:23,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/ASManager.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:163: CMakeFiles/RayTracedGL1.dir/Source/Queues.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/ShaderManager.h:26,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/ShaderManager.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:58:45: error: ‘PFN_vkCmdPipelineBarrier2KHR’ does not name a type; did you mean ‘PFN_vkCmdPipelineBarrier’?
   58 | #define VK_EXTENSION_FUNCTION(fname) extern PFN_##fname s##fname;
      |                                             ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:41:2: note: in expansion of macro ‘VK_EXTENSION_FUNCTION’
   41 |  VK_EXTENSION_FUNCTION(vkCmdPipelineBarrier2KHR) \
      |  ^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Common.h:60:1: note: in expansion of macro ‘VK_DEVICE_FUNCTION_LIST’
   60 | VK_DEVICE_FUNCTION_LIST
      | ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:149: CMakeFiles/RayTracedGL1.dir/Source/PhysicalDevice.cpp.o] Error 1
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:205: CMakeFiles/RayTracedGL1.dir/Source/CommandBufferManager.cpp.o] Error 1
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:275: CMakeFiles/RayTracedGL1.dir/Source/VertexCollectorFilter.cpp.o] Error 1
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/RayTracingPipeline.h:26,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/RayTracingPipeline.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h: In member function ‘void RTGL1::Framebuffers::BarrierMultiple(VkCommandBuffer, uint32_t, const RTGL1::FramebufferImageIndex (&)[BARRIER_COUNT], RTGL1::Framebuffers::BarrierType)’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:130:16: error: ‘VkImageMemoryBarrier2KHR’ was not declared in this scope; did you mean ‘VkImageMemoryBarrier’?
  130 |     std::array<VkImageMemoryBarrier2KHR, BARRIER_COUNT> tmpBarriers;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
      |                VkImageMemoryBarrier
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:130:55: error: template argument 1 is invalid
  130 |     std::array<VkImageMemoryBarrier2KHR, BARRIER_COUNT> tmpBarriers;
      |                                                       ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:132:5: error: ‘VkAccessFlags2KHR’ was not declared in this scope; did you mean ‘VkAccessFlags’?
  132 |     VkAccessFlags2KHR srcAccess = 0, dstAccess = 0;
      |     ^~~~~~~~~~~~~~~~~
      |     VkAccessFlags
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:121: CMakeFiles/RayTracedGL1.dir/Source/Buffer.cpp.o] Error 1
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:133:5: error: ‘VkPipelineStageFlags2KHR’ was not declared in this scope; did you mean ‘VkPipelineStageFlags’?
  133 |     VkPipelineStageFlags2KHR srcStage = 0, dstStage = 0;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
      |     VkPipelineStageFlags
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:13: error: ‘srcAccess’ was not declared in this scope
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |             ^~~~~~~~~
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:191: CMakeFiles/RayTracedGL1.dir/Source/GlobalUniform.cpp.o] Error 1
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:289: CMakeFiles/RayTracedGL1.dir/Source/ASBuilder.cpp.o] Error 1
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:303: CMakeFiles/RayTracedGL1.dir/Source/ScratchBuffer.cpp.o] Error 1
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:25: error: ‘VK_ACCESS_2_SHADER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         VK_ACCESS_SHADER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:60: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:105: error: ‘VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                         VK_ACCESS_TRANSFER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:139:13: error: ‘srcStage’ was not declared in this scope
  139 |             srcStage =
      |             ^~~~~~~~
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:177: CMakeFiles/RayTracedGL1.dir/Source/Swapchain.cpp.o] Error 1
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:140:17: error: ‘VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT’?
  140 |                 VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:141:17: error: ‘VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR’?
  141 |                 VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/RayTracingPipeline.h:26,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/PathTracer.h:24,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.h:35,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/RTGL1.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h: In member function ‘void RTGL1::Framebuffers::BarrierMultiple(VkCommandBuffer, uint32_t, const RTGL1::FramebufferImageIndex (&)[BARRIER_COUNT], RTGL1::Framebuffers::BarrierType)’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:130:16: error: ‘VkImageMemoryBarrier2KHR’ was not declared in this scope; did you mean ‘VkImageMemoryBarrier’?
  130 |     std::array<VkImageMemoryBarrier2KHR, BARRIER_COUNT> tmpBarriers;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
      |                VkImageMemoryBarrier
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:130:55: error: template argument 1 is invalid
  130 |     std::array<VkImageMemoryBarrier2KHR, BARRIER_COUNT> tmpBarriers;
      |                                                       ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:132:5: error: ‘VkAccessFlags2KHR’ was not declared in this scope; did you mean ‘VkAccessFlags’?
  132 |     VkAccessFlags2KHR srcAccess = 0, dstAccess = 0;
      |     ^~~~~~~~~~~~~~~~~
      |     VkAccessFlags
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:133:5: error: ‘VkPipelineStageFlags2KHR’ was not declared in this scope; did you mean ‘VkPipelineStageFlags’?
  133 |     VkPipelineStageFlags2KHR srcStage = 0, dstStage = 0;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
      |     VkPipelineStageFlags
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:13: error: ‘srcAccess’ was not declared in this scope
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |             ^~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:142:17: error: ‘VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT’?
  142 |                 VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:25: error: ‘VK_ACCESS_2_SHADER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         VK_ACCESS_SHADER_WRITE_BIT
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:219: CMakeFiles/RayTracedGL1.dir/Source/ShaderManager.cpp.o] Error 1
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:143:17: error: ‘VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_TRANSFER_BIT’?
  143 |                 VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_TRANSFER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:166:5: error: ‘dstAccess’ was not declared in this scope
  166 |     dstAccess =
      |     ^~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:60: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/RayTracingPipeline.h:26,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/PathTracer.h:24,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.h:35,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h: In member function ‘void RTGL1::Framebuffers::BarrierMultiple(VkCommandBuffer, uint32_t, const RTGL1::FramebufferImageIndex (&)[BARRIER_COUNT], RTGL1::Framebuffers::BarrierType)’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:130:16: error: ‘VkImageMemoryBarrier2KHR’ was not declared in this scope; did you mean ‘VkImageMemoryBarrier’?
  130 |     std::array<VkImageMemoryBarrier2KHR, BARRIER_COUNT> tmpBarriers;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
      |                VkImageMemoryBarrier
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:130:55: error: template argument 1 is invalid
  130 |     std::array<VkImageMemoryBarrier2KHR, BARRIER_COUNT> tmpBarriers;
      |                                                       ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:167:9: error: ‘VK_ACCESS_2_SHADER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_WRITE_BIT’?
  167 |         VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_SHADER_READ_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_SHADER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:132:5: error: ‘VkAccessFlags2KHR’ was not declared in this scope; did you mean ‘VkAccessFlags’?
  132 |     VkAccessFlags2KHR srcAccess = 0, dstAccess = 0;
      |     ^~~~~~~~~~~~~~~~~
      |     VkAccessFlags
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:105: error: ‘VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                         VK_ACCESS_TRANSFER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:133:5: error: ‘VkPipelineStageFlags2KHR’ was not declared in this scope; did you mean ‘VkPipelineStageFlags’?
  133 |     VkPipelineStageFlags2KHR srcStage = 0, dstStage = 0;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
      |     VkPipelineStageFlags
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:139:13: error: ‘srcStage’ was not declared in this scope
  139 |             srcStage =
      |             ^~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:13: error: ‘srcAccess’ was not declared in this scope
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |             ^~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:167:44: error: ‘VK_ACCESS_2_SHADER_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_READ_BIT’?
  167 |         VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_SHADER_READ_BIT_KHR |
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                            VK_ACCESS_SHADER_READ_BIT
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:247: CMakeFiles/RayTracedGL1.dir/Source/VertexCollector.cpp.o] Error 1
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:261: CMakeFiles/RayTracedGL1.dir/Source/ASManager.cpp.o] Error 1
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:25: error: ‘VK_ACCESS_2_SHADER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         VK_ACCESS_SHADER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:140:17: error: ‘VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT’?
  140 |                 VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:168:9: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT’?
  168 |         VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:141:17: error: ‘VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR’?
  141 |                 VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:60: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:168:54: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_READ_BIT’?
  168 |         VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR |
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                      VK_ACCESS_COLOR_ATTACHMENT_READ_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:142:17: error: ‘VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT’?
  142 |                 VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:138:105: error: ‘VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_WRITE_BIT’?
  138 |             srcAccess = VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR;
      |                                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                         VK_ACCESS_TRANSFER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:139:13: error: ‘srcStage’ was not declared in this scope
  139 |             srcStage =
      |             ^~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:169:9: error: ‘VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_WRITE_BIT’?
  169 |         VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_READ_BIT_KHR;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_TRANSFER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:140:17: error: ‘VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT’?
  140 |                 VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:143:17: error: ‘VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_TRANSFER_BIT’?
  143 |                 VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_TRANSFER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:166:5: error: ‘dstAccess’ was not declared in this scope
  166 |     dstAccess =
      |     ^~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:169:46: error: ‘VK_ACCESS_2_TRANSFER_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_READ_BIT’?
  169 |         VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_READ_BIT_KHR;
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              VK_ACCESS_TRANSFER_READ_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:170:5: error: ‘dstStage’ was not declared in this scope
  170 |     dstStage =
      |     ^~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:141:17: error: ‘VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR’?
  141 |                 VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:167:9: error: ‘VK_ACCESS_2_SHADER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_WRITE_BIT’?
  167 |         VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_SHADER_READ_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_SHADER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:171:9: error: ‘VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT’?
  171 |         VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:142:17: error: ‘VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT’?
  142 |                 VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR |
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:167:44: error: ‘VK_ACCESS_2_SHADER_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_READ_BIT’?
  167 |         VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_SHADER_READ_BIT_KHR |
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                            VK_ACCESS_SHADER_READ_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:172:9: error: ‘VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR’?
  172 |         VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:168:9: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT’?
  168 |         VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:143:17: error: ‘VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_TRANSFER_BIT’?
  143 |                 VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 VK_PIPELINE_STAGE_TRANSFER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:166:5: error: ‘dstAccess’ was not declared in this scope
  166 |     dstAccess =
      |     ^~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:173:9: error: ‘VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT’?
  173 |         VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:135: CMakeFiles/RayTracedGL1.dir/Source/Scene.cpp.o] Error 1
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:168:54: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_READ_BIT’?
  168 |         VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR |
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                      VK_ACCESS_COLOR_ATTACHMENT_READ_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:167:9: error: ‘VK_ACCESS_2_SHADER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_WRITE_BIT’?
  167 |         VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_SHADER_READ_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_SHADER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:174:9: error: ‘VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_TRANSFER_BIT’?
  174 |         VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_TRANSFER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:183:35: error: ‘b’ was not declared in this scope
  183 |         VkImageMemoryBarrier2KHR &b = tmpBarriers[i];
      |                                   ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:183:50: error: invalid types ‘int[uint32_t {aka unsigned int}]’ for array subscript
  183 |         VkImageMemoryBarrier2KHR &b = tmpBarriers[i];
      |                                                  ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:167:44: error: ‘VK_ACCESS_2_SHADER_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_SHADER_READ_BIT’?
  167 |         VK_ACCESS_2_SHADER_WRITE_BIT_KHR | VK_ACCESS_2_SHADER_READ_BIT_KHR |
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                            VK_ACCESS_SHADER_READ_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:169:9: error: ‘VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_WRITE_BIT’?
  169 |         VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_READ_BIT_KHR;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_TRANSFER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:169:46: error: ‘VK_ACCESS_2_TRANSFER_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_READ_BIT’?
  169 |         VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_READ_BIT_KHR;
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              VK_ACCESS_TRANSFER_READ_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:186:19: error: ‘VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER’?
  186 |         b.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:170:5: error: ‘dstStage’ was not declared in this scope
  170 |     dstStage =
      |     ^~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:168:9: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT’?
  168 |         VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:190:27: error: ‘srcAccess’ was not declared in this scope
  190 |         b.srcAccessMask = srcAccess;
      |                           ^~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:192:26: error: ‘srcStage’ was not declared in this scope
  192 |         b.srcStageMask = srcStage;
      |                          ^~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:205:5: error: ‘VkDependencyInfoKHR’ was not declared in this scope; did you mean ‘VkPipelineInfoKHR’?
  205 |     VkDependencyInfoKHR dependencyInfo = {};
      |     ^~~~~~~~~~~~~~~~~~~
      |     VkPipelineInfoKHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:206:5: error: ‘dependencyInfo’ was not declared in this scope
  206 |     dependencyInfo.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR;
      |     ^~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:171:9: error: ‘VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT’?
  171 |         VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:168:54: error: ‘VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_COLOR_ATTACHMENT_READ_BIT’?
  168 |         VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR | VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR |
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                      VK_ACCESS_COLOR_ATTACHMENT_READ_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:172:9: error: ‘VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR’?
  172 |         VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:206:28: error: ‘VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR’?
  206 |     dependencyInfo.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:207:58: error: request for member ‘size’ in ‘tmpBarriers’, which is of non-class type ‘int’
  207 |     dependencyInfo.imageMemoryBarrierCount = tmpBarriers.size();
      |                                                          ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:208:55: error: request for member ‘data’ in ‘tmpBarriers’, which is of non-class type ‘int’
  208 |     dependencyInfo.pImageMemoryBarriers = tmpBarriers.data();
      |                                                       ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:210:5: error: there are no arguments to ‘svkCmdPipelineBarrier2KHR’ that depend on a template parameter, so a declaration of ‘svkCmdPipelineBarrier2KHR’ must be available [-fpermissive]
  210 |     svkCmdPipelineBarrier2KHR(cmd, &dependencyInfo);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:210:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:169:9: error: ‘VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_WRITE_BIT’?
  169 |         VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_READ_BIT_KHR;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_ACCESS_TRANSFER_WRITE_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:173:9: error: ‘VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT’?
  173 |         VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:169:46: error: ‘VK_ACCESS_2_TRANSFER_READ_BIT_KHR’ was not declared in this scope; did you mean ‘VK_ACCESS_TRANSFER_READ_BIT’?
  169 |         VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR | VK_ACCESS_2_TRANSFER_READ_BIT_KHR;
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              VK_ACCESS_TRANSFER_READ_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:170:5: error: ‘dstStage’ was not declared in this scope
  170 |     dstStage =
      |     ^~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:171:9: error: ‘VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT’?
  171 |         VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:174:9: error: ‘VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_TRANSFER_BIT’?
  174 |         VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_TRANSFER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:183:35: error: ‘b’ was not declared in this scope
  183 |         VkImageMemoryBarrier2KHR &b = tmpBarriers[i];
      |                                   ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:183:50: error: invalid types ‘int[uint32_t {aka unsigned int}]’ for array subscript
  183 |         VkImageMemoryBarrier2KHR &b = tmpBarriers[i];
      |                                                  ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:172:9: error: ‘VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR’?
  172 |         VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:186:19: error: ‘VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER’?
  186 |         b.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:190:27: error: ‘srcAccess’ was not declared in this scope
  190 |         b.srcAccessMask = srcAccess;
      |                           ^~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:192:26: error: ‘srcStage’ was not declared in this scope
  192 |         b.srcStageMask = srcStage;
      |                          ^~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:173:9: error: ‘VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT’?
  173 |         VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR |
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:205:5: error: ‘VkDependencyInfoKHR’ was not declared in this scope; did you mean ‘VkPipelineInfoKHR’?
  205 |     VkDependencyInfoKHR dependencyInfo = {};
      |     ^~~~~~~~~~~~~~~~~~~
      |     VkPipelineInfoKHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:206:5: error: ‘dependencyInfo’ was not declared in this scope
  206 |     dependencyInfo.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR;
      |     ^~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:174:9: error: ‘VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR’ was not declared in this scope; did you mean ‘VK_PIPELINE_STAGE_TRANSFER_BIT’?
  174 |         VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_PIPELINE_STAGE_TRANSFER_BIT
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:183:35: error: ‘b’ was not declared in this scope
  183 |         VkImageMemoryBarrier2KHR &b = tmpBarriers[i];
      |                                   ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:183:50: error: invalid types ‘int[uint32_t {aka unsigned int}]’ for array subscript
  183 |         VkImageMemoryBarrier2KHR &b = tmpBarriers[i];
      |                                                  ^
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:206:28: error: ‘VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR’?
  206 |     dependencyInfo.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:207:58: error: request for member ‘size’ in ‘tmpBarriers’, which is of non-class type ‘int’
  207 |     dependencyInfo.imageMemoryBarrierCount = tmpBarriers.size();
      |                                                          ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:208:55: error: request for member ‘data’ in ‘tmpBarriers’, which is of non-class type ‘int’
  208 |     dependencyInfo.pImageMemoryBarriers = tmpBarriers.data();
      |                                                       ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:210:5: error: there are no arguments to ‘svkCmdPipelineBarrier2KHR’ that depend on a template parameter, so a declaration of ‘svkCmdPipelineBarrier2KHR’ must be available [-fpermissive]
  210 |     svkCmdPipelineBarrier2KHR(cmd, &dependencyInfo);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:210:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:186:19: error: ‘VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER’?
  186 |         b.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:190:27: error: ‘srcAccess’ was not declared in this scope
  190 |         b.srcAccessMask = srcAccess;
      |                           ^~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:192:26: error: ‘srcStage’ was not declared in this scope
  192 |         b.srcStageMask = srcStage;
      |                          ^~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:205:5: error: ‘VkDependencyInfoKHR’ was not declared in this scope; did you mean ‘VkPipelineInfoKHR’?
  205 |     VkDependencyInfoKHR dependencyInfo = {};
      |     ^~~~~~~~~~~~~~~~~~~
      |     VkPipelineInfoKHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:206:5: error: ‘dependencyInfo’ was not declared in this scope
  206 |     dependencyInfo.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR;
      |     ^~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:206:28: error: ‘VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR’?
  206 |     dependencyInfo.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:207:58: error: request for member ‘size’ in ‘tmpBarriers’, which is of non-class type ‘int’
  207 |     dependencyInfo.imageMemoryBarrierCount = tmpBarriers.size();
      |                                                          ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:208:55: error: request for member ‘data’ in ‘tmpBarriers’, which is of non-class type ‘int’
  208 |     dependencyInfo.pImageMemoryBarriers = tmpBarriers.data();
      |                                                       ^~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:210:5: error: there are no arguments to ‘svkCmdPipelineBarrier2KHR’ that depend on a template parameter, so a declaration of ‘svkCmdPipelineBarrier2KHR’ must be available [-fpermissive]
  210 |     svkCmdPipelineBarrier2KHR(cmd, &dependencyInfo);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:210:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.h:52,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/RTGL1.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/EffectWipe.h: In member function ‘bool RTGL1::EffectWipe::Setup(const RTGL1::CommonnlyUsedEffectArguments&, const RgPostEffectWipe*, const std::shared_ptr<RTGL1::Swapchain>&, uint32_t)’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/EffectWipe.h:101:17: error: ‘VK_ACCESS_NONE_KHR’ was not declared in this scope; did you mean ‘VK_THREAD_DONE_KHR’?
  101 |                 VK_ACCESS_NONE_KHR, VK_ACCESS_TRANSFER_READ_BIT,
      |                 ^~~~~~~~~~~~~~~~~~
      |                 VK_THREAD_DONE_KHR
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.h:52,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/EffectWipe.h: In member function ‘bool RTGL1::EffectWipe::Setup(const RTGL1::CommonnlyUsedEffectArguments&, const RgPostEffectWipe*, const std::shared_ptr<RTGL1::Swapchain>&, uint32_t)’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/EffectWipe.h:101:17: error: ‘VK_ACCESS_NONE_KHR’ was not declared in this scope; did you mean ‘VK_THREAD_DONE_KHR’?
  101 |                 VK_ACCESS_NONE_KHR, VK_ACCESS_TRANSFER_READ_BIT,
      |                 ^~~~~~~~~~~~~~~~~~
      |                 VK_THREAD_DONE_KHR
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/RayTracingPipeline.h:26,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/PathTracer.h:24,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.h:35,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/RTGL1.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h: In instantiation of ‘void RTGL1::Framebuffers::BarrierMultiple(VkCommandBuffer, uint32_t, const RTGL1::FramebufferImageIndex (&)[BARRIER_COUNT], RTGL1::Framebuffers::BarrierType) [with unsigned int BARRIER_COUNT = 1; VkCommandBuffer = VkCommandBuffer_T*; uint32_t = unsigned int]’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/EffectBase.h:152:34:   required from ‘RTGL1::FramebufferImageIndex RTGL1::EffectBase::Dispatch(VkCommandBuffer, uint32_t, const std::shared_ptr<RTGL1::Framebuffers>&, uint32_t, uint32_t, RTGL1::FramebufferImageIndex, VkDescriptorSet_T* const (&)[DESC_SET_COUNT]) [with int DESC_SET_COUNT = 3; VkCommandBuffer = VkCommandBuffer_T*; uint32_t = unsigned int; VkDescriptorSet = VkDescriptorSet_T*]’
/tmp/guix-build-rtgl1-.drv-0/source/Source/EffectWipe.h:138:119:   required from here
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:210:51: error: ‘svkCmdPipelineBarrier2KHR’ was not declared in this scope; did you mean ‘vkCmdPipelineBarrier’?
  210 |     svkCmdPipelineBarrier2KHR(cmd, &dependencyInfo);
      |                                                   ^
      |                                                   vkCmdPipelineBarrier
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:233: CMakeFiles/RayTracedGL1.dir/Source/RayTracingPipeline.cpp.o] Error 1
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:79: CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o] Error 1
/tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp: In member function ‘void RTGL1::VulkanDevice::CreateDevice()’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:1583:5: error: ‘VkPhysicalDeviceSynchronization2FeaturesKHR’ was not declared in this scope; did you mean ‘VkPhysicalDeviceLineRasterizationFeaturesEXT’?
 1583 |     VkPhysicalDeviceSynchronization2FeaturesKHR sync2Features = {};
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     VkPhysicalDeviceLineRasterizationFeaturesEXT
/tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:1584:5: error: ‘sync2Features’ was not declared in this scope; did you mean ‘vulkan12Features’?
 1584 |     sync2Features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR;
      |     ^~~~~~~~~~~~~
      |     vulkan12Features
/tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:1584:27: error: ‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR’?
 1584 |     sync2Features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR;
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR
/tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:1618:9: error: ‘VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME’ was not declared in this scope; did you mean ‘VK_KHR_SWAPCHAIN_EXTENSION_NAME’?
 1618 |         VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_KHR_SWAPCHAIN_EXTENSION_NAME
/tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:1620:5: error: could not convert ‘{"VK_KHR_swapchain", "VK_KHR_deferred_host_operations", "VK_KHR_pipeline_library", "VK_KHR_ray_tracing_pipeline", "VK_KHR_acceleration_structure", <expression error>, "VK_KHR_shader_float16_int8"}’ from ‘<brace-enclosed initializer list>’ to ‘std::vector<const char*>’
 1620 |     };
      |     ^
      |     |
      |     <brace-enclosed initializer list>
/tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp: In static member function ‘static VkSurfaceKHR_T* RTGL1::VulkanDevice::GetSurfaceFromUser(VkInstance, const RgInstanceCreateInfo&)’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:1754:40: error: cannot convert ‘VkSurfaceKHR_T**’ to ‘VkResult’ in assignment
 1754 |         r = (instance, &wlInfo, nullptr, &surface);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
      |                                        |
      |                                        VkSurfaceKHR_T**
In file included from /tmp/guix-build-rtgl1-.drv-0/source/Source/RayTracingPipeline.h:26,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/PathTracer.h:24,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.h:35,
                 from /tmp/guix-build-rtgl1-.drv-0/source/Source/VulkanDevice.cpp:21:
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h: In instantiation of ‘void RTGL1::Framebuffers::BarrierMultiple(VkCommandBuffer, uint32_t, const RTGL1::FramebufferImageIndex (&)[BARRIER_COUNT], RTGL1::Framebuffers::BarrierType) [with unsigned int BARRIER_COUNT = 1; VkCommandBuffer = VkCommandBuffer_T*; uint32_t = unsigned int]’:
/tmp/guix-build-rtgl1-.drv-0/source/Source/EffectBase.h:152:34:   required from ‘RTGL1::FramebufferImageIndex RTGL1::EffectBase::Dispatch(VkCommandBuffer, uint32_t, const std::shared_ptr<RTGL1::Framebuffers>&, uint32_t, uint32_t, RTGL1::FramebufferImageIndex, VkDescriptorSet_T* const (&)[DESC_SET_COUNT]) [with int DESC_SET_COUNT = 3; VkCommandBuffer = VkCommandBuffer_T*; uint32_t = unsigned int; VkDescriptorSet = VkDescriptorSet_T*]’
/tmp/guix-build-rtgl1-.drv-0/source/Source/EffectWipe.h:138:119:   required from here
/tmp/guix-build-rtgl1-.drv-0/source/Source/Framebuffers.h:210:51: error: ‘svkCmdPipelineBarrier2KHR’ was not declared in this scope; did you mean ‘vkCmdPipelineBarrier’?
  210 |     svkCmdPipelineBarrier2KHR(cmd, &dependencyInfo);
      |                                                   ^
      |                                                   vkCmdPipelineBarrier
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:107: CMakeFiles/RayTracedGL1.dir/Source/VulkanDevice.cpp.o] Error 1

What is the difference between PFN_vkCmdPipelineBarrier2KHR and PFN_vkCmdPipelineBarrier? How can I fix the build?

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.