We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e2ceeb commit 07f21b8Copy full SHA for 07f21b8
Tutorials/Tutorial21_RayTracing/assets/RayTrace.rgen
@@ -2,13 +2,7 @@
2
#include "structures.fxh"
3
#include "RayUtils.fxh"
4
5
-#ifdef VULKAN
6
-# define VK_IMAGE_FORMAT_RGBA8 [[vk::image_format("rgba8")]]
7
-#else
8
-# define VK_IMAGE_FORMAT_RGBA8
9
-#endif
10
-
11
-VK_IMAGE_FORMAT_RGBA8 RWTexture2D<float4> g_ColorBuffer;
+VK_IMAGE_FORMAT("rgba8") RWTexture2D<float4> g_ColorBuffer;
12
13
[shader("raygeneration")]
14
void main()
0 commit comments