16 March 2018, 13:58 | #1 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
D3D11 slang shader support through SPIRV-Cross
Hi Toni,
Enjoying WinUAE as always Question on the shader support in WinUAE. Retroarch recently implemented shader support for their D3D11 driver through something called SPIRV-Cross. Now the complete repository of their .slang (Vulkan) shaders can be used (without modification as I understand it) with the D3D11 driver. One of the authors commented the following about the use of SPIRV-Cross: Quote:
In case it is of interest here are some relevant links: |
|
16 March 2018, 14:44 | #2 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,435
|
Yeah, noticed this too. RetroArch converted their big shader package from CG to Vulkan/Slang. Tested it with the D3D11 driver in RetroArch and everythings fine. Probably the way to make this possible for WinUAE.
|
16 March 2018, 14:46 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Above links don't really tell anything useful. Except that it is some sort of shader converter. Or something.
|
16 March 2018, 14:47 | #4 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,435
|
|
23 April 2018, 19:32 | #5 | ||
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,435
|
I wrote a mail to Daniel De Matteis from Libretro asking for help porting these shaders. Retroarch already loads slang shaders via D3D11 driver without problems as it seems (tested it with CRT Royale). But it seems too much work and he doesn't have the time to provide detailed infos on that matter. Unless we don't get a WinUAE core dll for Retroarch it's a dead horse.
Quote:
Quote:
Last edited by Retro-Nerd; 23 April 2018 at 20:02. |
||
26 April 2018, 15:55 | #6 | |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
Quote:
SPIRV-Cross instead is the tool to convert between different bytecode representations. So, the pipeline to use libretro shaders on DX11 seems this: glsl -> SPIRV -> DX bytecode This is because there's no direct glsl support in DirectX drivers. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Input latency measurements (and D3D11) | Dr.Venom | support.WinUAE | 230 | 12 June 2018 19:24 |
Shader support | cybermat | support.FS-UAE | 4 | 07 March 2018 14:52 |
D3D11 - what's all the fuss about ? | andyhants | support.WinUAE | 3 | 23 January 2018 09:57 |
Shader support and scaling options in FS-UAE 1.3 | FrodeSolheim | support.FS-UAE | 9 | 18 December 2013 17:30 |
Please help me with my shader! | tjcbs | support.WinUAE | 3 | 02 February 2013 21:49 |
|
|