radv_shader_create already calls radv_shader_binary_upload.
Fixes:
4b92a532859 ("radv: add radv_create_rt_prolog()")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21945>
prolog = radv_shader_create(device, binary, device->keep_shader_info, false, &in_args);
if (!prolog)
- goto fail_create;
-
- if (!radv_shader_binary_upload(device, binary, prolog))
- goto fail_alloc;
+ goto fail;
if (options.dump_shader) {
fprintf(stderr, "Raytracing prolog");
return prolog;
-fail_alloc:
- radv_shader_destroy(device, prolog);
-fail_create:
+fail:
free(binary);
return NULL;
}