Skip to content
0.2.0-dev Download ZIP
22 lines ·1.6 KB Raw
1diff --git a/thirdparty/amd-fsr2/shaders/ffx_fsr2_callbacks_glsl.h b/thirdparty/amd-fsr2/shaders/ffx_fsr2_callbacks_glsl.h
2index b610037cc6..346b3ec750 100644
3--- a/thirdparty/amd-fsr2/shaders/ffx_fsr2_callbacks_glsl.h
4+++ b/thirdparty/amd-fsr2/shaders/ffx_fsr2_callbacks_glsl.h
5@@ -241,7 +241,7 @@ layout (set = 0, binding = 1) uniform sampler s_LinearClamp;
6 layout (set = 1, binding = FSR2_BIND_UAV_DILATED_MOTION_VECTORS, rg16f) writeonly uniform image2D rw_dilated_motion_vectors;
7 #endif
8 #if defined FSR2_BIND_UAV_DILATED_DEPTH
9- layout (set = 1, binding = FSR2_BIND_UAV_DILATED_DEPTH, r16f) writeonly uniform image2D rw_dilatedDepth;
10+ layout (set = 1, binding = FSR2_BIND_UAV_DILATED_DEPTH, r32f) writeonly uniform image2D rw_dilatedDepth;
11 #endif
12 #if defined FSR2_BIND_UAV_INTERNAL_UPSCALED
13 layout (set = 1, binding = FSR2_BIND_UAV_INTERNAL_UPSCALED, rgba16f) writeonly uniform image2D rw_internal_upscaled_color;
14@@ -256,7 +256,7 @@ layout (set = 0, binding = 1) uniform sampler s_LinearClamp;
15 layout(set = 1, binding = FSR2_BIND_UAV_NEW_LOCKS, r8) uniform image2D rw_new_locks;
16 #endif
17 #if defined FSR2_BIND_UAV_PREPARED_INPUT_COLOR
18- layout (set = 1, binding = FSR2_BIND_UAV_PREPARED_INPUT_COLOR, rgba16) writeonly uniform image2D rw_prepared_input_color;
19+ layout (set = 1, binding = FSR2_BIND_UAV_PREPARED_INPUT_COLOR, rgba16f) writeonly uniform image2D rw_prepared_input_color;
20 #endif
21 #if defined FSR2_BIND_UAV_LUMA_HISTORY
22 layout (set = 1, binding = FSR2_BIND_UAV_LUMA_HISTORY, rgba8) uniform image2D rw_luma_history;