radv: Fix uninitalized struct for trap handler

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20354>
This commit is contained in:
Marcell Kiss
2022-12-16 10:46:21 +00:00
committed by Marge Bot
parent 05fab97b2c
commit 281c07d89f
+1 -1
View File
@@ -2486,7 +2486,7 @@ radv_create_trap_handler_shader(struct radv_device *device)
info.wave_size = 64;
struct radv_shader_args args;
struct radv_shader_args args = {0};
args.explicit_scratch_args = true;
args.is_trap_handler_shader = true;
radv_declare_shader_args(device->physical_device->rad_info.gfx_level, &key, &info, stage, false,