From f060e63604520da0ba381bcbc86bee1cf48374be Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 3 Sep 2026 21:05:50 +0200 Subject: Interleave fields in the ray shader struct --- shaders/tonemapping.comp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'shaders/tonemapping.comp') diff --git a/shaders/tonemapping.comp b/shaders/tonemapping.comp index ed30c92..bfe6e18 100644 --- a/shaders/tonemapping.comp +++ b/shaders/tonemapping.comp @@ -6,23 +6,6 @@ layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; layout(descriptor_heap, rgba32f) uniform image2D images[]; -struct camera { - vec4 position; - - vec4 forward; - vec4 up; - vec4 right; - - vec4 horizontal; - vec4 vertical; - vec4 first_pixel; - - float lens_radius; - float fov; - float focus_distance; - float aspect_ratio; -}; - layout(push_constant) uniform registers { int downscale_factor; uint output_image_index; -- cgit v1.3