diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2026-09-03 21:05:50 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2026-09-03 21:05:50 +0200 |
| commit | f060e63604520da0ba381bcbc86bee1cf48374be (patch) | |
| tree | 6a53c52249586c0dfd86d9d81d1458e8d11d2589 /shaders/tonemapping.comp | |
| parent | 3b007938fb78bf42e5b3679ad1447a21b2c6ff45 (diff) | |
Interleave fields in the ray shader struct
Diffstat (limited to 'shaders/tonemapping.comp')
| -rw-r--r-- | shaders/tonemapping.comp | 17 |
1 files changed, 0 insertions, 17 deletions
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;
|
