mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-19 18:36:53 +02:00
890393fbe6
* vulkan: start without fragmentShaderBarycentric on GPUs that lack it Pascal (GTX 10xx), RDNA 1 and older drivers have no VK_KHR_fragment_shader_barycentric, so device selection rejected them with 'Could not find suitable device' (#1432, #1416, #762). The SPIR-V backend only emits the capability for pixel shaders with per-vertex/barycentric inputs, so make the extension and feature optional: warn at selection and creation, enable only when supported. Shaders that need custom barycentrics fail at pipeline creation instead of blocking startup for every game. * vulkan: fix macOS build and warn about unsupported GPUs --------- Co-authored-by: Matthew Hurley <171001439+theantipopau@users.noreply.github.com> Co-authored-by: nmzik <Nmzik@mail.ru>