summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer_rd/shaders/giprobe_sdf.glsl
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-11 14:01:43 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-11 14:08:44 +0100
commitdb81928e08cb58d5f67908c6dfcf9433e572ffe8 (patch)
treed9a3ec0c72f3a4eda02e16ed883f560e02cf1ccf /servers/visual/rasterizer_rd/shaders/giprobe_sdf.glsl
parenteb2b1a602247b88b0710a5eaae0146e0afeed265 (diff)
Vulkan: Move thirdparty code out of drivers, style fixes
- `vk_enum_string_helper.h` is a generated file taken from the SDK (Vulkan-ValidationLayers). - `vk_mem_alloc.h` is a library from GPUOpen: https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
Diffstat (limited to 'servers/visual/rasterizer_rd/shaders/giprobe_sdf.glsl')
-rw-r--r--servers/visual/rasterizer_rd/shaders/giprobe_sdf.glsl9
1 files changed, 6 insertions, 3 deletions
diff --git a/servers/visual/rasterizer_rd/shaders/giprobe_sdf.glsl b/servers/visual/rasterizer_rd/shaders/giprobe_sdf.glsl
index dd3910f52e..d089236723 100644
--- a/servers/visual/rasterizer_rd/shaders/giprobe_sdf.glsl
+++ b/servers/visual/rasterizer_rd/shaders/giprobe_sdf.glsl
@@ -19,7 +19,8 @@ struct CellChildren {
layout(set = 0, binding = 1, std430) buffer CellChildrenBuffer {
CellChildren data[];
-} cell_children;
+}
+cell_children;
struct CellData {
uint position; // xyz 10 bits
@@ -30,7 +31,8 @@ struct CellData {
layout(set = 0, binding = 2, std430) buffer CellDataBuffer {
CellData data[];
-} cell_data;
+}
+cell_data;
layout(r8ui, set = 0, binding = 3) uniform restrict writeonly uimage3D sdf_tex;
@@ -39,7 +41,8 @@ layout(push_constant, binding = 0, std430) uniform Params {
uint end;
uint pad0;
uint pad1;
-} params;
+}
+params;
void main() {