libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.34k stars 1.84k forks source link

[UWP] Shaders slang dont works in 1.19 #16634

Open ErivandoBR opened 5 months ago

ErivandoBR commented 5 months ago

I can't activate shaders slang in Retroarch 1.19 In previous versions 1.17 and 1.18, slang works.

In 1.19, I can only enable shaders if I change the driver to GL. With this driver, I can activate glsl shaders.

hizzlekizzle commented 5 months ago

Can you post a log of it failing to load a slang shader?

ErivandoBR commented 5 months ago

Can you post a log of it failing to load a slang shader?

I tried to generate, but the log file is always blank.

I tried with RA 1.16 and RA 1.17 and log generation works normally. With RA 1.18 Mesa, I was unable to generate the log in any of the 3 Mesa/Angle versions I tried. It could be another problem in version >1.18 UWP.

eMSX commented 5 months ago

Same issue here after the update from 1.17. Error message failed to load shader on the regular d11/d12 driver with every preset..

Xbox series S. Alsof setting it to 4k still resolves in a black screen after loading a core.

willekaufhold commented 5 months ago

Same issue here. Slang shaders were working and then just stopped. Now only glsl shaders work. Running on iOS.

stholt5233 commented 5 months ago

Same issue here, just decided to update from 1.17 and now no slang shaders work, every one fails to load. Any update on this?

Dark-Cod3r commented 5 months ago

Yes. facing same issue. and logs also not working. Hope someone fix this issue. https://www.reddit.com/r/RetroArch/comments/1dikh3l/applying_preset_shader_always_failed_on_xbox_any/

joepogo commented 3 months ago

Is there any update on this? I'm holding off on updating until it's fixed.

Not sure if it's a Xbox or retroarch issue. Can anyone shed some light on that?

hizzlekizzle commented 3 months ago

Which build are you guys using? From retroarch.com or from xbox dev store?

stholt5233 commented 3 months ago

I used previous github build. Still haven't heard anything from anyone about a possible fix. Luckily the update to 1.19 is nothing major.

joepogo commented 3 months ago

@hizzlekizzle I tried both versions as a test and both are broken shader wise.

I doubt it would be anything shader wise but possibly something more that changed on the retroarch video side code-wise? Since glsl works.

Hopefully they'll fix it soon. Shaders are a huge part of the experience for a lot of us.

Hopefully they'll sort the shader issue when using flycast as well.

joepogo commented 1 month ago

Just reporting iupdated to the latest version and shaders are still broken.

I'm currently looking back through commits prior to 1.19. Does anyone know if there were any major changes to the video code for retroarch before then?

It's obviously not a single shader here or there, it's all of them. I'm wondering if this issue is reproducible through dx11 or 12 on PC, though I think it'd probably would have been reported by now.

hizzlekizzle commented 1 month ago

Correct, it's not reproducible on Windows. I don't know of any major changes, no. The lack of logging makes it basically impossible to debug, as well :/