Revert "WIP: use compute shader instead of graphics shader for better performance (especially on amd)"

This reverts commit a41a32cb90.
This commit is contained in:
dec05eba
2025-03-29 15:37:53 +01:00
parent a41a32cb90
commit f85a7ab205
18 changed files with 746 additions and 331 deletions

View File

@@ -1072,9 +1072,8 @@ static void open_video_hardware(AVCodecContext *codec_context, VideoQuality vide
// TODO: More quality options
if(low_power)
av_dict_set_int(&options, "low_power", 1, 0);
// Improves performance but increases vram.
// TODO: Might need a different async_depth for optimal performance on different amd/intel gpus
//av_dict_set_int(&options, "async_depth", 3, 0);
// Improves performance but increases vram
//av_dict_set_int(&options, "async_depth", 8, 0);
if(codec_context->codec_id == AV_CODEC_ID_H264) {
// Removed because it causes stutter in games for some people